如何从驱动程序启动程序? [英] how to start program from driver?

查看:228
本文介绍了如何从驱动程序启动程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.
首先对不起我的英语不好.
第二,我是驱动程序编程的新手,我想问一下我是否可以从内核模式启动exe程序[用户模式应用程序],它将在用户模式下运行吗?
我只想从内核模式执行某些操作,就像当我按下exe程序以在用户模式下启动时一样.
非常感谢.

hi all.
first sorry for my bad English .
second i am new in driver programming and i want to ask about can i start exe program [user mode application ] from kernel mode and it will run in user mode ?
all i want just to do some thing from kernel mode just like that when i press double click on the exe program to start in user mode.
thanks alot.

推荐答案

您不知道.驱动程序在内核中运行,根本没有连接到用户会话.
You don''t. Drivers run in the kernel and are not connected to the user session at all.


驱动程序运行OS的进程空间,因此它们仅与*记录的用户模式应用程序未连接.与用户模式进行通信的方式是通过IRPS. (使用读取,写入,创建,iodevicecontrol等功能.)


也因为我不认为您有这个概念,但驱动程序没有窗口或按钮或任何类型的GUI,(不包括显示驱动程序,但它们本身也没有GUI)

远程与GUI唯一相似的是驱动程序是NDIS驱动程序(网络驱动程序)的属性页.

PLS读取WDDK !!!
Drivers run the process space of the OS as such they are not connected with user mode applications the only *documented* way to communicate with user mode is through IRPS. (using read,write,create, iodevicecontrol etc.. functions)


also as i don''t think you got the concept yet drivers don''t have a window or buttons or any sort of GUI, (excluding display drivers but again they don''t have a GUI per se)

the only thing remotely similar to a GUI is for drivers is the property pages for NDIS Drivers (Network Drivers).

PLS read the WDDK !!!


这篇关于如何从驱动程序启动程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆