术语 | requestwakeuplatency |
释义 | RequestWakeupLatency 语法: C++ BOOL WINAPI RequestWakeupLatency( __in LATENCY_TIME latency ); RequestWakeupLatency功能 [RequestWakeupLatency都可以在指定的要求部分使用的操作系统。它可能被改变或在后续版本中不可用。] 没有任何效果,并返回STATUS_NOT_SUPPORTED。此功能仅提供与Windows的早期版本兼容。 Windows Server 2008和Windows Vista的:没有效果,总是返回成功。 Windows Server 2003和Windows XP/2000操作系统: 规定了大致的计算机的速度有多快,应进入工作状态的要求。 参数 延迟 [in] 对于延迟的时间要求是需要唤醒计算机。此参数可以是下列值之一。 ValueMeaning LT_LOWEST_LATENCY 1PowerSystemSleeping1状态(相当于ACPI的状态S0和APM的状态工作)。 LT_DONT_CARE 0Any延迟(默认)。 返回值 返回值为非零。 Windows Server 2003和Windows XP/2000操作系统:如果函数成功,返回值为非零。如果函数失败,返回值是零。该函数将失败,如果设备不支持唤醒操作,或者如果系统进入睡眠状态。 备注 该系统采用了延迟后,要求在选择睡眠状态。该延迟是无法保证,因为唤醒时间是由特定的计算机硬件设计决定的。 要取消延迟请求,LT_DONT_CARE电话RequestWakeupLatency。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderWinBase.h(头文件:winuser.h) LibraryKernel32.lib DLLKernel32.dll 参见 电源管理功能 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年7月30日 ==英文原文==RequestWakeupLatency Function [RequestWakeupLatency is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.] Has no effect and returns STATUS_NOT_SUPPORTED. This function is provided only for compatibility with earlier versions of Windows. Windows Server 2008 and Windows Vista: Has no effect and always returns success. Windows Server 2003 and Windows XP/2000: Sets the requirement for roughly how quickly the computer should enter the working state. Syntax C++ BOOL WINAPI RequestWakeupLatency( __in LATENCY_TIME latency ); Parameters latency [in] The latency requirement for the time is takes to wake the computer. This parameter can be one of the following values. ValueMeaning LT_LOWEST_LATENCY 1PowerSystemSleeping1 state (equivalent to ACPI state S0 and APM state Working). LT_DONT_CARE 0Any latency (default). Return Value The return value is nonzero. Windows Server 2003 and Windows XP/2000: If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. The function will fail if the device does not support wake-up operations or if the system is entering the sleeping state. Remarks The system uses the wake-up latency requirement when choosing a sleeping state. The latency is not guaranteed because wake-up time is determined by the hardware design of the particular computer. To cancel a latency request, call RequestWakeupLatency with LT_DONT_CARE. Requirements Minimum supported clientWindows 2000 Professional Minimum supported serverWindows 2000 Server HeaderWinBase.h (include Windows.h) LibraryKernel32.lib DLLKernel32.dll See Also Power Management Functions Send comments about this topic to Microsoft Build date: 7/30/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/aa373199(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。