Share via


CeGetDBInformationByHandle

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

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 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 | BY_HANDLE_DB_INFORMATION | CeOidGetInfoEx2

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.