Update SetLayeredWindowAttributes.
authorJames Tabor <james.tabor@reactos.org>
Mon, 7 Jul 2008 05:54:36 +0000 (05:54 +0000)
committerJames Tabor <james.tabor@reactos.org>
Mon, 7 Jul 2008 05:54:36 +0000 (05:54 +0000)
svn path=/trunk/; revision=34350

reactos/dll/win32/user32/user32.def
reactos/dll/win32/user32/windows/window.c
reactos/include/reactos/win32k/ntuser.h
reactos/subsystems/win32/win32k/ntuser/window.c

index 81aebd6..51fc30c 100644 (file)
@@ -610,7 +610,7 @@ SetForegroundWindow@4
 SetInternalWindowPos@16
 SetKeyboardState@4
 SetLastErrorEx@8
-SetLayeredWindowAttributes@16
+SetLayeredWindowAttributes@16=NtUserSetLayeredWindowAttributes@16
 SetLogonNotifyWindow@8
 SetMenu@8
 SetMenuContextHelpId@8
index 604eb6a..d6a265d 100644 (file)
@@ -1547,20 +1547,6 @@ SetForegroundWindow(HWND hWnd)
 }
 
 
-/*
- * @unimplemented
- */
-BOOL STDCALL
-SetLayeredWindowAttributes(HWND hwnd,
-                          COLORREF crKey,
-                          BYTE bAlpha,
-                          DWORD dwFlags)
-{
-  UNIMPLEMENTED;
-  return FALSE;
-}
-
-
 /*
  * @implemented
  */
index 85d30af..e7a013e 100644 (file)
@@ -2186,13 +2186,13 @@ NTAPI
 NtUserSetKeyboardState(
   LPBYTE Unknown0);
 
-DWORD
+BOOL
 NTAPI
 NtUserSetLayeredWindowAttributes(
-  DWORD Unknown0,
-  DWORD Unknown1,
-  DWORD Unknown2,
-  DWORD Unknown3);
+  HWND hwnd,
+  COLORREF crKey,
+  BYTE bAlpha,
+  DWORD dwFlags);
 
 DWORD
 NTAPI
index bf0119e..c71b399 100644 (file)
@@ -4100,15 +4100,14 @@ NtUserSetInternalWindowPos(DWORD Unknown0,
 /*
  * @unimplemented
  */
-DWORD STDCALL
-NtUserSetLayeredWindowAttributes(DWORD Unknown0,
-                                 DWORD Unknown1,
-                                 DWORD Unknown2,
-                                 DWORD Unknown3)
+BOOL STDCALL
+NtUserSetLayeredWindowAttributes(HWND hwnd,
+                          COLORREF crKey,
+                          BYTE bAlpha,
+                          DWORD dwFlags)
 {
-   UNIMPLEMENTED
-
-   return 0;
+  UNIMPLEMENTED;
+  return FALSE;
 }