user32: Make SetWindowTextA/W hookable.

This commit is contained in:
Stefan Dösinger 2014-03-03 10:15:37 +01:00 committed by Alexandre Julliard
parent 97569e4e4a
commit ece57889d6
1 changed files with 2 additions and 2 deletions

View File

@ -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))
{