I've an existing kernel mode driver. I want to count the number of times it is being loaded and save it some where in the registry.
I've already read many pages from the DDK's help about using ZwXXX and RtlXXX functions, but as my background knowledge is very poor about kernel mode drivers, and I need to do this as soon as possible, I need two things:
1) A piece of code to help me solve this problem.
2) A good book to start learning about kernel mode drivers. (Assume that I know nothing!)
Any help would be highly appreciated.k