FSCTL_LMR_GET_LINK_TRACKING_INFORMATION control code

The FSCTL_LMR_GET_LINK_TRACKING_INFORMATION control code retrieves the link tracking information for a file.

To perform this operation, call FltFsControlFile or ZwFsControlFile with the following parameters.

Parameters

  • FileObject [in]: FltFsControlFile only. A file object pointer for the remote volume. This parameter is required and cannot be NULL.

  • FileHandle [in]: ZwFsControlFile only. A handle for the remote volume. This parameter is required and cannot be NULL.

  • FsControlCode [in]: A control code for the operation. Use FSCTL_LMR_GET_LINK_TRACKING_INFORMATION for this operation.

  • InputBuffer [in]: None.

  • InputBufferLength [in]: Not used.

  • OutputBuffer [out]: A LINK_TRACKING_INFORMATION structure that contains the link tracking information of the file.

  • OutputBufferLength [out]: The size, in bytes, of the buffer pointed to by OutputBuffer.

Status block

FltFsControlFile or ZwFsControlFile returns STATUS_SUCCESS if the operation succeeds. Otherwise, the appropriate function returns the appropriate NTSTATUS error code.

Requirements

Requirement type Requirement
Header Ntifs.h (include Ntifs.h)