|
[求助]看《Windows驱动开发技术详解》 上面碰到的几个问题
很明显, 楼主你没有认真读书, 不认真读书, 碰上一点不明白的就上网问是不行的, 认真读读书,多思考一下, 其实《Windows驱动开发技术详解》这本书都说得很明白, 只是你不够认真, 不留意; |
|
[求助]看《Windows驱动开发技术详解》 上面碰到的几个问题
发觉我乱说了, 输入与输出缓冲区的大小又说明什么问题呢? 什么都说明不了, 最多是可以说明是同一个IRP的; 晕, 我才发觉, 这个问题我也不理解得很透彻, 应该是这样的: 设 DeviceIoControl 同时提供了输入与输出缓冲区, I/O管理器产生IRP, 记录了用户程序提供的输入与输出缓冲区的大小, 并根据此要素来找到一片空白内存区域(这个就是AssociatedIrp.SystemBuffe), 然后把用户程序提供的输入数据复制进去, 告诉驱动程序这片内存区域的指针, 驱动程序先把数据读出来, 如果需要, 再向这片内存区域写入数据(控制长度是不是必要的?我也没试过,当然还是控制好), IRP返回, I/O管理器再把这片内存区域的数据复制到用户程序的输出缓冲区里; -> 这个过程只适合"缓冲区读写方式" |
|
[求助]看《Windows驱动开发技术详解》 上面碰到的几个问题
AssociatedIrp.SystemBuffe 并不是你说的: 先发个读的IRP再发一个写的IRP; 是一个IRP; 你用 DeviceIoControl 向驱动提供输入和输出缓冲区, 然后在驱动里获得输入与输出缓冲区的大小, 你就知道了; 第二个问题没看明白,可能是我莱; |
|
[求助]FormatMessage怎么用
void MyGetLastError() { LPVOID Mesbuf = NULL; DWORD dwerror = GetLastError(); FormatMessage( FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, NULL, dwerror, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPTSTR)&Mesbuf, 0, NULL); printf("%s\n",(char*)Mesbuf); LocalFree(Mesbuf); return; } |
|
[求助]vc `如何对图片上的文字进行分析和识别么?
想做外挂吧, 去看看图像处理方面的书籍 |
|
[求助] 谁能提供<shellcoder编程揭秘>的光盘?
已下载了,感谢! |
|
[求助] 谁能提供<shellcoder编程揭秘>的光盘?
感谢arhat; 另, "如需要完整的,请回复" -> 意思是说, 现在的这个并不是完整的光盘内容? 那我还是想需要完整的光盘ISO, 买了本爱书,新书, 配套光盘却不完整, 感觉是个遗憾; |
|
[求助]求<shellcoder编程揭秘>的光盘!
没人回啊? 我是不是发错地方了? 这是资源下载版块啊; |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值