diff --git a/dlls/user/message.c b/dlls/user/message.c index 8632a68bd5c..e60104f21d8 100644 --- a/dlls/user/message.c +++ b/dlls/user/message.c @@ -2657,3 +2657,12 @@ BOOL WINAPI IsHungAppWindow( HWND hWnd ) DWORD dwResult; return !SendMessageTimeoutA(hWnd, WM_NULL, 0, 0, SMTO_ABORTIFHUNG, 5000, &dwResult); } + +/****************************************************************** + * GetLastInputInfo (USER32.@) + */ +BOOL WINAPI GetLastInputInfo(PLASTINPUTINFO plii) +{ + FIXME("%p\n", plii); + return FALSE; +} diff --git a/dlls/user/user32.spec b/dlls/user/user32.spec index 719d5a5a7e6..99152215830 100644 --- a/dlls/user/user32.spec +++ b/dlls/user/user32.spec @@ -263,6 +263,7 @@ @ stdcall GetKeyboardState(ptr) @ stdcall GetKeyboardType(long) @ stdcall GetLastActivePopup(long) +@ stdcall GetLastInputInfo(ptr) # @ stub GetListBoxInfo @ stdcall GetMenu(long) # @ stub GetMenuBarInfo diff --git a/include/winuser.h b/include/winuser.h index c3e34d0871e..6a3878771c7 100644 --- a/include/winuser.h +++ b/include/winuser.h @@ -3604,6 +3604,12 @@ typedef struct tagTITLEBARINFO { DWORD rgstate[CCHILDREN_TITLEBAR+1]; } TITLEBARINFO, *PTITLEBARINFO, *LPTITLEBARINFO; +/* used by GetLastInputInfo */ +typedef struct tagLASTINPUTINFO { + UINT cbSize; + DWORD dwTime; +} LASTINPUTINFO, *PLASTINPUTINFO; + /* SetWinEventHook() flags */ #define WINEVENT_OUTOFCONTEXT 0x0 #define WINEVENT_SKIPOWNTHREAD 0x1 @@ -4192,6 +4198,7 @@ BOOL WINAPI GetKeyboardLayoutNameW(LPWSTR); #define GetKeyboardLayoutName WINELIB_NAME_AW(GetKeyboardLayoutName) SHORT WINAPI GetKeyState(INT); HWND WINAPI GetLastActivePopup(HWND); +BOOL WINAPI GetLastInputInfo(PLASTINPUTINFO); HMENU WINAPI GetMenu(HWND); INT WINAPI GetMenuItemCount(HMENU); UINT WINAPI GetMenuItemID(HMENU,INT);