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
Msidle.dll

See also

GetLastInputInfo