Jungo WinDriver  
Official Documentation

◆ WDU_StreamFlush()

DWORD DLLCALLCONV WDU_StreamFlush ( _In_ WDU_STREAM_HANDLE  hStream)

Flushes a stream, i.e writes the entire contents of the stream's data buffer to the device (relevant for a write stream), and blocks until the completion of all pending I/O on the stream.

This function can be called for both blocking and non-blocking streams.

Parameters
[in]hStreamA unique identifier for the stream, as returned by WDU_StreamOpen().
Returns
WinDriver Error Code
DWORD DLLCALLCONV WDU_StreamFlush(_In_ WDU_STREAM_HANDLE hStream)
Flushes a stream, i.e writes the entire contents of the stream's data buffer to the device (relevant ...