2014-02-05 18:17:27 +00:00
|
|
|
#ifndef _POWERCFG_H
|
|
|
|
#define _POWERCFG_H
|
|
|
|
|
2014-01-19 10:37:02 +00:00
|
|
|
#include <stdarg.h>
|
|
|
|
|
2013-01-24 23:00:42 +00:00
|
|
|
#define _INC_WINDOWS
|
|
|
|
#define COM_NO_WINDOWS_H
|
2014-01-19 10:37:02 +00:00
|
|
|
|
|
|
|
#include <ntstatus.h>
|
|
|
|
#define WIN32_NO_STATUS
|
2013-01-24 23:00:42 +00:00
|
|
|
#include <windef.h>
|
|
|
|
#include <winbase.h>
|
2016-09-29 20:54:58 +00:00
|
|
|
#include <winreg.h>
|
2011-07-28 15:00:43 +00:00
|
|
|
#include <cpl.h>
|
|
|
|
#include <tchar.h>
|
|
|
|
#include <shlobj.h>
|
2016-09-29 20:54:58 +00:00
|
|
|
#include <shlwapi.h>
|
2013-01-24 23:00:42 +00:00
|
|
|
#include <powrprof.h>
|
2019-04-20 20:48:38 +00:00
|
|
|
#include <ndk/rtlfuncs.h>
|
2019-04-26 21:12:36 +00:00
|
|
|
#include <strsafe.h>
|
2006-06-15 14:16:29 +00:00
|
|
|
|
2011-07-28 15:00:43 +00:00
|
|
|
#include "resource.h"
|
2006-06-15 14:16:29 +00:00
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
int idIcon;
|
|
|
|
int idName;
|
|
|
|
int idDescription;
|
|
|
|
APPLET_PROC AppletProc;
|
|
|
|
} APPLET, *PAPPLET;
|
|
|
|
|
|
|
|
extern HINSTANCE hApplet;
|
|
|
|
extern GLOBAL_POWER_POLICY gGPP;
|
|
|
|
|
2007-09-22 18:48:02 +00:00
|
|
|
#define MAX_POWER_PAGES 32
|
|
|
|
|
2007-12-02 14:25:17 +00:00
|
|
|
INT_PTR CALLBACK PowerSchemesDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
|
|
INT_PTR CALLBACK AlarmsDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
|
|
INT_PTR CALLBACK AdvancedDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
|
|
INT_PTR CALLBACK HibernateDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
|
|
|
2014-02-05 18:17:27 +00:00
|
|
|
#endif /* _POWERCFG_H */
|