Compartilhar via


CeGetDBInformationByHandle (CEDB) (Windows CE 5.0)

Send Feedback

This function obtains information about an open database using its handle. It may be used as an alternative to CeOidGetInfoEx2 (CEDB) when the GUID or OID of a database is unavailable.

This function does not work with EDB databases. For more information on EDB, see EDB Functions.

BOOLCeGetDBInformationByHandle(HANDLEhDbase, LPBY_HANDLE_DB_INFORMATIONlpDBInfo); 

Parameters

  • hDbase
    [in] Handle to an open database. The database must have been opened by a previous call to the CeOpenDatabaseEx2 (CEDB) function.
  • lpDBInfo
    [out] Pointer to a BY_HANDLE_DB_INFORMATION structure that receives the database information.

Return Values

Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Windbase.h.
Link Library: Coredll.lib.

See Also

CeOpenDatabaseEx2 (CEDB) | BY_HANDLE_DB_INFORMATION | CeOidGetInfoEx2 (CEDB)

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.