Windows Driver Kit: Buses
IsDeviceHighSpeed
The IsDeviceHighSpeed function returns TRUE if the host controller is a high speed USB 2.0-compliant host controller.
BOOLEAN
IsDeviceHighSpeed(
IN PVOID BusContext
);
Parameters
- BusContext
- Handle returned in the BusContext member of the USB_BUS_INTERFACE_USBDI_V1 structure by an IRP_MN_QUERY_INTERFACE request.
Return Value
The IsDeviceHighSpeed function returns TRUE if the host controller is a high-speed USB 2.0-compliant host controller. It returns FALSE if the host controller is not high speed.
Comments
The function definition that is provided on this reference page is an example routine whose parameters are just placeholder names. The actual prototype of the function is declared in usbbusif.h as follows:
typedef BOOLEAN
(USB_BUSIFFN *PUSB_BUSIFFN_IS_DEVICE_HIGH_SPEED) (
IN PVOID
);
Requirements
IRQL: ANY
Headers: Declared in usbbusif.h. Include usbbusif.h.
See Also
USB Interfaces