Module: wine Branch: master Commit: ece57889d6de006ffaa24569dac6fe0090182d41 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ece57889d6de006ffaa24569da...
Author: Stefan Dösinger stefan@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)) {