Hi! I've tried http://www.codepedia.com/1/CMOS%5FC , but I got Privileged instruction exception, I guess the reason is I was in user mode (ring-3) and this operation requires ring-0. So, do you know any ways I can solve it?
I read that I could write driver using Windows Driver Foundation or try to use WinAPI.