Commit 6f40cb83 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

user32: Make a few more functions hotpatchable.

parent 30aea19e
......@@ -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);
......
......@@ -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 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment