RxCompleteRequest_Real completes the IRP request associated with an RX_CONTEXT structure.
VOID RxCompleteRequest_Real( _In_ PRX_CONTEXT RxContext, _In_ PIRP Irp, _In_ NTSTATUS Status );
- RxContext [in]
A pointer to the RX_CONTEXT structure associated with the IRP to complete.
- Irp [in]
A pointer to the IRP to complete.
- Status [in]
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.
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.