Поделиться через


LPSYNC_FRAME (Compact 2013)

3/26/2014

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

See Also

Reference

USB Driver Functions
LPABORT_TRANSFER
LPGET_TRANSFER_STATUS
LPIS_TRANSFER_COMPLETE
LPTRANSFER_NOTIFY_ROUTINE