Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This function obtains information about an OID that was generated by EDB.
Syntax
BOOL CeOidGetInfoEx2( PCEGUID pGuid, CEOID oid, CEOIDINFO* poidInfo ); |
Parameters
- pGuid
-
[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.
- oid
-
[in] Identifier of the object for which information is to be retrieved. This OID must have been generated by one of the EDB functions.
- poidInfo
-
[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 wVersionmember of CEOIDINFOEXto CEOIDINFO_VERSION (2).
Return Value
TRUE indicates success. FALSE indicates failure. To get extended error information, call GetLastError. The following table shows possible values.
Return Value | Description |
---|---|
ERROR_INVALID_HANDLE |
The oidparameter does not identify a valid object in the volume specified by pGuid. |
ERROR_INVALID_PARAMETER |
Indicates one of the following:
|
ERROR_NOT_FOUND |
The volume specified by pGuiddoes not exist. |
Remarks
The oidparameter can reference a database or a record in a database.
EDB supports only OBJTYPE_DATABASE and OBJTYPE_RECORD OID types.
Requirements
Header | windbase.h |
Library | coredll.lib |
Windows Embedded CE | Windows CE 5.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |