Google is your friend to get you started to learn the basics. Learn the basics and create toy applications to learn each of the tools, classes, structures ...or whatever the technology provides...Next step is to mimic the existing drivers ...Once you are capable of it, then you are done...
How to write device drivers for windows[
^]
If you face any specific problems , then post it to codeproject with sufficient information and error message of the issue along with the code snippet. We will be glad to help you