CEOIDINFOEX [CEDB] (Compact 2013)

3/26/2014

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

Syntax

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

Members

  • wVersion
    Version of this structure. Applications must set wVersion to 1.
  • dwSize
    Type of the object. The following table lists possible values.

    Value

    Description

    OBJTYPE_DATABASE

    Indicates that the object is a database.

    OBJTYPE_DIRECTORY

    Indicates that the object is a directory.

    OBJTYPE_FILE

    Indicates that the object is a file.

    OBJTYPE_INVALID

    Indicates that the object store contains no valid object that has this object identifier.

    OBJTYPE_RECORD

    Indicates that the object is a record inside a database.

  • wPad
    Structure alignment on a DWORD boundary.
  • infDirectory
    A CEDIRINFO structure that contains information about a directory. This member is valid only if wObjType is OBJTYPE_DIRECTORY.
  • infDatabase
    A CEDBASEINFOEX [CEDB] structure that contains information about a database. This member is valid only if wObjType is OBJTYPE_DATABASE.
  • infRecord
    A CERECORDINFO [CEDB] structure that contains information about a record in a database. This member is valid only if wObjType is OBJTYPE_RECORD.

Remarks

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

Header

windbase.h

See Also

Reference

CEDB Structures
CEDBASEINFOEX [CEDB]
CEDIRINFO
CEFILEINFO
CERECORDINFO [CEDB]
CeOidGetInfoEx2 (CEDB)