LPSYNC_FRAME (Windows CE 5.0)

Send Feedback

This function sends a SYNCH_FRAME request to a universal serial bus (USB) device.

typedef USB_TRANSFER (* LPSYNC_FRAME)(  USB_HANDLE hDevice,   LPTRANSFER_NOTIFY_ROUTINE lpStartAddress,   LPVOID lpvNotifyParameter,  DWORD dwFlags,  UCHAR bEndpoint,   LPWORD lpwFrame);

Parameters

  • hDevice
    [in] Handle to a USB device.
  • lpStartAddress
    [in] Pointer to the address, which might be NULL, of a callback routine of type LPTRANSFER_NOTIFY_ROUTINE.
  • lpvNotifyParameter
    [in] Pointer to the parameter to pass to a callback routine.
  • dwFlags
    [in] Value of USB_NO_WAIT or zero (0).
  • bEndpoint
    [in] Endpoint number.
  • lpwFrame
    [out] Frame number.

Return Values

A USB_TRANSFER handle indicates success. NULL indicates failure.

Remarks

This function sends a SYNCH_FRAME request to an isochronous endpoint on the device and returns in lpwFrame the frame number that began the packet-size pattern of the device.

Requirements

OS Versions: Windows CE 2.10 and later.
Header: Usbdi.h.

See Also

LPABORT_TRANSFER | LPGET_TRANSFER_STATUS | LPIS_TRANSFER_COMPLETE | LPTRANSFER_NOTIFY_ROUTINE

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.