Поделиться через


CEOIDINFO (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

typedef struct _CEOIDINFO {
  WORD wObjType;
  WORD wPad;
  union {
    CEFILEINFO infFile;
    CEDIRINFO infDirectory;
    CEDBASEINFO infDatabase;
    CERECORDINFO infRecord;
    };
} CEOIDINFO;

Members

  • wObjType
    Specifies the type of the object. It is one of the following values.

    Value Description

    OBJTYPE_INVALID

    The object store contains no valid object that has this object identifier.

    OBJTYPE_FILE

    The object is a file.

    OBJTYPE_DIRECTORY

    The object is a directory.

    OBJTYPE_DATABASE

    The object is a database.

    OBJTYPE_RECORD

    The object is a record inside a database.

  • wPad
    Aligns the structure on a double-word boundary.
  • infFile
    CEFILEINFO structure that contains information about a file. This member is valid only if wObjType is OBJTYPE_FILE.
  • infDirectory
    CEDIRINFO structure that contains information about a directory. This member is valid only if wObjType is OBJTYPE_DIRECTORY.
  • infDatabase
    CEDBASEINFO structure that contains information about a database. This member is valid only if wObjType is OBJTYPE_DATABASE.
  • infRecord
    CERECORDINFO structure that contains information about a record in a database. This member is valid only if wObjType is OBJTYPE_RECORD.

    Note

    Earlier versions of Windows Embedded CE assigned object identifiers to objects in other file systems, such as the file allocation table (FAT) file system. These object identifiers 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 object identifiers and the object store is the only volume that can return an object identifier.

Requirements

Header rapitypes.h
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

CEDBASEINFO
CEDIRINFO (RAPI)
CEFILEINFO (RAPI)
CERECORDINFO

Concepts

RAPI Structures