开发者

how can i make IOCTL calls in kernel mode (windows)

In user mode IOCTL calls can be made via DeviceIoControl function.

What can I use in kernel mode to issue IOCTL calls? I must use this inside a filesystem minifilter driver.

BACKGROUND

I am writing a filesystem minifilter driver,开发者_运维技巧 and I must issue IOCTL calls to storage devices to find out their serial number and capabilities (removable or not).


You can use FltDeviceIoControlFile or build and send IRP manually with IoBuildDeviceIoControlRequest and IoCallDriver.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜