网站首页  计算机词典

请输入您要查询的字词:

 

字词 readprocessorpwrscheme
释义 ReadProcessorPwrScheme
语法:
C++
BOOLEAN WINAPI ReadProcessorPwrScheme(
__in UINT uiID,
__out PMACHINE_PROCESSOR_POWER_POLICY pMachineProcessorPowerPolicy
);
ReadProcessorPwrScheme功能
[ReadProcessorPwrScheme都可以在指定的要求部分使用的操作系统。它可能被改变或在后续版本中不可用。见备注。]
检索处理器电源指定电源配置策略设置。
参数
uiID [in]
该项权力的计划指标被读取。
pMachineProcessorPowerPolicy [out]
一个 MACHINE_PROCESSOR_POWER_POLICY结构,接收处理器电源策略设置指针。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
该MACHINE_PROCESSOR_POWER_POLICY结构包含使用处理器电源策略设置在系统使用交流电源或电池电源运行。
与Windows Vista,电力系统的管理配置处理器开始是通过GUID_PROCESSOR_SETTINGS_SUBGROUP电源设置控制分组。使用PowerEnumerate函数来枚举单独的设置。
有关使用PowrProf.h信息,请参见电源使用方案。
要求:
最低支持client-Windows XP
最低支持serverWindows服务器2003
HeaderPowrProf.h
LibraryPowrProf.lib
DLLPowrProf.dll
参见
电源使用方案
电源管理功能
MACHINE_PROCESSOR_POWER_POLICY
WriteProcessorPwrScheme
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==ReadProcessorPwrScheme Function
[ReadProcessorPwrScheme is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. See Remarks.]
Retrieves the processor power policy settings for the specified power scheme.
Syntax
C++
BOOLEAN WINAPI ReadProcessorPwrScheme(
__in UINT uiID,
__out PMACHINE_PROCESSOR_POWER_POLICY pMachineProcessorPowerPolicy
);
Parameters
uiID [in]
The index of the power scheme to be read.
pMachineProcessorPowerPolicy [out]
A pointer to a MACHINE_PROCESSOR_POWER_POLICY structure that receives the processor power policy settings.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError .
Remarks
The MACHINE_PROCESSOR_POWER_POLICY structure contains processor power policy settings for use while the system is running on AC power or battery power.
Starting with Windows Vista, power management configuration of the system's processor is controlled through the GUID_PROCESSOR_SETTINGS_SUBGROUP power settings subgroup. Use the PowerEnumerate function to enumerate individual settings.
For more information on using PowrProf.h, see Power Schemes .
Requirements
Minimum supported clientWindows XP
Minimum supported serverWindows Server 2003
HeaderPowrProf.h
LibraryPowrProf.lib
DLLPowrProf.dll
See Also
Power Schemes
Power Management Functions
MACHINE_PROCESSOR_POWER_POLICY
WriteProcessorPwrScheme
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa373190(VS.85).aspx\n
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 22:45:14