RxSpinDownMRxDispatcher - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// rxworkq.h

NTSTATUS RxSpinDownMRxDispatcher(
  [in, out] IN OUT PRDBSS_DEVICE_OBJECT pMRxDeviceObject
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-rxworkq-rxspindownmrxdispatcher)

RxSpinDownMRxDispatcher function

Description

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

Parameters

pMRxDeviceObject [in, out]

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.

See also

RxDispatchToWorkerThread

RxPostToWorkerThread