// ntifs.h
// CTL_CODE(0x0009, 0x11e, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define FSCTL_LMR_QUERY_INFO 0x00090478
View the official Windows Driver Kit DDI referenceNo description available.
The FSCTL_LMR_QUERY_INFO control code retrieves the desired information for a remote file or directory opened locally.
FSCTL_LMR_QUERY_INFO
To perform this operation, call FltFsControlFile or ZwFsControlFile with the following parameters.
FileObject [in]: Parameter for FltFsControlFile only. A file object pointer for the remote volume. This parameter is required and can't be NULL.
FileHandle [in]: Parameter for ZwFsControlFile only. A handle for the remote volume. This parameter is required and can't be NULL.
FsControlCode [in]: A control code for the operation. Use FSCTL_LMR_QUERY_INFO for this operation.
InputBuffer [in]: Pointer to a LMR_QUERY_INFO_PARAM structure that contains the type of information to be queried.
InputBufferLength [in]: The size, in bytes, of the buffer pointed to by InputBuffer. This value is sizeof(LMR_QUERY_INFO_PARAM).
OutputBuffer [out]: A pointer to a buffer that receives the desired information about the file or directory. The structure of the information returned in the output buffer is defined by the Operation specified in InputBuffer's LMR_QUERY_INFO_PARAM structure.
OutputBufferLength [out]: The size, in bytes, of the buffer pointed to by OutputBuffer.
FltFsControlFile or ZwFsControlFile returns STATUS_SUCCESS if the operation succeeds. Otherwise, the appropriate function returns the appropriate NTSTATUS error code.