04 2010 档案

需要编写总线驱动程序?
摘要:通常,一个设备有多路数据流。而ReadFile,WriteFile又只针对一个句柄。这就出现一个矛盾,这有几个解决方案 多个设备对象 编写总线驱动 设备对象命名空间 虽然我没有找到WDK中推荐的做法,但在WHDC上,微软给出了推荐的做法。下面简单介绍一下吧。 首先IoRegisterDeviceInterface接受一个ReferenceString,我们可以给一个字符串“ch0”。这样,设备接... 阅读全文

posted @ 2010-04-28 23:28 iwasmu 阅读(367) 评论(0) 推荐(0)

Windows7重建图标缓存
摘要:rem 关闭explorer.exe taskkill /f /im explorer.exe attrib -h -i %userprofile%\AppData\Local\IconCache.db del %userprofile%\AppData\Local\IconCache.db /a rem 打开 start explorer懒人版本 下载 阅读全文

posted @ 2010-04-07 22:07 iwasmu 阅读(229) 评论(0) 推荐(0)