POWRPROF.DLL and user's power scheme settings API

I needed to turn off AC/docked mode hibernation for laptops without
bothering users to touch Control Panel’s power button and leaving
all other customized settings in place. I made it possible by calling
undocumented API from POWRPROF.DLL, because propagating registry
settings for user didn’t help much. HKLM part of power scheme is a
compillation of HKCU power scheme values, and the translation of
one to another is not trivial. I used disassembler (IDA) and debugger
(SoftICE) to reverse.

Is there anyone who can share the knowledge about buffer structure,
I can share what I know, so to see that it’s the same.

thanks a lot!

Adel.


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com