CeGetDBInformationByHandle (CEDB) (Compact 2013)
3/26/2014
This function obtains information about an open database using its handle. It can be used as an alternative to the CeOidGetInfoEx2 (CEDB) function when the GUID or OID of a database is not available.
Syntax
BOOL CeGetDBInformationByHandle(
HANDLE hDbase,
LPBY_HANDLE_DB_INFORMATION lpDBInfo
);
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 Value
Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.
Requirements
Header |
windbase.h |
Library |
coredll.lib |
See Also
Reference
CEDB Functions
CeOpenDatabaseEx2 (CEDB)
BY_HANDLE_DB_INFORMATION
CeOidGetInfoEx2 (CEDB)