网站首页  词典首页

请输入您要查询的函数:

 

术语 deletepwrscheme
释义 DeletePwrScheme
语法:
C++
BOOLEAN WINAPI DeletePwrScheme(
__in UINT uiIndex
);
DeletePwrScheme功能
[DeletePwrScheme都可以在指定的要求部分使用的操作系统。它可能被改变或在后续版本中不可用。为Windows Vista编写的应用程序,后来应使用PowerDeleteScheme代替。]
删除指定的电源使用方案。
参数
uiIndex [in]
该项权力的计划指标被删除。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
应用程序可以调用DeletePwrScheme永久删除电源配置。试图删除当前处于活动状态的电源使用方案失败,并设置为ERROR_ACCESS_DENIED最后一个错误。
有关使用PowrProf.h信息,请参见电源使用方案。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderPowrProf.h
LibraryPowrProf.lib
DLLPowrProf.dll
参见
电源使用方案
电源管理功能
WritePwrScheme
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==DeletePwrScheme Function
[DeletePwrScheme is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Applications written for Windows Vista and later should use PowerDeleteScheme instead.]
Deletes the specified power scheme.
Syntax
C++
BOOLEAN WINAPI DeletePwrScheme(
__in UINT uiIndex
);
Parameters
uiIndex [in]
The index of the power scheme to be deleted.
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
Applications can call DeletePwrScheme to permanently delete a power scheme. An attempt to delete the currently active power scheme fails with the last error set to ERROR_ACCESS_DENIED.
For more information on using PowrProf.h, see Power Schemes .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderPowrProf.h
LibraryPowrProf.lib
DLLPowrProf.dll
See Also
Power Schemes
Power Management Functions
WritePwrScheme
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa372678(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:17:44