Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

FltFsControlFile only. A file object pointer for the remote volume. This parameter is required and cannot be NULL.

FileHandle

ZwFsControlFile only. A handle for the remote volume. This parameter is required and cannot be NULL.

FsControlCode

A control code for the operation. Use FSCTL_LMR_GET_LINK_TRACKING_INFORMATION for this operation.

InputBuffer

None.

InputBufferLength

Not used.

OutputBuffer

A LINK_TRACKING_INFORMATION structure that contains the link tracking information of the file.

typedef struct _LINK_TRACKING_INFORMATION {
  LINK_TRACKING_INFORMATION_TYPE  Type;
  UCHAR  VolumeId[16];
} LINK_TRACKING_INFORMATION, *PLINK_TRACKING_INFORMATION;

Type

A LINK_TRACKING_INFORMATION_TYPE information enumeration value that specifies the type of file system that the file resides on. If this member holds a value of DfsLinkTrackingInformation, the file resides on a distributed file system. If this member holds a value of NtfsLinkTrackingInformation, the file resides on an NTFS file system.

VolumeId

An unsigned character array that holds the volume identifier.

OutputBufferLength

The size, in bytes, of the buffer pointed to by the OutputBuffer parameter.

Return Value

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

Requirements

Header

Ntifs.h (include Ntifs.h)

 

 

Send comments about this topic to Microsoft

Show: