Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

FILE_ID_DESCRIPTOR structure

Specifies the type of ID that is being used.

Syntax


typedef struct {
  DWORD        dwSize;
  FILE_ID_TYPE Type;
  union {
    LARGE_INTEGER FileId;
    GUID          ObjectId;
#if (_WIN32_WINNT >= _WIN32_WINNT_WIN8)
                  ExtendedFileId;
#endif 
  } 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.

ExtendedFileIdType
2

Use the ExtendedFileId member of the union.

Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008 R2:  This value is not supported before Windows 8 and Windows Server 2012.

 

DUMMYUNIONNAME
FileId

The ID of the file to open.

ObjectId

The ID of the object to open.

ExtendedFileId

A EXT_FILE_ID_128 structure containing the 128-bit file ID of the file. This is used on ReFS file systems.

Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008 R2:  This member is not supported before Windows 8 and Windows Server 2012.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.