ReactOS 0.4.16-dev-122-g325d74c
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
24typedef struct
25{
26 int idIcon;
27 int idName;
28 int idDescription;
29 APPLET_PROC AppletProc;
31
32extern HINSTANCE hApplet;
34
35#define MAX_POWER_PAGES 32
36
41
42#endif /* _POWERCFG_H */
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
LONG(APIENTRY * APPLET_PROC)(HWND, UINT, LPARAM, LPARAM)
Definition: cpl.h:23
#define CALLBACK
Definition: compat.h:35
unsigned int UINT
Definition: ndis.h:50
INT_PTR CALLBACK PowerSchemesDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: powershemes.c:825
GLOBAL_POWER_POLICY gGPP
Definition: powercfg.c:23
struct APPLET * PAPPLET
INT_PTR CALLBACK AlarmsDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: alarms.c:167
INT_PTR CALLBACK AdvancedDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: advanced.c:225
INT_PTR CALLBACK HibernateDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: hibernate.c:90
HINSTANCE hApplet
Definition: access.c:17
Definition: hotplug.h:34
int32_t INT_PTR
Definition: typedefs.h:64
LONG_PTR LPARAM
Definition: windef.h:208
UINT_PTR WPARAM
Definition: windef.h:207