Vanara.PInvoke.PowrProf PInvoke API (methods, structures and constants) imported from Windows PowrProf.dll. Includes methods from powrprof.dll Current NuGet release: Dependencies Vanara.PInvoke.Kernel32 Methods - 100% API coverage (80 of 80 functions) Native Method Header Managed Method CallNtPowerInformation powerbase.h Vanara.PInvoke.PowrProf.CallNtPowerInformation CanUserWritePwrScheme powrprof.h Vanara.PInvoke.PowrProf.CanUserWritePwrScheme DeletePwrScheme powrprof.h Vanara.PInvoke.PowrProf.DeletePwrScheme DevicePowerClose powrprof.h Vanara.PInvoke.PowrProf.DevicePowerClose DevicePowerEnumDevices powrprof.h Vanara.PInvoke.PowrProf.DevicePowerEnumDevices DevicePowerOpen powrprof.h Vanara.PInvoke.PowrProf.DevicePowerOpen DevicePowerSetDeviceState powrprof.h Vanara.PInvoke.PowrProf.DevicePowerSetDeviceState EnumPwrSchemes powrprof.h Vanara.PInvoke.PowrProf.EnumPwrSchemes GetActivePwrScheme powrprof.h Vanara.PInvoke.PowrProf.GetActivePwrScheme GetCurrentPowerPolicies powrprof.h Vanara.PInvoke.PowrProf.GetCurrentPowerPolicies GetPwrCapabilities powerbase.h Vanara.PInvoke.PowrProf.GetPwrCapabilities GetPwrDiskSpindownRange powrprof.h Vanara.PInvoke.PowrProf.GetPwrDiskSpindownRange IsPwrHibernateAllowed powrprof.h Vanara.PInvoke.PowrProf.IsPwrHibernateAllowed IsPwrShutdownAllowed powrprof.h Vanara.PInvoke.PowrProf.IsPwrShutdownAllowed IsPwrSuspendAllowed powrprof.h Vanara.PInvoke.PowrProf.IsPwrSuspendAllowed PowerCanRestoreIndividualDefaultPowerScheme powrprof.h Vanara.PInvoke.PowrProf.PowerCanRestoreIndividualDefaultPowerScheme PowerCreatePossibleSetting powrprof.h Vanara.PInvoke.PowrProf.PowerCreatePossibleSetting PowerCreateSetting powrprof.h Vanara.PInvoke.PowrProf.PowerCreateSetting PowerDeleteScheme powrprof.h Vanara.PInvoke.PowrProf.PowerDeleteScheme PowerDeterminePlatformRole powrprof.h Vanara.PInvoke.PowrProf.PowerDeterminePlatformRole PowerDeterminePlatformRoleEx powerbase.h Vanara.PInvoke.PowrProf.PowerDeterminePlatformRoleEx PowerDuplicateScheme powrprof.h Vanara.PInvoke.PowrProf.PowerDuplicateScheme PowerEnumerate powrprof.h Vanara.PInvoke.PowrProf.PowerEnumerate PowerGetActiveScheme powersetting.h Vanara.PInvoke.PowrProf.PowerGetActiveScheme PowerImportPowerScheme powrprof.h Vanara.PInvoke.PowrProf.PowerImportPowerScheme PowerIsSettingRangeDefined powrprof.h Vanara.PInvoke.PowrProf.PowerIsSettingRangeDefined PowerReadACDefaultIndex PowrProf.h Vanara.PInvoke.PowrProf.PowerReadACDefaultIndex PowerReadACValue powersetting.h Vanara.PInvoke.PowrProf.PowerReadACValue PowerReadACValueIndex powrprof.h Vanara.PInvoke.PowrProf.PowerReadACValueIndex PowerReadDCDefaultIndex PowrProf.h Vanara.PInvoke.PowrProf.PowerReadDCDefaultIndex PowerReadDCValue powersetting.h Vanara.PInvoke.PowrProf.PowerReadDCValue PowerReadDCValueIndex powrprof.h Vanara.PInvoke.PowrProf.PowerReadDCValueIndex PowerReadDescription powrprof.h Vanara.PInvoke.PowrProf.PowerReadDescription PowerReadFriendlyName powrprof.h Vanara.PInvoke.PowrProf.PowerReadFriendlyName PowerReadIconResourceSpecifier powrprof.h Vanara.PInvoke.PowrProf.PowerReadIconResourceSpecifier PowerReadPossibleDescription powrprof.h Vanara.PInvoke.PowrProf.PowerReadPossibleDescription PowerReadPossibleFriendlyName powrprof.h Vanara.PInvoke.PowrProf.PowerReadPossibleFriendlyName PowerReadPossibleValue powrprof.h Vanara.PInvoke.PowrProf.PowerReadPossibleValue PowerReadSettingAttributes powrprof.h Vanara.PInvoke.PowrProf.PowerReadSettingAttributes PowerReadValueIncrement powrprof.h Vanara.PInvoke.PowrProf.PowerReadValueIncrement PowerReadValueMax powrprof.h Vanara.PInvoke.PowrProf.PowerReadValueMax PowerReadValueMin powrprof.h Vanara.PInvoke.PowrProf.PowerReadValueMin PowerReadValueUnitsSpecifier powrprof.h Vanara.PInvoke.PowrProf.PowerReadValueUnitsSpecifier PowerRegisterForEffectivePowerModeNotifications powersetting.h Vanara.PInvoke.PowrProf.PowerRegisterForEffectivePowerModeNotifications PowerRegisterSuspendResumeNotification powerbase.h Vanara.PInvoke.PowrProf.PowerRegisterSuspendResumeNotification PowerRemovePowerSetting powrprof.h Vanara.PInvoke.PowrProf.PowerRemovePowerSetting PowerReplaceDefaultPowerSchemes powrprof.h Vanara.PInvoke.PowrProf.PowerReplaceDefaultPowerSchemes PowerReportThermalEvent powrprof.h Vanara.PInvoke.PowrProf.PowerReportThermalEvent PowerRestoreDefaultPowerSchemes powrprof.h Vanara.PInvoke.PowrProf.PowerRestoreDefaultPowerSchemes PowerRestoreIndividualDefaultPowerScheme powrprof.h Vanara.PInvoke.PowrProf.PowerRestoreIndividualDefaultPowerScheme PowerSetActiveScheme powersetting.h Vanara.PInvoke.PowrProf.PowerSetActiveScheme PowerSettingAccessCheck powrprof.h Vanara.PInvoke.PowrProf.PowerSettingAccessCheck PowerSettingAccessCheckEx powrprof.h Vanara.PInvoke.PowrProf.PowerSettingAccessCheckEx PowerSettingRegisterNotification powersetting.h Vanara.PInvoke.PowrProf.PowerSettingRegisterNotification PowerSettingUnregisterNotification powersetting.h Vanara.PInvoke.PowrProf.PowerSettingUnregisterNotification PowerUnregisterFromEffectivePowerModeNotifications powersetting.h Vanara.PInvoke.PowrProf.PowerUnregisterFromEffectivePowerModeNotifications PowerUnregisterSuspendResumeNotification powerbase.h Vanara.PInvoke.PowrProf.PowerUnregisterSuspendResumeNotification PowerWriteACDefaultIndex powrprof.h Vanara.PInvoke.PowrProf.PowerWriteACDefaultIndex PowerWriteACValueIndex Powersetting.h; Vanara.PInvoke.PowrProf.PowerWriteACValueIndex PowerWriteDCDefaultIndex PowrProf.h Vanara.PInvoke.PowrProf.PowerWriteDCDefaultIndex PowerWriteDCValueIndex Powersetting.h; Vanara.PInvoke.PowrProf.PowerWriteDCValueIndex PowerWriteDescription powrprof.h Vanara.PInvoke.PowrProf.PowerWriteDescription PowerWriteFriendlyName powrprof.h Vanara.PInvoke.PowrProf.PowerWriteFriendlyName PowerWriteIconResourceSpecifier powrprof.h Vanara.PInvoke.PowrProf.PowerWriteIconResourceSpecifier PowerWritePossibleDescription powrprof.h Vanara.PInvoke.PowrProf.PowerWritePossibleDescription PowerWritePossibleFriendlyName powrprof.h Vanara.PInvoke.PowrProf.PowerWritePossibleFriendlyName PowerWritePossibleValue powrprof.h Vanara.PInvoke.PowrProf.PowerWritePossibleValue PowerWriteSettingAttributes powrprof.h Vanara.PInvoke.PowrProf.PowerWriteSettingAttributes PowerWriteValueIncrement powrprof.h Vanara.PInvoke.PowrProf.PowerWriteValueIncrement PowerWriteValueMax powrprof.h Vanara.PInvoke.PowrProf.PowerWriteValueMax PowerWriteValueMin powrprof.h Vanara.PInvoke.PowrProf.PowerWriteValueMin PowerWriteValueUnitsSpecifier powrprof.h Vanara.PInvoke.PowrProf.PowerWriteValueUnitsSpecifier ReadGlobalPwrPolicy powrprof.h Vanara.PInvoke.PowrProf.ReadGlobalPwrPolicy ReadProcessorPwrScheme powrprof.h Vanara.PInvoke.PowrProf.ReadProcessorPwrScheme ReadPwrScheme powrprof.h Vanara.PInvoke.PowrProf.ReadPwrScheme SetActivePwrScheme powrprof.h Vanara.PInvoke.PowrProf.SetActivePwrScheme SetSuspendState powrprof.h Vanara.PInvoke.PowrProf.SetSuspendState WriteGlobalPwrPolicy powrprof.h Vanara.PInvoke.PowrProf.WriteGlobalPwrPolicy WriteProcessorPwrScheme powrprof.h Vanara.PInvoke.PowrProf.WriteProcessorPwrScheme WritePwrScheme powrprof.h Vanara.PInvoke.PowrProf.WritePwrScheme Enumerations Native Enum Header Managed Enum DEVICE_PWR_NOTIFY powersetting.h Vanara.PInvoke.PowrProf.DEVICE_PWR_NOTIFY EFFECTIVE_POWER_MODE powersetting.h Vanara.PInvoke.PowrProf.EFFECTIVE_POWER_MODE ENERGY_SAVER_STATUS winnt.h Vanara.PInvoke.PowrProf.ENERGY_SAVER_STATUS EventCode winnt.h Vanara.PInvoke.PowrProf.EventCode GlobalFlags powrprof.h Vanara.PInvoke.PowrProf.GlobalFlags PDQUERY powrprof.h Vanara.PInvoke.PowrProf.PDQUERY PDSET powrprof.h Vanara.PInvoke.PowrProf.PDSET POWER_ACTION winnt.h Vanara.PInvoke.PowrProf.POWER_ACTION POWER_ATTR powrprof.h Vanara.PInvoke.PowrProf.POWER_ATTR POWER_DATA_ACCESSOR powrprof.h Vanara.PInvoke.PowrProf.POWER_DATA_ACCESSOR POWER_INFORMATION_LEVEL wdm.h Vanara.PInvoke.PowrProf.POWER_INFORMATION_LEVEL POWER_PLATFORM_ROLE winnt.h Vanara.PInvoke.PowrProf.POWER_PLATFORM_ROLE PowerActionFlags winnt.h Vanara.PInvoke.PowrProf.PowerActionFlags PowerPlatformRoleVersion powerbase.h Vanara.PInvoke.PowrProf.PowerPlatformRoleVersion PROCESSOR_POWER_POLICY_INFO_Options winnt.h Vanara.PInvoke.PowrProf.PROCESSOR_POWER_POLICY_INFO_Options RegisterSuspendResumeNotificationFlags powerbase.h Vanara.PInvoke.PowrProf.RegisterSuspendResumeNotificationFlags SYSTEM_POWER_CONDITION winnt.h Vanara.PInvoke.PowrProf.SYSTEM_POWER_CONDITION Structures Native Structure Header Managed Structure BATTERY_REPORTING_SCALE winnt.h Vanara.PInvoke.PowrProf.BATTERY_REPORTING_SCALE DEVICE_NOTIFY_SUBSCRIBE_PARAMETERS powrprof.h Vanara.PInvoke.PowrProf.DEVICE_NOTIFY_SUBSCRIBE_PARAMETERS GLOBAL_MACHINE_POWER_POLICY powrprof.h Vanara.PInvoke.PowrProf.GLOBAL_MACHINE_POWER_POLICY GLOBAL_POWER_POLICY powrprof.h Vanara.PInvoke.PowrProf.GLOBAL_POWER_POLICY GLOBAL_USER_POWER_POLICY powrprof.h Vanara.PInvoke.PowrProf.GLOBAL_USER_POWER_POLICY MACHINE_POWER_POLICY powrprof.h Vanara.PInvoke.PowrProf.MACHINE_POWER_POLICY MACHINE_PROCESSOR_POWER_POLICY powrprof.h Vanara.PInvoke.PowrProf.MACHINE_PROCESSOR_POWER_POLICY POWER_ACTION_POLICY winnt.h Vanara.PInvoke.PowrProf.POWER_ACTION_POLICY POWER_POLICY powrprof.h Vanara.PInvoke.PowrProf.POWER_POLICY PROCESSOR_POWER_POLICY winnt.h Vanara.PInvoke.PowrProf.PROCESSOR_POWER_POLICY PROCESSOR_POWER_POLICY_INFO winnt.h Vanara.PInvoke.PowrProf.PROCESSOR_POWER_POLICY_INFO SYSTEM_POWER_CAPABILITIES winnt.h Vanara.PInvoke.PowrProf.SYSTEM_POWER_CAPABILITIES SYSTEM_POWER_LEVEL winnt.h Vanara.PInvoke.PowrProf.SYSTEM_POWER_LEVEL THERMAL_EVENT powrprof.h Vanara.PInvoke.PowrProf.THERMAL_EVENT USER_POWER_POLICY powrprof.h Vanara.PInvoke.PowrProf.USER_POWER_POLICY Classes Native Class Header Managed Class SafeEffectivePowerModeNotificationHandle Vanara.PInvoke.PowrProf.SafeEffectivePowerModeNotificationHandle SafeHPOWERNOTIFY Vanara.PInvoke.PowrProf.SafeHPOWERNOTIFY SafeHPOWERSRNOTIFY Vanara.PInvoke.PowrProf.SafeHPOWERSRNOTIFY