Partager via


CeOidGetInfoEx (RAPI) (Windows CE 5.0)

Send Feedback

This function retrieves information about an object in the object store or a mounted database volume.

CeOidGetInfoEx is a remote application interface (RAPI), which enables an application running on a desktop computer to make function calls on a Windows CE–based device.

BOOL CeOidGetInfoEx( PCEGUID pceguid,CEOID oid,CEOIDINFO* poidInfo);

Parameters

  • pceguid
    [in] Pointer to the CEGUID that contains the globally unique identifier of a mounted database.
  • oid
    [in] Identifier of the object for which information is to be retrieved.
  • poidInfo
    [out] Pointer to a CEOIDINFO structure that contains information about the object.

Return Values

TRUE indicates success. FALSE indicates failure. To get extended error information, call CeGetLastError. CeGetLastError may return ERROR_INVALID_HANDLE if the specified object identifier is invalid.

Remarks

The difference between CeOidGetInfo (RAPI) and CeOidGetInfoEx (RAPI) is that CeOidGetInfo (RAPI) retrieves information about objects only in the object store databases, while CeOidGetInfoEx (RAPI) retrieves information about any object in mounted database volumes in addition to the object store databases.

Note   Earlier versions of Windows CE assigned OIDs to objects in other file systems, such as the FAT file system. These OIDs were guaranteed to be unique within a volume, but not across multiple volumes. Effective with version 3.0, only objects in the object store have valid, unique OIDs and the object store is the only volume that can return an object identifier.

Requirements

OS Versions: Windows CE 2.10 and later.
Header: Rapi.h.
Link Library: Rapi.lib.

See Also

RAPI Functions | CeOidGetInfoEx (RAPI) | CeCreateDatabaseEx (RAPI) | CeGetLastError | CeOidGetInfo (RAPI) | CeOpenDatabaseEx (RAPI) | CEOIDINFO | CREATE_SYSTEMGUID

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.