// rxworkq.h
NTSTATUS RxSpinDownMRxDispatcher(
[in, out] IN OUT PRDBSS_DEVICE_OBJECT pMRxDeviceObject
);
View the official Windows Driver Kit DDI referenceNo description available.
RxSpinDownMRxDispatcher tears down the dispatcher context for a network mini-redirector.
pMRxDeviceObject [in, out]A pointer to the device object of the corresponding network mini-redirector driver.
RxSpinDownMRxDispatcher returns STATUS_SUCCESS on success. On checked builds, this routine causes the system to ASSERT on failure.
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.