Export (0) Print
Expand All

FILE_REPARSE_POINT_INFORMATION structure

The FILE_REPARSE_POINT_INFORMATION structure is used to query for information about a reparse point.

Syntax


typedef struct _FILE_REPARSE_POINT_INFORMATION {
  LONGLONG FileReference;
  ULONG    Tag;
} FILE_REPARSE_POINT_INFORMATION, *PFILE_REPARSE_POINT_INFORMATION;

Members

FileReference

The 8-byte file reference number for the file. This number is generated and assigned to the file by the NTFS file system. (Note that the FileId is not the same as the 16-byte "file object ID" that was added to NTFS for Microsoft Windows 2000.)

Tag

Reparse point tag. The ReparseTag member indicates the structure of the user-defined reparse data. For more information about reparse point tags, see the Microsoft Windows SDK documentation.

Remarks

This information can be queried in either of the following ways:

  • Call ZwQueryDirectoryFile, passing FileReparsePointInformation as the value of FileInformationClass and passing a caller-allocated, FILE_REPARSE_POINT_INFORMATION-structured buffer as the value of FileInformation.

  • Create an IRP with major function code IRP_MJ_DIRECTORY_CONTROL and minor function code IRP_MN_QUERY_DIRECTORY.

For more information about reparse points, see the Windows SDK documentation.

No specific access rights are required to query this information.

This structure must be LONG-aligned.

Requirements

Header

Ntifs.h (include Ntifs.h or Fltkernel.h)

See also

IRP_MJ_DIRECTORY_CONTROL
ZwQueryDirectoryFile

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft