|
ReactOS 0.4.16-dev-1948-gd260c1d
|
#include <ntsecapi.h>

Go to the source code of this file.
Classes | |
| struct | _GLOBAL_MACHINE_POWER_POLICY |
| struct | _GLOBAL_USER_POWER_POLICY |
| struct | _GLOBAL_POWER_POLICY |
| struct | _MACHINE_POWER_POLICY |
| struct | _MACHINE_PROCESSOR_POWER_POLICY |
| struct | _USER_POWER_POLICY |
| struct | _POWER_POLICY |
Macros | |
| #define | EnableSysTrayBatteryMeter 0x01 |
| #define | EnableMultiBatteryDisplay 0x02 |
| #define | EnablePasswordLogon 0x04 |
| #define | EnableWakeOnRing 0x08 |
| #define | EnableVideoDimDisplay 0x10 |
| #define EnableMultiBatteryDisplay 0x02 |
Definition at line 33 of file powrprof.h.
| #define EnablePasswordLogon 0x04 |
Definition at line 34 of file powrprof.h.
| #define EnableSysTrayBatteryMeter 0x01 |
Definition at line 32 of file powrprof.h.
| #define EnableVideoDimDisplay 0x10 |
Definition at line 36 of file powrprof.h.
| #define EnableWakeOnRing 0x08 |
Definition at line 35 of file powrprof.h.
| typedef PVOID HPOWERNOTIFY |
Definition at line 154 of file powrprof.h.
| typedef struct _GLOBAL_POWER_POLICY * PGLOBAL_POWER_POLICY |
| typedef PVOID * PHPOWERNOTIFY |
Definition at line 154 of file powrprof.h.
| typedef struct _MACHINE_POWER_POLICY * PMACHINE_POWER_POLICY |
| typedef struct _POWER_POLICY POWER_POLICY |
| typedef enum _POWER_DATA_ACCESSOR * PPOWER_DATA_ACCESSOR |
| typedef struct _POWER_POLICY * PPOWER_POLICY |
| typedef struct _USER_POWER_POLICY * PUSER_POWER_POLICY |
| typedef BOOLEAN(CALLBACK * PWRSCHEMESENUMPROC) (UINT, DWORD, LPWSTR, DWORD, LPWSTR, PPOWER_POLICY, LPARAM) |
Definition at line 153 of file powrprof.h.
Definition at line 122 of file powrprof.h.
| NTSTATUS WINAPI CallNtPowerInformation | ( | POWER_INFORMATION_LEVEL | InformationLevel, |
| PVOID | lpInputBuffer, | ||
| ULONG | nInputBufferSize, | ||
| PVOID | lpOutputBuffer, | ||
| ULONG | nOutputBufferSize | ||
| ) |
Definition at line 283 of file powrprof.c.
Referenced by Hib_InitDialog(), Hib_SaveData(), IsBatteryUsed(), ProcessorDlgProc(), SetProcSpeed(), and test_CallNtPowerInformation().
Definition at line 303 of file powrprof.c.
Referenced by CreateEnergyList(), and test_CanUserWritePwrScheme().
Definition at line 323 of file powrprof.c.
Referenced by DelScheme(), and test_DeletePwrScheme().
| BOOLEAN WINAPI EnumPwrSchemes | ( | PWRSCHEMESENUMPROC | lpfnPwrSchemesEnumProc, |
| LPARAM | lParam | ||
| ) |
Definition at line 443 of file powrprof.c.
Referenced by BuildSchemesList(), ShowPowerSchemesPopupMenu(), and test_EnumPwrSchemes().
Definition at line 509 of file powrprof.c.
Referenced by CreateEnergyList(), DeletePwrScheme(), GetCurrentPowerPolicies(), ShowPowerSchemesPopupMenu(), test_DeletePwrScheme(), test_GetCurrentPowerPolicies(), and test_GetSetActivePwrScheme().
| BOOLEAN WINAPI GetCurrentPowerPolicies | ( | PGLOBAL_POWER_POLICY | pGlobalPowerPolicy, |
| PPOWER_POLICY | pPowerPolicy | ||
| ) |
Definition at line 545 of file powrprof.c.
Referenced by test_GetCurrentPowerPolicies(), test_ValidatePowerPolicies(), and test_ValidatePowerPolicies_Old().
| BOOLEAN WINAPI GetPwrCapabilities | ( | PSYSTEM_POWER_CAPABILITIES | lpSystemPowerCapabilities | ) |
Definition at line 582 of file powrprof.c.
Referenced by Adv_InitDialog(), Applet(), CreateEnergyList(), Hib_InitDialog(), Pos_InitData(), and test_GetPwrCapabilities().
Definition at line 605 of file powrprof.c.
Referenced by test_GetPwrDiskSpindownRange().
| BOOLEAN WINAPI IsAdminOverrideActive | ( | PADMINISTRATOR_POWER_POLICY | p | ) |
Definition at line 675 of file powrprof.c.
Referenced by ExitWindowsDialog(), and wmain().
Definition at line 694 of file powrprof.c.
Definition at line 713 of file powrprof.c.
Referenced by ExitWindowsDialog(), and IsSuspendAllowed().
| POWER_PLATFORM_ROLE WINAPI PowerDeterminePlatformRole | ( | void | ) |
Definition at line 761 of file powrprof.c.
| DWORD WINAPI PowerEnumerate | ( | HKEY | key, |
| const GUID * | scheme, | ||
| const GUID * | subgroup, | ||
| POWER_DATA_ACCESSOR | flags, | ||
| ULONG | index, | ||
| UCHAR * | buffer, | ||
| DWORD * | buffer_size | ||
| ) |
Definition at line 773 of file powrprof.c.
| DWORD WINAPI PowerRegisterSuspendResumeNotification | ( | DWORD | flags, |
| HANDLE | recipient, | ||
| PHPOWERNOTIFY | handle | ||
| ) |
Definition at line 781 of file powrprof.c.
| DWORD WINAPI PowerSettingRegisterNotification | ( | const GUID * | setting, |
| DWORD | flags, | ||
| HANDLE | recipient, | ||
| PHPOWERNOTIFY | handle | ||
| ) |
Definition at line 794 of file powrprof.c.
| DWORD WINAPI PowerSettingUnregisterNotification | ( | HPOWERNOTIFY | handle | ) |
Definition at line 801 of file powrprof.c.
| DWORD WINAPI PowerUnregisterSuspendResumeNotification | ( | HPOWERNOTIFY | handle | ) |
Definition at line 788 of file powrprof.c.
| DWORD WINAPI PowerWriteACValueIndex | ( | HKEY | key, |
| const GUID * | scheme, | ||
| const GUID * | subgroup, | ||
| const GUID * | setting, | ||
| DWORD | index | ||
| ) |
Definition at line 807 of file powrprof.c.
| BOOLEAN WINAPI ReadGlobalPwrPolicy | ( | PGLOBAL_POWER_POLICY | pGlobalPowerPolicy | ) |
Definition at line 857 of file powrprof.c.
Referenced by Adv_InitDialog(), Ala_InitData(), CreateEnergyList(), GetCurrentPowerPolicies(), and test_ReadGlobalPwrPolicy().
| BOOLEAN WINAPI ReadProcessorPwrScheme | ( | UINT | uiID, |
| PMACHINE_PROCESSOR_POWER_POLICY | pMachineProcessorPowerPolicy | ||
| ) |
Definition at line 920 of file powrprof.c.
Referenced by ReadProcessorPwrScheme(), and test_ReadProcessorPwrScheme().
| BOOLEAN WINAPI ReadPwrScheme | ( | UINT | uiID, |
| PPOWER_POLICY | pPowerPolicy | ||
| ) |
Definition at line 946 of file powrprof.c.
Referenced by CreateEnergyList(), GetCurrentPowerPolicies(), SetActivePwrScheme(), and test_ReadPwrScheme().
| BOOLEAN WINAPI SetActivePwrScheme | ( | UINT | uiID, |
| PGLOBAL_POWER_POLICY | lpGlobalPowerPolicy, | ||
| PPOWER_POLICY | lpPowerPolicy | ||
| ) |
Definition at line 978 of file powrprof.c.
Referenced by Pos_SaveData(), ShowPowerSchemesPopupMenu(), test_GetCurrentPowerPolicies(), and test_GetSetActivePwrScheme().
| BOOLEAN WINAPI SetSuspendState | ( | BOOLEAN | Hibernate, |
| BOOLEAN | ForceCritical, | ||
| BOOLEAN | DisableWakeEvent | ||
| ) |
Definition at line 1017 of file powrprof.c.
Referenced by ExitWindowsDialog(), and wmain().
| BOOLEAN WINAPI ValidatePowerPolicies | ( | PGLOBAL_POWER_POLICY | pGPP, |
| PPOWER_POLICY | pPP | ||
| ) |
Definition at line 1187 of file powrprof.c.
Referenced by CreateEnergyList(), EnumPowerSchemeCallback(), SetActivePwrScheme(), test_ValidatePowerPolicies(), test_ValidatePowerPolicies_Next(), and test_ValidatePowerPolicies_Old().
| BOOLEAN WINAPI WriteGlobalPwrPolicy | ( | PGLOBAL_POWER_POLICY | pGlobalPowerPolicy | ) |
Definition at line 1026 of file powrprof.c.
Referenced by Adv_SaveData(), and SetActivePwrScheme().
| BOOLEAN WINAPI WriteProcessorPwrScheme | ( | UINT | ID, |
| PMACHINE_PROCESSOR_POWER_POLICY | pMachineProcessorPowerPolicy | ||
| ) |
Definition at line 1068 of file powrprof.c.
| BOOLEAN WINAPI WritePwrScheme | ( | PUINT | puiID, |
| LPWSTR | lpszName, | ||
| LPWSTR | lpszDescription, | ||
| PPOWER_POLICY | pPowerPolicy | ||
| ) |
Definition at line 1102 of file powrprof.c.
Referenced by SavePowerScheme(), and test_WritePwrScheme().