Hi Experts,
In my usb driver,I build new read Irp in read data Completion Routine.Thus
the driver is always pending one read Irp for data.
Now I add read/write register subroutine in the driver.But DeviceIoControl in application always wait for the pending read Irp for data.
Could you advice?Thanks a lot?
ÇÀ×¢ÑÅ»¢Ãâ·ÑÓÊÏä-3.5GÈÝÁ¿£¬20M¸½¼þ£¡
Did you open the handle for overlapped operations and did you return STATUS_PENDING from your IOCTL dispatch routine?
=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Yu Zhou
Sent: Friday, July 14, 2006 5:31 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How to clear data in USB bus?
Hi Experts,
In my usb driver,I build new read Irp in read data Completion Routine.Thus
the driver is always pending one read Irp for data.
Now I add read/write register subroutine in the driver.But DeviceIoControl in application always wait for the pending read Irp for data.
Could you advice?Thanks a lot?
抢注雅虎免费邮箱-3.5G容量,20M附件! http: — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</http:>
Open the device for overlapped I/O in your application. If you don??t do this then the I/O manager will serialize all requests sent from the app.
-p
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Yu Zhou
Sent: Friday, July 14, 2006 2:31 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How to clear data in USB bus?
Hi Experts,
In my usb driver,I build new read Irp in read data Completion Routine.Thus
the driver is always pending one read Irp for data.
Now I add read/write register subroutine in the driver.But DeviceIoControl in application always wait for the pending read Irp for data.
Could you advice?Thanks a lot?
??ע?Ż???-3.5G???20M??? http: — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</http:>
you can email me to talk about it.
m chinese.
xxxxx@hotmail.com