CeGetDBInformationByHandle (CEDB) (Windows Embedded CE 6.0)

1/6/2010

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.

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

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.

Return Value

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

Requirements

Header windbase.h
Library coredll.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

CEDB Functions
CeOpenDatabaseEx2 (CEDB)
BY_HANDLE_DB_INFORMATION (CEDB)
CeOidGetInfoEx2 (CEDB)