[ACPPAGE] Make use of the PCH.
[reactos.git] / dll / cpl / powercfg / powercfg.h
1 #ifndef _POWERCFG_H
2 #define _POWERCFG_H
3
4 #include <stdarg.h>
5
6 #define _INC_WINDOWS
7 #define COM_NO_WINDOWS_H
8
9 #include <ntstatus.h>
10 #define WIN32_NO_STATUS
11 #include <windef.h>
12 #include <winbase.h>
13 #include <winreg.h>
14 #include <cpl.h>
15 #include <tchar.h>
16 #include <shlobj.h>
17 #include <shlwapi.h>
18 #include <powrprof.h>
19
20 #include "resource.h"
21
22 typedef struct
23 {
24 int idIcon;
25 int idName;
26 int idDescription;
27 APPLET_PROC AppletProc;
28 } APPLET, *PAPPLET;
29
30 extern HINSTANCE hApplet;
31 extern GLOBAL_POWER_POLICY gGPP;
32 extern POWER_POLICY gPP[];
33 extern UINT guiIndex;
34
35 #define MAX_POWER_PAGES 32
36
37 INT_PTR CALLBACK PowerSchemesDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
38 INT_PTR CALLBACK AlarmsDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
39 INT_PTR CALLBACK AdvancedDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
40 INT_PTR CALLBACK HibernateDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
41
42 #endif /* _POWERCFG_H */