Share via


LPSYNC_FRAME (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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.
  • 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 Value

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

Header usbdi.h
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

USB Host Driver Functions
LPABORT_TRANSFER
LPGET_TRANSFER_STATUS
LPIS_TRANSFER_COMPLETE
LPTRANSFER_NOTIFY_ROUTINE