网站首页  词典首页

请输入您要查询的函数:

 

术语 ispwrhibernateallowed
释义 IsPwrHibernateAllowed
语法:
C++
BOOLEAN WINAPI IsPwrHibernateAllowed(void);
IsPwrHibernateAllowed功能
[IsPwrHibernateAllowed都可以在指定的要求部分使用的操作系统。它可能被改变或在后续版本中不可用。为Windows Vista编写的应用程序,后来应使用GetPwrCapabilities代替。]
确定计算机是否支持休眠状态。
参数
这个函数没有参数。
返回值
如果计算机支持休眠(电源状态中四),文件Hiberfil.sys的是系统上存在,函数返回TRUE。否则,函数返回FALSE。
备注
这些信息也可通过CallNtPowerInformation功能。返回的值是在SYSTEM_POWER_CAPABILITIES结构SystemS4成员。
有关使用PowrProf.h信息,请参见电源使用方案。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderPowrProf.h
LibraryPowrProf.lib
DLLPowrProf.dll
参见
电源管理功能
CallNtPowerInformation
SYSTEM_POWER_CAPABILITIES
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==IsPwrHibernateAllowed Function
[IsPwrHibernateAllowed 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 GetPwrCapabilities instead.]
Determines whether the computer supports hibernation.
Syntax
C++
BOOLEAN WINAPI IsPwrHibernateAllowed(void);
Parameters
This function has no parameters.
Return Value
If the computer supports hibernation (power state S4) and the file Hiberfil.sys is present on the system, the function returns TRUE. Otherwise, the function returns FALSE.
Remarks
This information is also available through the CallNtPowerInformation function. The value is returned in the SystemS4 member of the SYSTEM_POWER_CAPABILITIES structure.
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 Management Functions
CallNtPowerInformation
SYSTEM_POWER_CAPABILITIES
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa372705(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 11:22:13