This topic has not yet been rated - Rate this topic

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: 4/4/2012

Did you find this helpful?
(1500 characters remaining)