Austin English : user32: Make a few more functions hotpatchable.

Alexandre Julliard julliard at winehq.org
Mon Apr 30 14:13:09 CDT 2012


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

Author: Austin English <austinenglish at gmail.com>
Date:   Mon Apr 30 12:16:29 2012 -0500

user32: Make a few more functions hotpatchable.

---

 dlls/user32/nonclient.c |    4 ++--
 dlls/user32/win.c       |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/user32/nonclient.c b/dlls/user32/nonclient.c
index 82a571d..08ce674 100644
--- a/dlls/user32/nonclient.c
+++ b/dlls/user32/nonclient.c
@@ -367,7 +367,7 @@ BOOL WINAPI DrawCaptionTempW (HWND hwnd, HDC hdc, const RECT *rect, HFONT hFont,
 /***********************************************************************
  *		AdjustWindowRect (USER32.@)
  */
-BOOL WINAPI AdjustWindowRect( LPRECT rect, DWORD style, BOOL menu )
+BOOL WINAPI DECLSPEC_HOTPATCH AdjustWindowRect( LPRECT rect, DWORD style, BOOL menu )
 {
     return AdjustWindowRectEx( rect, style, menu, 0 );
 }
@@ -376,7 +376,7 @@ BOOL WINAPI AdjustWindowRect( LPRECT rect, DWORD style, BOOL menu )
 /***********************************************************************
  *		AdjustWindowRectEx (USER32.@)
  */
-BOOL WINAPI AdjustWindowRectEx( LPRECT rect, DWORD style, BOOL menu, DWORD exStyle )
+BOOL WINAPI DECLSPEC_HOTPATCH AdjustWindowRectEx( LPRECT rect, DWORD style, BOOL menu, DWORD exStyle )
 {
     if (style & WS_ICONIC) return TRUE;
     style &= ~(WS_HSCROLL | WS_VSCROLL);
diff --git a/dlls/user32/win.c b/dlls/user32/win.c
index 1cad8aa..cc8461a 100644
--- a/dlls/user32/win.c
+++ b/dlls/user32/win.c
@@ -2413,7 +2413,7 @@ WORD WINAPI SetWindowWord( HWND hwnd, INT offset, WORD newval )
  *
  * See SetWindowLongW.
  */
-LONG WINAPI SetWindowLongA( HWND hwnd, INT offset, LONG newval )
+LONG WINAPI DECLSPEC_HOTPATCH SetWindowLongA( HWND hwnd, INT offset, LONG newval )
 {
     return WIN_SetWindowLong( hwnd, offset, sizeof(LONG), newval, FALSE );
 }




More information about the wine-cvs mailing list