OS/2 is a greatly different operating system for PC (ArcaOS, eComStation, IBM OS/2 Warp)
Applications, news, reviews, support of users, hardware, questions and answers.
WinGetLastInputTime() function is suitable for idle detection.
Return value:
0 - Error occurred (by some reason input hook not installed,
can't detect time of the last input event)
Other - Time of the last input event
Notes:
Can be used from multiple applications, installs only one global input hook.
Should be used from PM applications.
Will NOT detect user input in fullscreen sessions.
Returned time is similar (and can be compared) with time returned by:
WinGetCurrentTime() or
DosQuerySysInfo(), system variable QSV_MS_COUNT
Function is very similar to windoze's GetLastInputInfo(), but takes no
arguments. See http://msdn2.microsoft.com/en-us/library/ms646302.aspx
Developer: Eugene Romanenko
The function is distributed as part of eCo Software runtime (base)