Export (0) Print
Expand All

2.3.44 FSCTL_READ_FILE_USN_DATA Reply

The FSCTL_READ_FILE_USN_DATA reply message returns the results of the FSCTL_READ_FILE_USN_DATA request as a USN_RECORD_V2 or a USN_RECORD_V3. Both forms of reply message begin with a USN_RECORD_COMMON_HEADER, which can be used to determine the form of the full reply message.

This message returns a status code, as specified in [MS-ERREF] section 2.3. The status code returned directly by the function that processes this FSCTL MUST be STATUS_SUCCESS or one of the following.

Error code

Meaning

STATUS_INVALID_PARAMETER

0xC000000D

The handle is not to a file, directory or if invalid MinMajorVersion and MaxMajorVersion values are specified. .

STATUS_INVALID_USER_BUFFER

0xC00000E8

The output buffer is not aligned to a 4-byte boundary.

STATUS_BUFFER_TOO_SMALL

0xC0000023

The output buffer is too small to contain a USN_RECORD structure.

STATUS_INVALID_DEVICE_REQUEST

0xC0000010

The file system does not support the use of a USN change journal.

 
Show:
© 2014 Microsoft