=?UTF-8?Q?Stefan=20D=C3=B6singer=20?=: user32: Make SetWindowTextA/ W hookable.

Alexandre Julliard julliard at winehq.org
Mon Mar 3 13:20:11 CST 2014


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

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Mon Mar  3 10:15:37 2014 +0100

user32: Make SetWindowTextA/W hookable.

---

 dlls/user32/win.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/user32/win.c b/dlls/user32/win.c
index 29f2365..9e30321 100644
--- a/dlls/user32/win.c
+++ b/dlls/user32/win.c
@@ -2739,7 +2739,7 @@ INT WINAPI GetWindowTextW( HWND hwnd, LPWSTR lpString, INT nMaxCount )
  *		SetWindowTextA (USER32.@)
  *		SetWindowText  (USER32.@)
  */
-BOOL WINAPI SetWindowTextA( HWND hwnd, LPCSTR lpString )
+BOOL WINAPI DECLSPEC_HOTPATCH SetWindowTextA( HWND hwnd, LPCSTR lpString )
 {
     if (is_broadcast(hwnd))
     {
@@ -2756,7 +2756,7 @@ BOOL WINAPI SetWindowTextA( HWND hwnd, LPCSTR lpString )
 /*******************************************************************
  *		SetWindowTextW (USER32.@)
  */
-BOOL WINAPI SetWindowTextW( HWND hwnd, LPCWSTR lpString )
+BOOL WINAPI DECLSPEC_HOTPATCH SetWindowTextW( HWND hwnd, LPCWSTR lpString )
 {
     if (is_broadcast(hwnd))
     {




More information about the wine-cvs mailing list