user32: Make a few more functions hotpatchable.

This commit is contained in:
Austin English 2012-04-30 12:16:29 -05:00 committed by Alexandre Julliard
parent 30aea19e3b
commit 6f40cb83e9
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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 );
}