#include <stdarg.h>
#include <ntstatus.h>
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <cpl.h>
#include <tchar.h>
#include <shlobj.h>
#include <shlwapi.h>
#include <powrprof.h>
#include <ndk/rtlfuncs.h>
#include <strsafe.h>
#include "resource.h"
Go to the source code of this file.
|
INT_PTR CALLBACK | PowerSchemesDlgProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) |
|
INT_PTR CALLBACK | AlarmsDlgProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) |
|
INT_PTR CALLBACK | AdvancedDlgProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) |
|
INT_PTR CALLBACK | HibernateDlgProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) |
|
◆ _INC_WINDOWS
◆ COM_NO_WINDOWS_H
◆ MAX_POWER_PAGES
◆ WIN32_NO_STATUS
◆ PAPPLET
◆ AdvancedDlgProc()
Definition at line 225 of file advanced.c.
230{
232
234
235 switch (uMsg)
236 {
240 {
244 }
246
249 {
252 break;
253 }
254 break;
255
258 {
261 }
262 break;
263
266 break;
267
270 {
273 }
274 break;
275 }
276
278}
struct _ADVANCED_DATA * PADVANCED_DATA
static VOID OnHScroll(HWND hwndDlg, PADVANCED_DATA pData, DWORD dwCtrlID)
static VOID OnInitDialog(HWND hwndDlg, PADVANCED_DATA pData)
#define HeapFree(x, y, z)
struct _ADVANCED_CONTEXT * PADVANCED_CONTEXT
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
int WINAPI GetDlgCtrlID(_In_ HWND)
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)
◆ AlarmsDlgProc()
Definition at line 167 of file alarms.c.
171{
174
175 switch (uMsg)
176 {
179 {
180
181
182 }
184
185 default:
186 break;
187 }
188
190}
static BOOLEAN Ala_InitData(HWND hwndDlg)
#define UNREFERENCED_PARAMETER(P)
Referenced by Applet1().
◆ HibernateDlgProc()
Definition at line 90 of file hibernate.c.
94{
95 switch (uMsg)
96 {
100
103 {
106 {
108 }
109 break;
110 }
111 break;
112
115 {
117 }
118 break;
119 }
120
122}
#define IDC_HIBERNATEFILE
INT_PTR Hib_SaveData(HWND hwndDlg)
static VOID Hib_InitDialog(HWND hwndDlg)
#define PropSheet_Changed(d, w)
HWND WINAPI GetParent(_In_ HWND)
Referenced by Applet1().
◆ PowerSchemesDlgProc()
Definition at line 825 of file powershemes.c.
830{
832
834
835 switch (uMsg)
836 {
842
844
846 {
847
848
849
851 }
852
854 {
855
856
857
859 }
861
863 if (pPageData)
864 {
868 }
869 break;
870
873 {
876 {
879 }
880 break;
881
884 break;
885
888 break;
889
899 {
901 }
902 break;
903 }
904 break;
905
908 {
912
916 }
917 break;
918 }
919
921}
#define IDC_MONITORDCLIST
#define IDC_STANDBYACLIST
#define IDC_MONITORACLIST
#define IDC_HIBERNATEACLIST
#define IDC_STANDBYDCLIST
#define IDC_HIBERNATEDCLIST
static VOID Pos_SaveData(HWND hwndDlg, PPOWER_SCHEMES_PAGE_DATA pPageData)
static BOOL CreateEnergyList(HWND hwndDlg, PPOWER_SCHEMES_PAGE_DATA pPageData)
BOOLEAN Pos_InitData(HWND hwndDlg)
static VOID LoadConfig(HWND hwndDlg, PPOWER_SCHEMES_PAGE_DATA pPageData, PPOWER_SCHEME pScheme)
static BOOL DelScheme(HWND hwnd, PPOWER_SCHEMES_PAGE_DATA pPageData)
struct _POWER_SCHEMES_PAGE_DATA POWER_SCHEMES_PAGE_DATA
struct _POWER_SCHEMES_PAGE_DATA * PPOWER_SCHEMES_PAGE_DATA
static VOID BuildSchemesList(PPOWER_SCHEMES_PAGE_DATA pPageData)
static VOID DestroySchemesList(PPOWER_SCHEMES_PAGE_DATA pPageData)
static VOID SaveScheme(HWND hwndDlg, PPOWER_SCHEMES_PAGE_DATA pPageData)
Referenced by Applet1().
◆ gGPP
◆ hApplet