Share via


LPGET_FRAME_LENGTH (Compact 2013)

3/26/2014

This function gets a current universal serial bus (USB) frame length.

Syntax

typedef BOOL (* LPGET_FRAME_LENGTH)(
USB_HANDLE hDevice,
LPUSHORT lpuFrameLength
);

Parameters

  • hDevice
    [in] Handle to a USB device.
  • lpuFrameLength
    [out] Pointer to the current frame length.

Return Value

TRUE indicates success. FALSE indicates failure. The frame length that is return is in units of full-speed bit times.

Requirements

Header

usbdi.h

See Also

Reference

USB Driver Functions
LPGET_FRAME_NUMBER