RxSpinDownMRxDispatcher function (rxworkq.h)

RxSpinDownMRxDispatcher tears down the dispatcher context for a network mini-redirector.

Syntax

NTSTATUS RxSpinDownMRxDispatcher(
  [in, out] IN OUT PRDBSS_DEVICE_OBJECT pMRxDeviceObject
);

Parameters

[in, out] pMRxDeviceObject

A pointer to the device object of the corresponding network mini-redirector driver.

Return value

RxSpinDownMRxDispatcher returns STATUS_SUCCESS on success. On checked builds, this routine causes the system to ASSERT on failure.

Remarks

The RxSpinDownMRxDispatcher routine will set a tear down request into the driver device object of the network mini-redirector driver (the DispatcherContext.pTearDownEvent member of the device object is set to &TearDownEvent) and wait for the driver to tear down any outstanding worker threads.

The RxSpinDownMRxDispatcher routine is also called internally by the RxStopMiniRdr and RxpUnregisterMinirdr routines.

Requirements

Requirement Value
Minimum supported client The RxSpinDownMRxDispatcher routine is only available on Windows XP and later.
Target Platform Desktop
Header rxworkq.h (include Rxworkq.h, Rxstruc.h)
IRQL <= APC_LEVEL

See also

RxDispatchToWorkerThread

RxPostToWorkerThread