WinUsb_UnregisterIsochBuffer function (winusb.h)
The WinUsb_UnregisterIsochBuffer function releases all of the resources that WinUsb_RegisterIsochBuffer allocated for isochronous transfers. This is a synchronous operation.
Syntax
BOOL WinUsb_UnregisterIsochBuffer(
[in] WINUSB_ISOCH_BUFFER_HANDLE IsochBufferHandle
);
Parameters
[in] IsochBufferHandle
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
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1 |
Minimum supported server | Windows Server 2012 R2 |
Target Platform | Universal |
Header | winusb.h (include Winusb.h) |
Library | Winusb.lib |
DLL | Winusb.dll |