29011c67afe0ac7b533cb791ff1f8ecbd31e188f
[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 #include <ndk/rtlfuncs.h>
20
21 #include "resource.h"
22
23 typedef struct
24 {
25 int idIcon;
26 int idName;
27 int idDescription;
28 APPLET_PROC AppletProc;
29 } APPLET, *PAPPLET;
30
31 extern HINSTANCE hApplet;
32 extern GLOBAL_POWER_POLICY gGPP;
33 extern POWER_POLICY gPP[];
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 */