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
Requirement | Value |
---|---|
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
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for