USBD_GetUSBDIVersion function (usbdlib.h)

The USBD_GetUSBDIVersion routine returns version information about the host controller driver (HCD) that controls the client's USB device.

Note  USBD_IsInterfaceVersionSupported replaces the USBD_GetUSBDIVersion routine
 

Syntax

void USBD_GetUSBDIVersion(
  [out] PUSBD_VERSION_INFORMATION VersionInformation
);

Parameters

[out] VersionInformation

Pointer to caller-allocated memory for a USBD_VERSION_INFORMATION structure that on return from the routine, contains version information about the HCD.

Return value

None

Remarks

Callers of this routine can be running at IRQL <= DISPATCH_LEVEL if the memory for VersionInformation is allocated from nonpaged pool. Otherwise, callers must be running at IRQL < DISPATCH_LEVEL.

Requirements

Requirement Value
Target Platform Universal
Header usbdlib.h (include Usbdlib.h)
Library Usbd.lib
IRQL <=DISPATCH_LEVEL (See Remarks)

See also

USB device driver programming reference

USBD_IsInterfaceVersionSupported