.
public static extern uint PowerReadPossibleValue(IntPtr RootPowerKey, IntPtr SubGroupOfPowerSettingGuid, IntPtr PowerSettingGuid, ref RegType Type, UInt32 PossibleSettingIndex, IntPtr Buffer, ref UInt32 BufferSize);
.
Declare Function PowerReadPossibleValue Lib "powrprof.dll" (TODO) As TODO
.