user32: Compile some functions only on 64-bit architectures.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2022-03-26 19:54:03 -05:00 committed by Alexandre Julliard
parent d5400817b4
commit ed8cf75a53
2 changed files with 7 additions and 0 deletions

View File

@ -763,6 +763,8 @@ BOOL16 WINAPI ClassNext16( CLASSENTRY *pClassEntry )
}
#endif
#ifdef _WIN64
/* 64bit versions */
#undef GetClassLongPtrA
@ -803,3 +805,5 @@ ULONG_PTR WINAPI SetClassLongPtrA( HWND hwnd, INT offset, LONG_PTR newval )
if (offset == GCLP_MENUNAME) return set_menu_nameA( hwnd, offset, newval );
return NtUserSetClassLongPtr( hwnd, offset, newval, TRUE );
}
#endif /* _WIN64 */

View File

@ -1828,6 +1828,7 @@ BOOL WINAPI SetProcessDefaultLayout( DWORD layout )
return TRUE;
}
#ifdef _WIN64
/* 64bit versions */
@ -1868,6 +1869,8 @@ LONG_PTR WINAPI SetWindowLongPtrA( HWND hwnd, INT offset, LONG_PTR newval )
return NtUserSetWindowLongPtr( hwnd, offset, newval, TRUE );
}
#endif /* _WIN64 */
/*****************************************************************************
* RegisterTouchWindow (USER32.@)
*/