Skip to content

Latest commit

 

History

History
73 lines (45 loc) · 1.47 KB

getidleminutes.md

File metadata and controls

73 lines (45 loc) · 1.47 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
Gets the length of time, in minutes, since the user's last activity.
2d1e68ad-6f65-4e64-afbf-505b2c9d3423
GetIdleMinutes function
reference
05/31/2018
APIRef
kbSyntax
GetIdleMinutes
DllExport
Msidle.dll

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