MRxSetQuotaInfo - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// mrx.h

PMRX_CALLDOWN MRxSetQuotaInfo;

NTSTATUS MRxSetQuotaInfo(
  _Inout_ PRX_CONTEXT RxContext
)
{ ... }
View the official Windows hardware development documentation

NtDoc

No description available.

Windows hardware development documentation (mrxsetquotainfo)

MRxSetQuotaInfo routine

TheMRxSetQuotaInfo routine is called by RDBSS to request that a network mini-redirector set quota information on a file system object.

Parameters

RxContext [in, out] A pointer to the RX_CONTEXT structure. This parameter contains the IRP that is requesting the operation.

Return value

MRxSetQuotaInfo 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_NOT_SUPPORTED Quotas are not supported.

Remarks

RDBSS issues a call to MRxSetQuotaInfo in response to receiving an IRP_MJ_SET_QUOTA request.

Before calling MRxSetQuotaInfo, RDBSS modifies the following members in the RX_CONTEXT structure pointed to by the RxContext parameter:

The Info.Buffer member is set to the user buffer from I/O request packet. This buffer has already been locked by RDBSS if needed.

The Info.LengthRemaining member is set to IrpSp->Parameters.SetQuota.Length.

Requirements

Target platform Desktop
Header Mrx.h (include Mrx.h)

See also

MRxIsValidDirectory

MRxQueryDirectory

MRxQueryEaInfo

MRxQueryFileInfo

MRxQueryQuotaInfo

MRxQuerySdInfo

MRxQueryVolumeInfo

MRxSetEaInfo

MRxSetFileInfo

MRxSetFileInfoAtCleanup

MRxSetSdInfo

MRxSetVolumeInfo