ReactOS 0.4.16-dev-747-gbc52d5f
|
#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 59 of file powrprof.c.
Referenced by Hib_InitDialog(), Hib_SaveData(), IsBatteryUsed(), ProcessorDlgProc(), SetProcSpeed(), and test_CallNtPowerInformation().
Definition at line 79 of file powrprof.c.
Referenced by CreateEnergyList(), and test_CanUserWritePwrScheme().
Definition at line 99 of file powrprof.c.
Referenced by DelScheme(), and test_DeletePwrScheme().
BOOLEAN WINAPI EnumPwrSchemes | ( | PWRSCHEMESENUMPROC | lpfnPwrSchemesEnumProc, |
LPARAM | lParam | ||
) |
Definition at line 219 of file powrprof.c.
Referenced by BuildSchemesList(), ShowPowerSchemesPopupMenu(), and test_EnumPwrSchemes().
Definition at line 285 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 321 of file powrprof.c.
Referenced by test_GetCurrentPowerPolicies(), test_ValidatePowerPolicies(), and test_ValidatePowerPolicies_Old().
BOOLEAN WINAPI GetPwrCapabilities | ( | PSYSTEM_POWER_CAPABILITIES | lpSystemPowerCapabilities | ) |
Definition at line 358 of file powrprof.c.
Referenced by Adv_InitDialog(), Applet1(), CreateEnergyList(), Hib_InitDialog(), Pos_InitData(), and test_GetPwrCapabilities().
Definition at line 381 of file powrprof.c.
Referenced by test_GetPwrDiskSpindownRange().
BOOLEAN WINAPI IsAdminOverrideActive | ( | PADMINISTRATOR_POWER_POLICY | p | ) |
Definition at line 450 of file powrprof.c.
Referenced by ExitWindowsDialog(), GetAllowedShutdownOptions(), and wmain().
Definition at line 469 of file powrprof.c.
Definition at line 488 of file powrprof.c.
Referenced by ExitWindowsDialog(), GetAllowedShutdownOptions(), IsSuspendAllowed(), and ShutdownOnFriendlyInit().
POWER_PLATFORM_ROLE WINAPI PowerDeterminePlatformRole | ( | void | ) |
Definition at line 534 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 546 of file powrprof.c.
DWORD WINAPI PowerRegisterSuspendResumeNotification | ( | DWORD | flags, |
HANDLE | recipient, | ||
PHPOWERNOTIFY | handle | ||
) |
Definition at line 554 of file powrprof.c.
DWORD WINAPI PowerSettingRegisterNotification | ( | const GUID * | setting, |
DWORD | flags, | ||
HANDLE | recipient, | ||
PHPOWERNOTIFY | handle | ||
) |
Definition at line 567 of file powrprof.c.
DWORD WINAPI PowerSettingUnregisterNotification | ( | HPOWERNOTIFY | handle | ) |
Definition at line 574 of file powrprof.c.
DWORD WINAPI PowerUnregisterSuspendResumeNotification | ( | HPOWERNOTIFY | handle | ) |
Definition at line 561 of file powrprof.c.
DWORD WINAPI PowerWriteACValueIndex | ( | HKEY | key, |
const GUID * | scheme, | ||
const GUID * | subgroup, | ||
const GUID * | setting, | ||
DWORD | index | ||
) |
Definition at line 580 of file powrprof.c.
BOOLEAN WINAPI ReadGlobalPwrPolicy | ( | PGLOBAL_POWER_POLICY | pGlobalPowerPolicy | ) |
Definition at line 632 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 695 of file powrprof.c.
Referenced by ReadProcessorPwrScheme(), and test_ReadProcessorPwrScheme().
BOOLEAN WINAPI ReadPwrScheme | ( | UINT | uiID, |
PPOWER_POLICY | pPowerPolicy | ||
) |
Definition at line 721 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 753 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 792 of file powrprof.c.
Referenced by ExitWindowsDialog(), ShutdownDialogProc(), and wmain().
BOOLEAN WINAPI ValidatePowerPolicies | ( | PGLOBAL_POWER_POLICY | pGPP, |
PPOWER_POLICY | pPP | ||
) |
Definition at line 1128 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 801 of file powrprof.c.
Referenced by Adv_SaveData(), and SetActivePwrScheme().
BOOLEAN WINAPI WriteProcessorPwrScheme | ( | UINT | ID, |
PMACHINE_PROCESSOR_POWER_POLICY | pMachineProcessorPowerPolicy | ||
) |
Definition at line 843 of file powrprof.c.
BOOLEAN WINAPI WritePwrScheme | ( | PUINT | puiID, |
LPWSTR | lpszName, | ||
LPWSTR | lpszDescription, | ||
PPOWER_POLICY | pPowerPolicy | ||
) |
Definition at line 877 of file powrprof.c.
Referenced by SavePowerScheme(), and test_WritePwrScheme().