IssueInterruptTransfer
This function initiates an interrupt transfer with a USB device.
Syntax
USB_TRANSFER IssueInterruptTransfer( USB_PIPE hPipe, LPTRANSFER_NOTIFY_ROUTINE lpStartAddress,
LPVOID lpvNotifyParameter, DWORD dwFlags, DWORD dwBufferSize, LPVOID lpvBuffer, ULONG uBufferPhysicalAddress );
Parameters
- hPipe
- [IN] Handle to an open USB pipe.
- lpStartAddress
- [IN] Pointer to the address, which may be NULL, of a callback routine.
- lpvNotifyParameter
- [IN] Parameter to pass to callback routine.
- dwFlags
- [IN] Flags for the transfer. These are declared in the Usbtypes.h header file.
- dwBufferSize
- [IN] Specifies the size of data buffer.
- lpvBuffer
- [IN] Pointer to the data buffer. If the physical buffer address is specified, this must contain the virtual address of the buffer.
- uBufferPhysicalAddress
- [IN] Specifies the physical address, which may be NULL, of the data buffer.
Return Values
A USB_TRANSFER handle indicates success. NULL indicates failure.
Remarks
This function initiates an interrupt transfer to a USB device on the specified endpoint.
This function is defined in the Mousedrv.cpp file.
See Also
AbortTransfer, GetTransferStatus, IsTransferComplete