Commit 5cd47378 authored by Ulrich Weigand's avatar Ulrich Weigand Committed by Alexandre Julliard

Added IsUserIdle16().

parent 5c982c90
......@@ -539,6 +539,25 @@ WORD WINAPI GetAsyncKeyState16(INT16 nKey)
return GetAsyncKeyState(nKey);
}
/***********************************************************************
* IsUserIdle (USER.333)
*/
BOOL16 WINAPI IsUserIdle16(void)
{
if ( GetAsyncKeyState( VK_LBUTTON ) & 0x8000 )
return FALSE;
if ( GetAsyncKeyState( VK_RBUTTON ) & 0x8000 )
return FALSE;
if ( GetAsyncKeyState( VK_MBUTTON ) & 0x8000 )
return FALSE;
/* Should check for screen saver activation here ... */
return TRUE;
}
/**********************************************************************
* KBD_translate_accelerator
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment