GetFrameLength

This function gets a current USB frame length.

Syntax

BOOL GetFrameLength( USB_HANDLE hDevice,
LPUSHORT
lpuFrameLength );

Parameters

hDevice
[IN] Handle to a USB device.
lpuFrameLength
[OUT] Pointer to the current frame length.

Return Values

TRUE indicates success. FALSE indicates failure. A bug in the implementation of this function in Windows CE 2.10 causes this function to always return FALSE.

Remarks

This function is defined in the Mousedrv.cpp file.