A version of this page is also available for
This function obtains information about an OID that was generated by EDB.
BOOL CeOidGetInfoEx2( PCEGUID pGuid, CEOID oid, CEOIDINFO* poidInfo );
[in] CEGUID of the mounted volume in which the object identified by the oid ** parameter resides. You can mount a volume with the CeMountDBVolEx (EDB) function.
[in] Identifier of the object for which information is to be retrieved. This OID must have been generated by one of the EDB functions.
[in, out] Pointer to a CEOIDINFOEX (EDB) structure. On successful return, it contains information about the object specified by oid. The caller must set the wVersion member of CEOIDINFOEX to CEOIDINFO_VERSION (2).
TRUE indicates success. FALSE indicates failure. To get extended error information, call GetLastError. The following table shows possible values.
The oid parameter does not identify a valid object in the volume specified by pGuid.
Indicates one of the following:
The volume specified by pGuid does not exist.
The oid parameter can reference a database or a record in a database.
EDB supports only OBJTYPE_DATABASE and OBJTYPE_RECORD OID types.
|Windows Embedded CE||Windows CE 5.0 and later|
|Windows Mobile||Windows Mobile Version 5.0 and later|