Click to See Complete Forum and Search --> : callNTpowerinformation


faezbhanji
July 1st, 2007, 11:55 PM
callNTpowerinformation
--------------------------------------------------------------------------------

I'm trying to implement the SYSTEM_POWER_POLICY structure in C#, but its a structure containing other structures and I'm not sure how to do it. I need to use the callntpowerinformation function in powrprof.dll

here's the definition for it

http://msdn2.microsoft.com/en-us/library/aa373225.aspx

jusstujoo
July 3rd, 2007, 08:02 AM
Did you look at http://www.aejw.com/default.aspx?codeviewer&file=cPower.cs&ret=dev/cpower