Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CeOidGetInfoEx2 (EDB)

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function obtains information about an OID that was generated by EDB.


BOOL CeOidGetInfoEx2(
  PCEGUID pGuid,
  CEOID oid,
  CEOIDINFO* poidInfo
);

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 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.

Return Value Description

ERROR_INVALID_HANDLE

The oid parameter does not identify a valid object in the volume specified by pGuid.

ERROR_INVALID_PARAMETER

Indicates one of the following:

  • The pGuid parameter is set to NULL.
  • The oid parameter is set to NULL.
  • The poidInfo parameter is set to NULL.
  • The wVersion member of CEOIDINFOEX returned by poidInfo is not equal to CEOIDINFOEX_VERSION (2).

ERROR_NOT_FOUND

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.

Headerwindbase.h
Librarycoredll.lib
Windows Embedded CEWindows CE 5.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show:
© 2014 Microsoft