信息
您所需的主题如下所示。但此主题未包含在此库中。

IWDFUsbTargetPipe::Flush 方法

The Flush method discards any data that WinUsb saved when the device returned more data than the client requested.

语法

HRESULT  Flush();

参数

This 没有参数。

返回值

Flush returns one of the following values:

返回代码说明
S_OK

Flush successfully discarded any extra data that WinUsb saved.

E_OUTOFMEMORY

Flush encountered an allocation failure.

An error code that is defined in Winerror.h

This value corresponds to the error code that the WinUsb API returned.

 

评论

The Flush method generates a UMDF request and synchronously sends the request to the I/O target.

For more information about how Flush works, see the WinUsb_FlushPipe function.

要求

标头

Wudfusb.h (包括Wudfusb.h)

另请参见

WinUsb_FlushPipe

 

 

社区附加资源

显示:
© 2014 Microsoft