阅读:2098回复:8
如何在驱动之间交换数据。
如何在两个WDM间交换大批的数据?
|
|
最新喜欢:![]()
|
沙发#
发布于:2001-04-03 11:52
:O
我只知道可以用ZwCreateFile、ZwCloseFile、ZwReadFile、ZwWriteFile等例程与另一驱动交互,不过不知道具体过程。 |
|
|
板凳#
发布于:2001-04-03 13:57
create a shared memory!
|
|
地板#
发布于:2001-04-06 08:44
A share memory?
a share meory is often used in physical memory, how can I ask for a system share memory ? Thanks! |
|
|
地下室#
发布于:2001-04-06 13:53
Maybe you can use InternalDeviceIoControl to implement it. I've ever successfully communicate between 2 drivers but never transfer large amount of data.
|
|
|
5楼#
发布于:2001-04-06 16:42
As you said , Maybe this is a way to exchange data between drivers. Now ,the other way. I want to exchange data between two processes of the same driver copy . Have you used context to exchange data?
Thanks! [lxf 编辑于 2001-04-06 16:47] |
|
|
6楼#
发布于:2001-04-07 20:32
Sorry. I've never done it. In Ring3, we can use file mapping to implement it - I just finished a program with this tech. In Ring0, I don't know if there is a same way to do this.
|
|
|
7楼#
发布于:2002-05-14 09:14
1. 用IoCreateSymbolicLink为创建驱动程序创建一个符号连接
2. 在需要与之通讯的驱动程序中用IoCreateFile打开这个符号链接 3. 用IoCallDriver实现两个驱动程序之间的通讯 [编辑 - 5/14/02 by archim] |
|
|
8楼#
发布于:2002-05-14 10:17
你可以创建一个命名设备啊!然后在另外的驱动程序里面获得这个设备对象,之后就可以相互通信了啊!
|
|