LASTINPUTINFO structure (winuser.h)
Contains the time of the last input.
Syntax
typedef struct tagLASTINPUTINFO {
UINT cbSize;
DWORD dwTime;
} LASTINPUTINFO, *PLASTINPUTINFO;
Members
cbSize
Type: UINT
The size of the structure, in bytes. This member must be set to sizeof(LASTINPUTINFO)
.
dwTime
Type: DWORD
The tick count when the last input event was received.
Remarks
This function is useful for input idle detection. For more information on tick counts, see GetTickCount.
Requirements
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | winuser.h (include Windows.h) |
See also
Conceptual
Reference
Feedback
Submit and view feedback for