GetUSBDVersion

This function returns the version number of the USBD interface present on a Windows CE–based platform.

Syntax

VOID GetUSBDVersion( LPDWORD lpdwMajorVersion,
LPDWORD
lpdwMinorVersion );

Parameters

lpdwMajorVersion
[OUT] Pointer to the USBD major version number.
lpdwMinorVersion
[OUT] Pointer to the USBD minor version number.

Return Values

None.

Remarks

This function can be used to determine the current version of the USBD interface. USBDI version 1.0 corresponds to Windows CE 2.10. USBDI version 1.1 corresponds to Windows CE 2.11 and later.

This function is defined in the Mousedrv.cpp file.