CeOidGetInfoEx2 (CEDB) (Compact 2013)
This function retrieves information about an object in the object store or a mounted database volume, or of the object store. Use the CREATE_SYSTEMGUID macro to obtain the GUID of the object store.
BOOL CeOidGetInfoEx2( PCEGUID pceguid, CEOID oid, CEOIDINFOEX* poidInfo );
[in] Pointer to the CEGUID that contains the globally unique identifierof a mounted database.
[in] Identifier of the object for which information is to be retrieved.
[out] Pointer to a CEOIDINFOEX [CEDB] structure that contains information about the object.
TRUE indicates success. FALSE indicates failure. To get extended error information, call GetLastError. GetLastError may return ERROR_INVALID_HANDLE if the specified object identifier is invalid.
- CeOidGetInfo and CeOidGetInfoEx return ERROR_NOT_SUPPORTED if they are called on an OID whose data cannot be marshaled into the CEOIDINFO structure.
- If CeOidGetInfo and CeOidGetInfoEx are called on a database with a sort order that has multiple sort properties, it returns correctly, but only the first sort property is returned in the CEOIDINFO structure.
This function can be used to retrieve information about any object in mounted database volumes in addition to the object store databases.