Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/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

CEFILEINFOstructure that contains information about a file. This member is valid only if wObjTypeis OBJTYPE_FILE.

infDirectory

CEDIRINFOstructure that contains information about a directory. This member is valid only if wObjTypeis OBJTYPE_DIRECTORY.

infDatabase

CEDBASEINFOstructure that contains information about a database. This member is valid only if wObjTypeis OBJTYPE_DATABASE.

infRecord

CERECORDINFOstructure that contains information about a record in a database. This member is valid only if wObjTypeis 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
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also