[CPLS]
[reactos.git] / reactos / 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 <cpl.h>
14 #include <tchar.h>
15 #include <shlobj.h>
16 #include <powrprof.h>
17
18 #include "resource.h"
19
20 typedef struct
21 {
22 int idIcon;
23 int idName;
24 int idDescription;
25 APPLET_PROC AppletProc;
26 } APPLET, *PAPPLET;
27
28 extern HINSTANCE hApplet;
29 extern GLOBAL_POWER_POLICY gGPP;
30 extern POWER_POLICY gPP[];
31 extern UINT guiIndex;
32
33 #define MAX_POWER_PAGES 32
34
35 INT_PTR CALLBACK PowerSchemesDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
36 INT_PTR CALLBACK AlarmsDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
37 INT_PTR CALLBACK AdvancedDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
38 INT_PTR CALLBACK HibernateDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
39
40 #endif /* _POWERCFG_H */