[PATCH] Renamed and moved SetDeskPattern

Rémi Assailly remi.assailly at free.fr
Tue Oct 2 13:19:29 CDT 2007


---
 dlls/user32/desktop.c     |    9 ---------
 dlls/user32/user.exe.spec |    2 +-
 dlls/user32/user16.c      |    9 +++++++++
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/dlls/user32/desktop.c b/dlls/user32/desktop.c
index 40bf184..37774b8 100644
--- a/dlls/user32/desktop.c
+++ b/dlls/user32/desktop.c
@@ -179,15 +179,6 @@ BOOL WINAPI PaintDesktop(HDC hdc)
 }
 
 /***********************************************************************
- *           OldSetDeskPattern   (USER.279)
- */
-BOOL16 WINAPI SetDeskPattern(void)
-{
-    return SystemParametersInfoA( SPI_SETDESKPATTERN, -1, NULL, FALSE );
-}
-
-
-/***********************************************************************
  *           SetDeskWallPaper   (USER32.@)
  *
  * FIXME: is there a unicode version?
diff --git a/dlls/user32/user.exe.spec b/dlls/user32/user.exe.spec
index b1dbe92..9a22d87 100644
--- a/dlls/user32/user.exe.spec
+++ b/dlls/user32/user.exe.spec
@@ -276,7 +276,7 @@
 276 stub LockMyTask
 277 pascal -ret16 GetDlgCtrlID(word) GetDlgCtrlID16
 278 pascal -ret16 GetDesktopHwnd() GetDesktopHwnd16
-279 pascal -ret16 OldSetDeskPattern() SetDeskPattern
+279 pascal -ret16 OldSetDeskPattern() SetDeskPattern16
 280 pascal -ret16 SetSystemMenu(word word) SetSystemMenu16
 281 pascal -ret16 GetSysColorBrush(word) GetSysColorBrush16
 282 pascal -ret16 SelectPalette(word word word) SelectPalette16
diff --git a/dlls/user32/user16.c b/dlls/user32/user16.c
index f056fbb..b8951f2 100644
--- a/dlls/user32/user16.c
+++ b/dlls/user32/user16.c
@@ -927,6 +927,15 @@ void WINAPI ControlPanelInfo16( INT16 nInfoType, WORD wData, LPSTR lpBuffer )
 
 
 /***********************************************************************
+ *           OldSetDeskPattern   (USER.279)
+ */
+BOOL16 WINAPI SetDeskPattern16(void)
+{
+    return SystemParametersInfoA( SPI_SETDESKPATTERN, -1, NULL, FALSE );
+}
+
+
+/***********************************************************************
  *		GetSysColorBrush (USER.281)
  */
 HBRUSH16 WINAPI GetSysColorBrush16( INT16 index )
-- 
1.5.0.4


--------------090906040608050805010208--



More information about the wine-patches mailing list