Interface PowrProf.POWER_INFORMATION_LEVEL
- Enclosing interface:
- PowrProf
PowrProf.CallNtPowerInformation(int, com.sun.jna.Pointer, int, com.sun.jna.Pointer, int). This value indicates the specific
 power information to be set or retrieved.- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intThelpInBufferparameter must beNULL; otherwise, the function returnsWinError.ERROR_INVALID_PARAMETER.static final intThelpInBufferparameter must beNULL; otherwise, the function returnsWinError.ERROR_INVALID_PARAMETER.static final intThelpInBufferparameter must beNULL; otherwise, the function returnsWinError.ERROR_INVALID_PARAMETER.static final intThelpInBufferparameter must beNULL; otherwise, the function returnsWinError.ERROR_INVALID_PARAMETER.static final intThelpInBufferparameter must beNULLotherwise, the function returnsWinError.ERROR_INVALID_PARAMETER.static final intThelpInBufferparameter must beNULL; otherwise, the function returnsWinError.ERROR_INVALID_PARAMETER.static final intThelpInBufferparameter must beNULL; otherwise, the function returnsWinError.ERROR_INVALID_PARAMETER.static final intIflpInBufferis notNULL, the function applies theWinNT.SYSTEM_POWER_POLICYvalues passed inlpInBufferto the current system power policy used while the system is running on AC (utility) power.static final intThelpInBufferparameter must beNULL; otherwise, the function returnsWinError.ERROR_INVALID_PARAMETER.static final intIflpInBufferis notNULL, the function applies theWinNT.SYSTEM_POWER_POLICYvalues passed inlpInBufferto the current system power policy used while the system is running on battery power.static final intIflpInBufferis notNULLand the current user has sufficient privileges, the function commits or decommits the storage required to hold the hibernation image on the boot volume.
- 
Field Details- 
LastSleepTimestatic final int LastSleepTimeThelpInBufferparameter must beNULL; otherwise, the function returnsWinError.ERROR_INVALID_PARAMETER.The lpOutputBufferbuffer receives aWinDef.ULONGLONGthat specifies the interrupt-time count, in 100-nanosecond units, at the last system sleep time.- See Also:
 
- 
LastWakeTimestatic final int LastWakeTimeThelpInBufferparameter must beNULL; otherwise, the function returnsWinError.ERROR_INVALID_PARAMETER.The lpOutputBufferbuffer receives aWinDef.ULONGLONGthat specifies the interrupt-time count, in 100-nanosecond units, at the last system wake time.- See Also:
 
- 
ProcessorInformationstatic final int ProcessorInformationThelpInBufferparameter must beNULL; otherwise, the function returnsWinError.ERROR_INVALID_PARAMETER.The lpOutputBufferbuffer receives oneWinNT.PROCESSOR_POWER_INFORMATIONstructure for each processor that is installed on the system. Use theKernel32.GetSystemInfo(com.sun.jna.platform.win32.WinBase.SYSTEM_INFO)function to retrieve the number of processors, which will be the number of logical processors on the current Processor Group.- See Also:
 
- 
SystemBatteryStatestatic final int SystemBatteryStateThelpInBufferparameter must beNULL; otherwise, the function returnsWinError.ERROR_INVALID_PARAMETER.The lpOutputBufferbuffer receives aWinNT.SYSTEM_BATTERY_STATEstructure containing information about the current system battery.- See Also:
 
- 
SystemExecutionStatestatic final int SystemExecutionStateThelpInBufferparameter must beNULLotherwise, the function returnsWinError.ERROR_INVALID_PARAMETER.The lpOutputBufferbuffer receives aWinDef.ULONGvalue containing the system execution state buffer. This value may contain any combination of the following values:WinBase.ES_SYSTEM_REQUIRED,WinBase.ES_DISPLAY_REQUIRED, orWinBase.ES_USER_PRESENT. For more information, see theKernel32.SetThreadExecutionState(int)function.- See Also:
 
- 
SystemPowerCapabilitiesstatic final int SystemPowerCapabilitiesThelpInBufferparameter must beNULL; otherwise, the function returnsWinError.ERROR_INVALID_PARAMETER.The lpOutputBufferbuffer receives aWinNT.SYSTEM_POWER_CAPABILITIESstructure containing the current system power capabilities.This information represents the currently supported power capabilities. It may change as drivers are installed in the system. For example, installation of legacy device drivers that do not support power management disables all system sleep states. - See Also:
 
- 
SystemPowerInformationstatic final int SystemPowerInformationThelpInBufferparameter must beNULL; otherwise, the function returnsWinError.ERROR_INVALID_PARAMETER.The lpOutputBufferbuffer receives aWinNT.SYSTEM_POWER_INFORMATIONstructure.Applications can use this level to retrieve information about the idleness of the system. - See Also:
 
- 
SystemPowerPolicyAcstatic final int SystemPowerPolicyAcIflpInBufferis notNULL, the function applies theWinNT.SYSTEM_POWER_POLICYvalues passed inlpInBufferto the current system power policy used while the system is running on AC (utility) power.The lpOutputBufferbuffer receives aWinNT.SYSTEM_POWER_POLICYstructure containing the current system power policy used while the system is running on AC (utility) power.- See Also:
 
- 
SystemPowerPolicyCurrentstatic final int SystemPowerPolicyCurrentThelpInBufferparameter must beNULL; otherwise, the function returnsWinError.ERROR_INVALID_PARAMETER.The lpOutputBufferbuffer receives aWinNT.SYSTEM_POWER_POLICYstructure containing the current system power policy used while the system is running on AC (utility) power.- See Also:
 
- 
SystemPowerPolicyDcstatic final int SystemPowerPolicyDcIflpInBufferis notNULL, the function applies theWinNT.SYSTEM_POWER_POLICYvalues passed inlpInBufferto the current system power policy used while the system is running on battery power.The lpOutputBufferbuffer receives aWinNT.SYSTEM_POWER_POLICYstructure containing the current system power policy used while the system is running on battery power.- See Also:
 
- 
SystemReserveHiberFilestatic final int SystemReserveHiberFileIflpInBufferis notNULLand the current user has sufficient privileges, the function commits or decommits the storage required to hold the hibernation image on the boot volume.The lpInBuffer parameter must point to a BOOLEANvalue indicating the desired request. If the value isTRUE, the hibernation file is reserved; if the value isFALSE, the hibernation file is removed.- See Also:
 
 
-