// rxcontx.h
NTSTATUS RxSetMinirdrCancelRoutine(
[in, out] IN OUT PRX_CONTEXT RxContext,
[in] IN PMRX_CALLDOWN MRxCancelRoutine
);
View the official Windows Driver Kit DDI referenceNo description available.
RxSetMinirdrCancelRoutine is called by a network mini-redirector driver to set up a network mini-redirector cancel routine for an RX_CONTEXT structure.
RxContext [in, out]A pointer to the RX_CONTEXT structure.
MRxCancelRoutine [in]A pointer to a cancel routine.
RxSetMinirdrCancelRoutine returns STATUS_SUCCESS on success or one of the following error values on failure:
| Return code | Description |
|---|---|
| STATUS_CANCELLED | The RxContext parameter was already canceled. The error will be returned if the Flags member of RxContext has the RX_CONTEXT_FLAG_CANCELLED bit set. |
The RxSetMinirdrCancelRoutine routine sets the MRxCancelRoutine member of the RxContext parameter to the value of the MRxCancelRoutine parameter. This operation is protected by a spinlock.
RxDereferenceAndDeleteRxContext_Real
RxResumeBlockedOperations_Serially