* Slap *some* sense into our header inclusions.
[reactos.git] / reactos / dll / cpl / powercfg / powercfg.h
1 #include <ntstatus.h>
2 #define WIN32_NO_STATUS
3 #define _INC_WINDOWS
4 #define COM_NO_WINDOWS_H
5 #include <stdarg.h>
6 #include <windef.h>
7 #include <winbase.h>
8 #include <winreg.h>
9 #include <cpl.h>
10 #include <tchar.h>
11 #include <shlobj.h>
12 #include <regstr.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 */