网站首页  词典首页

请输入您要查询的函数:

 

术语 ispwrshutdownallowed
释义 IsPwrShutdownAllowed
语法:
C++
BOOLEAN WINAPI IsPwrShutdownAllowed(void);
IsPwrShutdownAllowed功能
[IsPwrShutdownAllowed都可以在指定的要求部分使用的操作系统。它可能被改变或在后续版本中不可用。见备注。]
确定计算机是否支持软关闭电源状态。
参数
这个函数没有参数。
返回值
如果计算机支持的软关闭(电源状态中五),该函数返回TRUE。否则,函数返回FALSE。
备注
这些信息也可通过CallNtPowerInformation功能。返回的值是在SYSTEM_POWER_CAPABILITIES结构SystemS5成员。
从Windows Vista开始,计算机必须支持关闭电源软状态。因此,这个函数只适用于Windows Server 2003和更早的操作系统。
有关使用PowrProf.h信息,请参见电源使用方案。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderPowrProf.h
LibraryPowrProf.lib
DLLPowrProf.dll
参见
电源管理功能
CallNtPowerInformation
SYSTEM_POWER_CAPABILITIES
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==IsPwrShutdownAllowed Function
[IsPwrShutdownAllowed is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. See Remarks.]
Determines whether the computer supports the soft off power state.
Syntax
C++
BOOLEAN WINAPI IsPwrShutdownAllowed(void);
Parameters
This function has no parameters.
Return Value
If the computer supports soft off (power state S5), 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 SystemS5 member of the SYSTEM_POWER_CAPABILITIES structure.
Starting with Windows Vista, computers must support the soft off power state. Therefore, this function is relevant only to Windows Server 2003 and earlier operating systems.
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/aa372706(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:23:23