您的位置:首页 > 其它

Call KernelIoControl in user space in WINCE6.0

2010-07-06 18:30 357 查看
WINCE6.0 is very different with the old versions. It more likes a desktop OS.
Drivers are running in kernel mode, programs run in user mode.
And many functions maybe just only be used in driversno longer can called in user mode,
for example, InterruptInitialize.
User mode codes can't access a virtual address directly.
Some functions are different in user mode and kernel mode. for example:

KernelIoControl, in kernel mode, it's linked to KernelIoctl, while in user mode it's EXTKernelIoctl.
And KernelIoControl in user mode only support a few IOCTLs, to support more IOCTLs, we must modify
the codes at: public\common\oak\oalioctl

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: