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