USER: stub implementation for GetLastInputInfo and SetLayeredWindowAttributes

Mike McCormack mike at codeweavers.com
Mon Dec 6 11:07:47 CST 2004


ChangeLog:
* stub implementation for GetLastInputInfo and SetLayeredWindowAttributes
-------------- next part --------------
Index: include/winuser.h
===================================================================
RCS file: /home/wine/wine/include/winuser.h,v
retrieving revision 1.201
diff -u -r1.201 winuser.h
--- include/winuser.h	30 Nov 2004 17:22:47 -0000	1.201
+++ include/winuser.h	6 Dec 2004 18:01:17 -0000
@@ -3602,6 +3602,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
@@ -4190,6 +4196,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);
@@ -4443,6 +4450,7 @@
 HWND      WINAPI SetFocus(HWND);
 BOOL      WINAPI SetForegroundWindow(HWND);
 void        WINAPI SetInternalWindowPos(HWND,UINT,LPRECT,LPPOINT);
+BOOL        WINAPI SetLayeredWindowAttributes(HWND,COLORREF,BYTE,DWORD);
 BOOL        WINAPI SetMenu(HWND,HMENU);
 BOOL        WINAPI SetMenuContextHelpId(HMENU,DWORD);
 BOOL        WINAPI SetMenuItemBitmaps(HMENU,UINT,UINT,HBITMAP,HBITMAP);
Index: dlls/user/painting.c
===================================================================
RCS file: /home/wine/wine/dlls/user/painting.c,v
retrieving revision 1.13
diff -u -r1.13 painting.c
--- dlls/user/painting.c	30 Oct 2004 02:13:48 -0000	1.13
+++ dlls/user/painting.c	6 Dec 2004 18:01:17 -0000
@@ -365,3 +365,10 @@
     }
     return ret;
 }
+
+BOOL WINAPI SetLayeredWindowAttributes(HWND hwnd, COLORREF crKey,
+         BYTE bAlpha, DWORD dwFlags)
+{
+    FIXME("%p %08lx %02x %08lx\n", hwnd, crKey, bAlpha, dwFlags);
+    return TRUE;
+}
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	6 Dec 2004 18:01:17 -0000
@@ -263,6 +263,7 @@
 @ stdcall GetKeyboardState(ptr)
 @ stdcall GetKeyboardType(long)
 @ stdcall GetLastActivePopup(long)
+@ stdcall GetLastInputInfo()
 # @ stub GetListBoxInfo
 @ stdcall GetMenu(long)
 # @ stub GetMenuBarInfo
@@ -520,6 +521,7 @@
 @ stdcall SetInternalWindowPos(long long ptr ptr)
 @ stdcall SetKeyboardState(ptr)
 @ stdcall SetLastErrorEx(long long)
+@ stdcall SetLayeredWindowAttributes(long long long long)
 @ stdcall SetLogonNotifyWindow(long long)
 @ stdcall SetMenu(long long)
 @ stdcall SetMenuContextHelpId(long long)


More information about the wine-patches mailing list