网站首页  词典首页

请输入您要查询的函数:

 

术语 getlastinputinfo
释义 GetLastInputInfo
语法:
BOOL GetLastInputInfo( PLASTINPUTINFO plii
);
GetLastInputInfo功能
该GetLastInputInfo函数检索上次输入事件的时间。
参数
plii
[out]指向1 LASTINPUTINFO结构,收到最后输入事件的时间。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
此功能可用于输入空闲检测。然而,GetLastInputInfo不提供全系统的用户输入的信息,在所有运行的会议。相反,GetLastInputInfo提供会话特定的用户只为会话调用该函数输入信息。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
2000年最低经营systemsWindows
参见
键盘输入,LASTINPUTINFO
==英文原文==GetLastInputInfo Function
The GetLastInputInfo function retrieves the time of the last input event.
Syntax
BOOL GetLastInputInfo( PLASTINPUTINFO plii
);
Parameters
plii
[out] Pointer to a LASTINPUTINFO structure that receives the time of the last input event.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
This function is useful for input idle detection. However, GetLastInputInfo does not provide system-wide user input information across all running sessions. Rather, GetLastInputInfo provides session-specific user input information for only the session that invoked the function.
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 2000
See Also
Keyboard Input , LASTINPUTINFO
==原始网址==http://msdn.microsoft.com/en-us/library/ms646302(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:58