R. de Gravelaine replied to Rob
20-Nov-09 12:20 PM
Hi,
USBD IssueVendorTransfer returns an USB_TRANSFER handle which is
actually a STransfer * obtained by calling GetTransferObject. This
object is allocated dynamically by USBD and is not a regular system HANDLE.
The IssueVendorTransfer flavor that comes with the samples is the one of
usbclient.c and returns a DWORD. Internally, if no notification routine
is given, the USB_TRANSFER allocated by calling USBD's
IssueVendorTransfer is closed. If a notification routine is provided, it
should close the transfer, eventually after having retrieved the
transfer status.
HTH
Remi