FILE_ID_DESCRIPTOR structure (winbase.h)

Spécifie le type d’ID utilisé.

Syntaxe

typedef struct FILE_ID_DESCRIPTOR {
  DWORD        dwSize;
  FILE_ID_TYPE Type;
  union {
    LARGE_INTEGER FileId;
    GUID          ObjectId;
    FILE_ID_128   ExtendedFileId;
  } DUMMYUNIONNAME;
} FILE_ID_DESCRIPTOR, *LPFILE_ID_DESCRIPTOR;

Membres

dwSize

Taille de cette structure FILE_ID_DESCRIPTOR .

Type

Discriminateur de l’union indiquant le type d’identificateur transmis.

Valeur Signification
FileIdType
0
Utilisez le membre FileId de l’union.
ObjectIdType
1
Utilisez le membre ObjectId de l’union.
ExtendedFileIdType
2
Utilisez le membre ExtendedFileId de l’union.

Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7 et Windows Server 2008 R2 : Cette valeur n’est pas prise en charge avant Windows 8 et Windows Server 2012.

DUMMYUNIONNAME

DUMMYUNIONNAME.FileId

ID du fichier à ouvrir.

DUMMYUNIONNAME.ObjectId

ID de l’objet à ouvrir.

DUMMYUNIONNAME.ExtendedFileId

Structure FILE_ID_128 contenant l’ID de fichier 128 bits du fichier. Il est utilisé sur les systèmes de fichiers ReFS.

Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7 et Windows Server 2008 R2 : Ce membre n’est pas pris en charge avant Windows 8 et Windows Server 2012.

Configuration requise

   
Client minimal pris en charge Windows Vista [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2008 [applications de bureau uniquement]
En-tête winbase.h (inclure Windows.h)
Composant redistribuable Sdk Windows sur Windows Server 2003 et Windows XP.

Voir aussi

FILE_ID_128

FILE_ID_TYPE

Structures de gestion des fichiers

OpenFileById