c++ - Where can I find a minimalistic WDM driver template with source code in it? -
i came across kernel-mode drivers little experience. here's trying do:
- have user-mode application loads driver.
- have user-mode application write it, in order send instruction.
- have driver send rdmsr instruction intel chip.
- return results user-mode application.
i've read this article describes different ways in can accomplish behavior (buffered i/o, direct i/o, or neither).
my problem this...the article has code represents way structure wdm driver, , expecting able create , modify default wdm project template source code in using windows driver kit, when downloaded windows driver kit (wdk), wdm driver template blank , did not have source code.
where can find example of minimalistic wdm driver template source code in uses iocreatedevice create device object?
i found here. part of windows driver kit 8.1 samples, glorious ioctl driver sample
demonstrates usage of 4 different types of ioctls (method_in_direct, method_out_direct, method_neither, , method_buffered)
furthermore,
this sample driver not plug , play driver. minimal driver meant demonstrate feature of operating system. neither driver nor sample programs intended use in production environment. instead, intended educational purposes , skeleton driver.
Comments
Post a Comment