USER32: stub implementation for GetLastInputInfo
Mike McCormack
mike at codeweavers.com
Tue Dec 7 22:58:49 CST 2004
Split this one apart from SetLayeredWindowAttributes since that function
is a little controvertial.
Mike
ChangeLog:
* stub implementation for GetLastInputInfo
-------------- next part --------------
Index: include/winuser.h
===================================================================
RCS file: /home/wine/wine/include/winuser.h,v
retrieving revision 1.202
diff -u -r1.202 winuser.h
--- include/winuser.h 6 Dec 2004 16:13:04 -0000 1.202
+++ include/winuser.h 8 Dec 2004 05:49:32 -0000
@@ -3604,6 +3604,12 @@
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 @@
#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);
Index: dlls/user/message.c
===================================================================
RCS file: /home/wine/wine/dlls/user/message.c,v
retrieving revision 1.57
diff -u -r1.57 message.c
--- dlls/user/message.c 29 Nov 2004 18:18:02 -0000 1.57
+++ dlls/user/message.c 8 Dec 2004 05:49:32 -0000
@@ -2657,3 +2657,12 @@
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;
+}
Index: dlls/user/user32.spec
===================================================================
RCS file: /home/wine/wine/dlls/user/user32.spec,v
retrieving revision 1.90
diff -u -r1.90 user32.spec
--- dlls/user/user32.spec 19 Oct 2004 21:10:17 -0000 1.90
+++ dlls/user/user32.spec 8 Dec 2004 05:49:32 -0000
@@ -263,6 +263,7 @@
@ stdcall GetKeyboardState(ptr)
@ stdcall GetKeyboardType(long)
@ stdcall GetLastActivePopup(long)
+@ stdcall GetLastInputInfo(ptr)
# @ stub GetListBoxInfo
@ stdcall GetMenu(long)
# @ stub GetMenuBarInfo
More information about the wine-patches
mailing list