Windows Driver - Mapping Windows API functions to Device Driver function.
-
Hi all, First all, I am a newbie for Windows Driver programming using C/C++. Now what I need to step by step to learn and understanding it clearly. I have try to read so much, big question is: what I am not clear are as belows: - The driver must provide the standard names of function that can make Windows can map system API to this function. - So it contact the hardware provider and Microsoft to create the final device? (Because Microsoft have to map their API function to Driver function that is provided by em. Thank you in advanced and so much and please answer me ASAP. TPN C/C++ Developer
-
Hi all, First all, I am a newbie for Windows Driver programming using C/C++. Now what I need to step by step to learn and understanding it clearly. I have try to read so much, big question is: what I am not clear are as belows: - The driver must provide the standard names of function that can make Windows can map system API to this function. - So it contact the hardware provider and Microsoft to create the final device? (Because Microsoft have to map their API function to Driver function that is provided by em. Thank you in advanced and so much and please answer me ASAP. TPN C/C++ Developer
Driver development is too much different of what you are used to do in C/C++ development user mode, you don't have right the vocabulary to understand even if I reply. Buy and read Windows Internals by Mark Russinovich 1[^] and 2[^]. (These books are one of the best investment I ever made) It will not show you the code, but is the necessary bridge before starting to read book and resources about driver development. In a very high lever yes, Windows API you are using in user land call functions in the driver, but the mapping is not as simple as a "override" in C++.