USB_BUSIFFN_IS_DEVICE_HIGH_SPEED callback function

The USB_BUSIFFN_IS_DEVICE_HIGH_SPEED routine returns TRUE if the device is operating at high speed.

Syntax


USB_BUSIFFN_IS_DEVICE_HIGH_SPEED IsDeviceHighSpeed;

BOOLEAN IsDeviceHighSpeed(
  _In_opt_ PVOID BusContext
)
{ ... }

Parameters

BusContext [in, optional]

Handle returned in the BusContext member of the USB_BUS_INTERFACE_USBDI_V1 structure by an IRP_MN_QUERY_INTERFACE request.

Return value

USB_BUSIFFN_IS_DEVICE_HIGH_SPEED implementation returns TRUE if the USB device is operating at high speed USB 2.0 compliant device; FALSE otherwise.

Remarks

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

Target platform

Header

Usbbusif.h (include Usbbusif.h)

IRQL

< = DISPATCH_LEVEL

See also

USB_BUS_INTERFACE_USBDI_V1

 

 

Send comments about this topic to Microsoft

Show: