- Merge from trunk up to r45543
[reactos.git] / dll / cpl / powercfg / powercfg.h
1 #ifndef POWERCFG_H
2 #define POWERCFG_H
3
4 #include "powrprof.h"
5
6 typedef struct
7 {
8 int idIcon;
9 int idName;
10 int idDescription;
11 APPLET_PROC AppletProc;
12 } APPLET, *PAPPLET;
13
14 extern HINSTANCE hApplet;
15 extern GLOBAL_POWER_POLICY gGPP;
16 extern POWER_POLICY gPP[];
17 extern UINT guiIndex;
18
19 #define MAX_POWER_PAGES 32
20
21 INT_PTR CALLBACK PowerSchemesDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
22 INT_PTR CALLBACK AlarmsDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
23 INT_PTR CALLBACK AdvancedDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
24 INT_PTR CALLBACK HibernateDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
25
26 #endif /* __CPL_SAMPLE_H */
27
28 /* EOF */