USBDev_IsHighSpeed

Description

Specify if the device attached to PC is high speed or not.

Files

usbdev_api.c

Prototype

BOOL  USBDev_IsHighSpeed (HANDLE   dev,
                          DWORD   *p_err);


Arguments

dev

General handle to device.

p_err

Pointer to variable that will receive the return error code from this function:

ERROR_SUCCESS
ERROR_INVALID_HANDLE
ERROR_INVALID_PARAMETER

Returned Value

TRUE, if device is high-speed.

FALSE, otherwise.

Callers

Application.

Notes / Warnings

None.