阅读:1360回复:1
HID設備讀出全為0,討論下
原代碼如下:
ReadFile(hReadHandle, ReadReportBuffer, 9, NULL, &ReadOverlapped); //} //WaitForSingleObject(ReadOverlapped.hEvent,INFINITE); //GetOverlappedResult(hReadHandle, // &ReadOverlapped, // &Length, // TRUE); for(i=0;i<9;i++) { ReadReport=ReadReportBuffer; ShowListBox(ReadReport.ToString("X8")); } 結果讀出來全為0,是什么原因造成的,哪位高手指點明路。。。。。。。 |
|
|
沙发#
发布于:2009-11-04 09:43
up~~~~~~~~~~~~~~
|
|
|