This topic has not yet been rated - Rate this topic

FILE_ID_DESCRIPTOR structure

Applies to: desktop apps only

Specifies the type of ID that is being used.

Syntax

typedef struct {
  DWORD        dwSize;
  FILE_ID_TYPE Type;
  union {
    LARGE_INTEGER FileId;
    GUID          ObjectId;
  } DUMMYUNIONNAME;
} FILE_ID_DESCRIPTOR;

Members

dwSize

The size of this FILE_ID_DESCRIPTOR structure.

Type

The discriminator for the union indicating the type of identifier that is being passed.

ValueMeaning
FileIdType
0

Use the FileId member of the union.

ObjectIdType
1

Use the ObjectId member of the union.

 

DUMMYUNIONNAME
FileId

The ID of the file to open.

ObjectId

The ID of the object to open.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Redistributable

Windows SDK on Windows Server 2003 and Windows XP.

Header

WinBase.h (include Windows.h);
FileExtd.h on Windows Server 2003 and Windows XP

See also

File Management Structures
OpenFileById
FILE_ID_TYPE

 

 

Send comments about this topic to Microsoft

Build date: 4/17/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ