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