MRxSetVolumeInfo routine
TheMRxSetVolumeInfo routine is called by RDBSS to request that a network mini-redirector set volume information.
Syntax
PMRX_CALLDOWN MRxSetVolumeInfo;
NTSTATUS MRxSetVolumeInfo(
_Inout_ PRX_CONTEXT RxContext
)
{ ... }
Parameters
RxContext [in, out]
A pointer to the RX_CONTEXT structure. This parameter contains the IRP that is requesting the operation.
Return value
MRxSetVolumeInfo returns STATUS_SUCCESS on success or an appropriate NTSTATUS value, such as one of the following:
Return code | Description |
---|---|
STATUS_ACCESS_DENIED | The caller lacked the proper security for this operation. |
STATUS_CONNECTION_DISCONNECTED | The connection was disconnected. |
STATUS_INSUFFICIENT_RESOURCES | There were insufficient resources to complete the query. |
STATUS_INVALID_PARAMETER | An invalid parameter was specified. |
STATUS_NETWORK_NAME_DELETED | A network name was deleted. |
STATUS_NOT_IMPLEMENTED | A feature that is requested is not implemented. |
STATUS_NOT_SUPPORTED | The request is not supported on the remote share. |
Remarks
RDBSS issues a call to MRxSetVolumeInfo in response to receiving an IRP_MJ_SET_VOLUME_INFORMATION request.
Before calling MRxSetVolumeInfo, RDBSS modifies the following members in the RX_CONTEXT structure pointed to by the RxContext parameter:
The Info.FsInformationClass member is set to IrpSp->Parameters.SetVolume.FsInformationClass.
The Info.Buffer member is set to Irp->AssociatedIrp.SystemBuffer.
The Info.LengthRemaining member is set to IrpSp->Parameters.SetVolume.Length.
Requirements
Target platform |
Desktop |
Header |
Mrx.h (include Mrx.h) |