[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 | Msidle.dll |
See also
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
