CEOIDINFOEX (CEDB) (Windows CE 5.0)

Send Feedback

This structure contains information about an object in the object store or database volume.

typedef struct _CEOIDINFOEX { WORDwVersion;WORD wObjType;union {CEFILEINFO infFile;CEDIRINFO infDirectory;CEDBASEINFOEX infDatabase;CERECORDINFO infRecord;  };} CEOIDINFOEX; 

Members

  • wVersion
    Version of this structure. Applications must set wVersion to 1.
  • wObjType
    ype of the object. The following table lists the possible values for wObjType.
    Value Description
    OBJTYPE_INVALID Indicates that the object store contains no valid object that has this object identifier.
    OBJTYPE_FILE Indicates that the object is a file.
    OBJTYPE_DIRECTORY Indicates that the object is a directory.
    OBJTYPE_DATABASE Indicates that the object is a database.
    OBJTYPE_RECORD Indicates that the object is a record inside a database.
  • infFile
    CEFILEINFO (CEDB) structure that contains information about a file. This member is valid only if wObjType is OBJTYPE_FILE.
  • infDirectory
    CEDIRINFO (CEDB) structure that contains information about a directory. This member is valid only if wObjType is OBJTYPE_DIRECTORY.
  • infDatabase
    CEDBASEINFOEX (CEDB) structure that contains information about a database. This member is valid only if wObjType is OBJTYPE_DATABASE.
  • infRecord
    CERECORDINFO (CEDB) structure that contains information about a record in a database. This member is valid only if wObjType is OBJTYPE_RECORD.

Remarks

Earlier versions (2.12 and earlier) of Windows CE OIDs were assigned 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 .NET 4.0 and later.
Header: Windbase.h.

See Also

CEDBASEINFOEX (CEDB) | CEDIRINFO (CEDB) | CEFILEINFO (CEDB) | CERECORDINFO (CEDB) | CeOidGetInfoEx2 (CEDB)

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.