Expand Minimize

IsDeviceHighSpeed routine

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

Syntax


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

IsDeviceHighSpeed 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

Header

Usbbusif.h (include Usbbusif.h)

IRQL

< = DISPATCH_LEVEL

See also

USB_BUS_INTERFACE_USBDI_V1
Bus Driver Interface Routines for USB Client Drivers

 

 

Send comments about this topic to Microsoft

Build date: 12/5/2013

Show:
© 2014 Microsoft. All rights reserved.