CeOidGetInfoEx

This function retrieves information about an object in the object store or a mounted database volume. This function is obsolete. Applications should call CeOidGetInfoEx2 instead.

A RAPI version of this function exists called CeOidGetInfoEx (RAPI).

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 volume, or of the object store. Use CREATE_SYSTEMGUID to obtain the GUID of the object store.
  • 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 GetLastError. GetLastError may return ERROR_INVALID_HANDLE if the specified object identifier is invalid.

Remarks

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

Earlier versions (2.12 and earlier) 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, the only file and directory objects that have valid, unique OIDs are in the object store. Database objects, on any file system, have valid, unique OIDs.

Requirements

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

See Also

CeCreateDatabaseEx | CeOpenDatabaseEx | CREATE_SYSTEMGUID | CEOIDINFO | CeOidGetInfo | CeOidGetInfoEx2 | Using Object Identifiers

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.