Rémi Assailly : user32: Renamed and moved SetDeskPattern.

Alexandre Julliard julliard at winehq.org
Wed Oct 3 06:08:16 CDT 2007


Module: wine
Branch: master
Commit: 06b3967978b1ae703079498f6da622964fca3735
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=06b3967978b1ae703079498f6da622964fca3735

Author: Rémi Assailly <remi.assailly at free.fr>
Date:   Tue Oct  2 20:19:29 2007 +0200

user32: Renamed and moved SetDeskPattern.

---

 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 )




More information about the wine-cvs mailing list