RxCompleteRequest_Real function (rxprocs.h)

RxCompleteRequest_Real completes the IRP request associated with an RX_CONTEXT structure.

Syntax

void RxCompleteRequest_Real(
  [in] IN PRX_CONTEXT RxContext,
  [in] IN PIRP        Irp,
  [in] IN NTSTATUS    Status
);

Parameters

[in] RxContext

A pointer to the RX_CONTEXT structure associated with the IRP to complete.

[in] Irp

A pointer to the IRP to complete.

[in] Status

The status value to return when the IRP request is complete. This is the value that will be stored in the IoStatus.Status member of the associated IRP on completion.

Return value

None

Remarks

The RxCompleteRequest_Real routine is not normally called by network mini-redirector drivers directly. RDBSS calls this routine internally to complete an I/O request packet.

If a NULL value is passed in for Irp, then RxCompleteRequest_Real will log this as an error in checked builds. If a non-NULL value is passed in for RxContext, then RxCompleteRequest_Real internally calls RxDereferenceAndDeleteRxContext with the passed in RxContext parameter to dereference the RX_CONTEXT structure.

Requirements

Requirement Value
Target Platform Desktop
Header rxprocs.h (include Rxprocs.h, Rxcontx.h)
IRQL <= APC_LEVEL

See also

RxCompleteRequest

RxCreateRxContext

RxDereference

RxDereferenceAndDeleteRxContext_Real

RxInitializeContext

RxPrepareContextForReuse

RxResumeBlockedOperations_Serially

__RxSynchronizeBlockingOperations

__RxSynchronizeBlockingOperationsMaybeDroppingFcbLock