Hi all,

I���ve been looking at possibly submitting some patches for powrprof.dll and had a couple of questions/looking for guidance about some issues.

Namely:

1) Default power profiles are stored in the registry under HKLM\System\CurrentControlSet\Control\Power.  The subtree is pretty huge (about a 1.5m .reg file when I exported it.

The GUIDs used appear to be the same from machine to machine for the default power stuff.

Is there a way when Wine bootstraps to load these ?

If the answer is no, is hardcoding permitted?

2) According to https://learn.microsoft.com/en-us/windows/win32/power/power-management-functions, the functions implemented are for Vista and earlier.  Can I (initially) stub the newer functions?

3) In the cases where the functions are trying to set values, can I just simply return success since we aren���t going to actually change the values on the host?  They���re probably doing other things under the covers, but it would take me some investigation to see what.

Thanks,
Rob