GetIdleMinutes function
[This function is not supported and may be altered or unavailable in the future. Instead, use the GetLastInputInfo function.]
Gets the length of time, in minutes, since the user's last activity.
Syntax
DWORD WINAPI GetIdleMinutes(
DWORD dwReserved
);
Parameters
-
dwReserved
-
This parameter must be set to zero.
Return value
Returns the number of minutes since the user's last activity.
Remarks
This function has no associated import library or header file; you must call it using the LoadLibrary and GetProcAddress functions. This function is not exported by name; specify ordinal 8 when calling GetProcAddress.
Requirements
Requirement | Value |
---|---|
DLL |
|
See also
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