摘要: WaitForSingleObject Function ***************************************************Waits until the specified object is in the signaled state or the time-out interval elapses.To enter an alertable wait state, use the WaitForSingleObjectEx function.To wait for multiple objects, use the WaitForMultipleObj 阅读全文
posted @ 2013-05-30 21:20 IAmAProgrammer 阅读(2326) 评论(0) 推荐(0) 编辑
摘要: http://bbs.pediy.com/showthread.php?p=446641http://book.51cto.com/art/201107/275240.htm驱动程序和客户应用程序经常需要进行数据交换,但我们知道驱动程序和客户应用程序可能不在同一个地址空间,因此操作系统必须解决两者之间的数据交换。驱动层和应用层通信,主要是靠DeviceIoControl函数,下面是该函数的原型:BOOL DeviceIoControl ( HANDLE hDevice, // 设备句柄 DWORD dwIoControlCode, // IOCTL请求操作代码 LPVOID lpI... 阅读全文
posted @ 2013-05-30 14:13 IAmAProgrammer 阅读(1494) 评论(0) 推荐(0) 编辑