CeOidGetInfo (CEDB) (Windows CE 5.0)

Send Feedback

This function retrieves information about an object in the object store. This function is obsolete. Applications should call CeOidGetInfoEx2 (CEDB) instead.

This function does not work with EDB databases. For more information on EDB, see EDB Functions.

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

BOOLCeOidGetInfo(CEOIDoid, CEOIDINFO* poidInfo);

Parameters

  • 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

Use the CeOidGetInfo function to retrieve information about any object in the object store database or file system.

Note   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 1.01 and later.
Header: Windbase.h.
Link Library: Coredll.lib.

See Also

CeCreateDatabaseEx (CEDB) | CeOpenDatabaseEx (CEDB) | CEOIDINFO | Using Object Identifiers | CeOidGetInfoEx (RAPI) | CeOidGetInfoEx2 (CEDB)

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.