Expand Minimize

WinUsb_UnregisterIsochBuffer routine

The WinUsb_UnregisterIsochBuffer function releases all of the resources that WinUsb_RegisterIsochBuffer allocated for isochronous transfers. This is a synchronous operation.

Syntax


BOOL __stdcall WinUsb_UnregisterIsochBuffer(
  _In_  PWINUSB_ISOCH_BUFFER_HANDLE BufferHandle
);

Parameters

BufferHandle [in]

An opaque handle to the transfer buffer that was registered by a previous call to WinUsb_RegisterIsochBuffer.

Return value

WinUsb_UnregisterIsochBuffer returns TRUE if the operation succeeds. Otherwise this function returns FALSE, and the caller can retrieve the logged error by calling GetLastError.

Remarks

The caller must ensure that there are no pending transfers that is currently using the buffer before calling WinUsb_UnregisterIsochBuffer. If there are pending transfers, WinUsb_UnregisterIsochBuffer blocks until those transfers are complete.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Header

Winusb.h (include Winusb.h)

Library

Winusb.lib

See also

WinUSB Functions
Send USB isochronous transfers from a WinUSB desktop app
WinUsb_RegisterIsochBuffer

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft