CeOidGetInfoEx2 (EDB) (Windows CE 5.0)
This function is used to obtain information about an OID that was generated by EDB.
This function does not work with CEDB databases. For more information about CEDB, see CEDB Reference.
BOOL CeOidGetInfoEx2( PCEGUIDpGuid,CEOIDoid,CEOIDINFO*poidInfo);
Parameters
- pGuid
[in] The CEGUID of the mounted volume in which the object identified by the oid parameter resides. You can mount a volume by using the CeMountDbVolEx (EDB) function. - oid
[in] The identifier of the object for which information is to be retrieved. This OID value must have been generated by one of the EDB functions. - poidInfo
[in/out] A pointer to a CEOIDINFOEX (EDB) structure. On successful return, it contains information about the object specified by oid. The caller must set *poidInfo->*wVersion to the current version of this structure type to CEOIDINFO_VERSION (2).
Return Values
TRUE indicates success. FALSE indicates failure. To get extended error information, call GetLastError. The following table lists possible values returned by GetLastError:
Return Value | Description |
---|---|
ERROR_INVALID_PARAMETER | Indicates one of the following:
|
ERROR_INVALID_HANDLE | Indicates that oid does not identify a valid object in the volume specified by the pGuid parameter. |
ERROR_NOT_FOUND | Indicates that the volume specified by the pGuid parameter does not exist. |
Remarks
The oid parameter can reference a database or a record in a database.
The following list highlights the differences between this function and the CEDB equivalent function:
- EDB only supports OBJTYPE_DATABASE and OBJTYPE_RECORD OID types.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: Windbase.h.
Link Library: Coredll.lib.
See Also
CeMountDbVolEx (EDB) | CEOIDINFOEX (EDB)
Send Feedback on this topic to the authors