|
请教关于lpIssueInterruptTransfer()函数的问题,高手来指导啊,谢谢!
[复制链接]
readerExtension->hIntTransfer = (*(readerExtension->pUsbFuncs)->lpIssueInterruptTransfer) (readerExtension->hPipeInt,
NULL,
NULL,
USB_IN_TRANSFER | USB_NO_WAIT,
(DWORD)1,
readerExtension->ucReadBuffer (ULONG)0
);
hTntTransfer不为空,但结果调用lpIsTransferComplete(readerExtension->hIntTransfer)返回值为0,就是说传输没有完成,但是ucReadBuffer里面有读到数据,我发送1个字节的数据就可以传输完成。请问这是怎么回事?
|
|