WinUsb_Free function (winusb.h)

The WinUsb_Free function releases all of the resources that WinUsb_Initialize allocated. This is a synchronous operation.

Syntax

BOOL WinUsb_Free(
  [in] WINUSB_INTERFACE_HANDLE InterfaceHandle
);

Parameters

[in] InterfaceHandle

An opaque handle to an interface in the selected configuration. That handle must be created by a previous call to WinUsb_Initialize or WinUsb_GetAssociatedInterface.

Return value

WinUsb_Free returns TRUE.

Requirements

Requirement Value
Target Platform Universal
Header winusb.h (include Winusb.h)
Library Winusb.lib
DLL Winusb.dll

See also

WinUSB

WinUSB Functions

WinUsb_Initialize