Alfred Agrell (@Alcaro) commented about dlls/powrprof/powrprof.c:
static const WCHAR szPowerCfgSubKey[] = L"Software\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg"; static HANDLE PPRegSemaphore = NULL;
+/* Hacks to get and set power schemes
- These should really be stored in the registry */
+typedef struct {
- const GUID *const guid;
- const WCHAR *const name;
I don't think those right-hand consts do anything useful.