// ntifs.h
typedef struct {
LARGE_INTEGER FileReferenceNumber;
ULONG FileRecordLength;
UCHAR FileRecordBuffer[1];
} NTFS_FILE_RECORD_OUTPUT_BUFFER, *PNTFS_FILE_RECORD_OUTPUT_BUFFER;
View the official Windows Driver Kit DDI reference// winioctl.h
typedef struct {
LARGE_INTEGER FileReferenceNumber;
DWORD FileRecordLength;
BYTE FileRecordBuffer[1];
} NTFS_FILE_RECORD_OUTPUT_BUFFER, *PNTFS_FILE_RECORD_OUTPUT_BUFFER;
View the official Win32 API referenceNo description available.
The NTFS_FILE_RECORD_OUTPUT_BUFFER structure receives the output data from the FSCTL_GET_NTFS_FILE_RECORD control code.
FileReferenceNumberThe file identifier of the returned file record. This is not necessarily the file identifier specified in the FileReferenceNumber member of the NTFS_FILE_RECORD_INPUT_BUFFER structure.
FileRecordLengthLength of the file record, in bytes.
FileRecordBuffer[1]The starting location of the buffer for the returned file record.
Receives output data from the FSCTL_GET_NTFS_FILE_RECORD control code.
FileReferenceNumberThe file identifier of the returned file record. This is not necessarily the file identifier specified in the FileReferenceNumber member of the NTFS_FILE_RECORD_INPUT_BUFFER structure. Refer to the Remarks section of the reference page for FSCTL_GET_NTFS_FILE_RECORD for more information.
FileRecordLengthThe length of the returned file record, in bytes.
FileRecordBufferThe starting location of the buffer for the returned file record.
To retrieve data to fill in this structure, use the DeviceIoControl FSCTL_GET_NTFS_FILE_RECORD control code.