IWDFIoQueue::StopSynchronously method

The StopSynchronously method prevents an I/O queue from delivering I/O requests, but the queue receives and stores new requests. The method returns after all delivered requests have been canceled or completed.

Syntax


void  StopSynchronously();

Parameters

This method has no parameters.

Return value

None

Remarks

The StopSynchronously method is the synchronous version of the IWDFIoQueue::Stop method. That is, StopSynchronously does not return to the driver until the queue stops.

The StopSynchronously method enables the queue to receive new requests, even if the queue was not receiving new requests before the driver called StopSynchronously. For example, a driver might call IWDFIoQueue::Drain, which causes the framework to stop adding new I/O requests to the queue. The driver's subsequent call of StopSynchronously causes the framework to resume adding requests to the queue.

Requirements

Target platform

End of support

Unavailable in UMDF 2.0 and later.

Minimum UMDF version

1.5

Header

Wudfddi.h (include Wudfddi.h)

DLL

WUDFx.dll

See also

IWDFIoQueue
IWDFIoQueue::Stop

 

 

Send comments about this topic to Microsoft

Show: