Commit ed8cf75a authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

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

parent d5400817
...@@ -763,6 +763,8 @@ BOOL16 WINAPI ClassNext16( CLASSENTRY *pClassEntry ) ...@@ -763,6 +763,8 @@ BOOL16 WINAPI ClassNext16( CLASSENTRY *pClassEntry )
} }
#endif #endif
#ifdef _WIN64
/* 64bit versions */ /* 64bit versions */
#undef GetClassLongPtrA #undef GetClassLongPtrA
...@@ -803,3 +805,5 @@ ULONG_PTR WINAPI SetClassLongPtrA( HWND hwnd, INT offset, LONG_PTR newval ) ...@@ -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 ); if (offset == GCLP_MENUNAME) return set_menu_nameA( hwnd, offset, newval );
return NtUserSetClassLongPtr( hwnd, offset, newval, TRUE ); return NtUserSetClassLongPtr( hwnd, offset, newval, TRUE );
} }
#endif /* _WIN64 */
...@@ -1828,6 +1828,7 @@ BOOL WINAPI SetProcessDefaultLayout( DWORD layout ) ...@@ -1828,6 +1828,7 @@ BOOL WINAPI SetProcessDefaultLayout( DWORD layout )
return TRUE; return TRUE;
} }
#ifdef _WIN64
/* 64bit versions */ /* 64bit versions */
...@@ -1868,6 +1869,8 @@ LONG_PTR WINAPI SetWindowLongPtrA( HWND hwnd, INT offset, LONG_PTR newval ) ...@@ -1868,6 +1869,8 @@ LONG_PTR WINAPI SetWindowLongPtrA( HWND hwnd, INT offset, LONG_PTR newval )
return NtUserSetWindowLongPtr( hwnd, offset, newval, TRUE ); return NtUserSetWindowLongPtr( hwnd, offset, newval, TRUE );
} }
#endif /* _WIN64 */
/***************************************************************************** /*****************************************************************************
* RegisterTouchWindow (USER32.@) * RegisterTouchWindow (USER32.@)
*/ */
......
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