ReactOS  0.4.14-dev-384-g5b37caa
powercfg.h
Go to the documentation of this file.
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 #include <strsafe.h>
21 
22 #include "resource.h"
23 
24 typedef struct
25 {
26  int idIcon;
27  int idName;
28  int idDescription;
29  APPLET_PROC AppletProc;
30 } APPLET, *PAPPLET;
31 
32 extern HINSTANCE hApplet;
34 extern POWER_POLICY gPP[];
35 
36 #define MAX_POWER_PAGES 32
37 
42 
43 #endif /* _POWERCFG_H */
INT_PTR CALLBACK HibernateDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: hibernate.c:83
struct APPLET * PAPPLET
LONG(APIENTRY * APPLET_PROC)(HWND, UINT, LPARAM, LPARAM)
Definition: cpl.h:23
#define CALLBACK
Definition: compat.h:27
UINT_PTR WPARAM
Definition: windef.h:207
int32_t INT_PTR
Definition: typedefs.h:62
GLOBAL_POWER_POLICY gGPP
Definition: powercfg.c:23
POWER_POLICY gPP[]
WPARAM wParam
Definition: combotst.c:138
LONG_PTR LPARAM
Definition: windef.h:208
INT_PTR CALLBACK AdvancedDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: advanced.c:225
INT_PTR CALLBACK PowerSchemesDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: powershemes.c:808
INT_PTR CALLBACK AlarmsDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: alarms.c:167
unsigned int UINT
Definition: ndis.h:50
struct _APPLET APPLET
LPARAM lParam
Definition: combotst.c:139
HINSTANCE hApplet
Definition: access.c:17