Commit 02670002 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

win32u: Move NtUserRealChildWindowFromPoint implementation from user32.

parent fab6c2d6
...@@ -107,8 +107,7 @@ HWND WINAPI ChildWindowFromPoint( HWND parent, POINT pt ) ...@@ -107,8 +107,7 @@ HWND WINAPI ChildWindowFromPoint( HWND parent, POINT pt )
*/ */
HWND WINAPI RealChildWindowFromPoint( HWND parent, POINT pt ) HWND WINAPI RealChildWindowFromPoint( HWND parent, POINT pt )
{ {
return NtUserChildWindowFromPointEx( parent, pt.x, pt.y, return NtUserRealChildWindowFromPoint( parent, pt.x, pt.y );
CWP_SKIPTRANSPARENT | CWP_SKIPINVISIBLE );
} }
/******************************************************************* /*******************************************************************
......
...@@ -239,6 +239,7 @@ static void * const syscalls[] = ...@@ -239,6 +239,7 @@ static void * const syscalls[] =
NtUserPostThreadMessage, NtUserPostThreadMessage,
NtUserPrintWindow, NtUserPrintWindow,
NtUserQueryInputContext, NtUserQueryInputContext,
NtUserRealChildWindowFromPoint,
NtUserRedrawWindow, NtUserRedrawWindow,
NtUserRegisterClassExWOW, NtUserRegisterClassExWOW,
NtUserRegisterHotKey, NtUserRegisterHotKey,
......
...@@ -1117,7 +1117,7 @@ ...@@ -1117,7 +1117,7 @@
@ stdcall -syscall NtUserQueryInputContext(long long) @ stdcall -syscall NtUserQueryInputContext(long long)
@ stub NtUserQuerySendMessage @ stub NtUserQuerySendMessage
@ stub NtUserQueryWindow @ stub NtUserQueryWindow
@ stub NtUserRealChildWindowFromPoint @ stdcall -syscall NtUserRealChildWindowFromPoint(long long long)
@ stub NtUserRealInternalGetMessage @ stub NtUserRealInternalGetMessage
@ stub NtUserRealWaitMessageEx @ stub NtUserRealWaitMessageEx
@ stdcall -syscall NtUserRedrawWindow(long ptr long long) @ stdcall -syscall NtUserRedrawWindow(long ptr long long)
......
...@@ -2297,6 +2297,14 @@ HWND WINAPI NtUserChildWindowFromPointEx( HWND parent, LONG x, LONG y, UINT flag ...@@ -2297,6 +2297,14 @@ HWND WINAPI NtUserChildWindowFromPointEx( HWND parent, LONG x, LONG y, UINT flag
} }
/******************************************************************* /*******************************************************************
* NtUserRealChildWindowFromPoint (win32u.@)
*/
HWND WINAPI NtUserRealChildWindowFromPoint( HWND parent, LONG x, LONG y )
{
return NtUserChildWindowFromPointEx( parent, x, y, CWP_SKIPTRANSPARENT | CWP_SKIPINVISIBLE );
}
/*******************************************************************
* get_work_rect * get_work_rect
* *
* Get the work area that a maximized window can cover, depending on style. * Get the work area that a maximized window can cover, depending on style.
......
...@@ -225,6 +225,7 @@ ...@@ -225,6 +225,7 @@
SYSCALL_ENTRY( NtUserPostThreadMessage ) \ SYSCALL_ENTRY( NtUserPostThreadMessage ) \
SYSCALL_ENTRY( NtUserPrintWindow ) \ SYSCALL_ENTRY( NtUserPrintWindow ) \
SYSCALL_ENTRY( NtUserQueryInputContext ) \ SYSCALL_ENTRY( NtUserQueryInputContext ) \
SYSCALL_ENTRY( NtUserRealChildWindowFromPoint ) \
SYSCALL_ENTRY( NtUserRedrawWindow ) \ SYSCALL_ENTRY( NtUserRedrawWindow ) \
SYSCALL_ENTRY( NtUserRegisterClassExWOW ) \ SYSCALL_ENTRY( NtUserRegisterClassExWOW ) \
SYSCALL_ENTRY( NtUserRegisterHotKey ) \ SYSCALL_ENTRY( NtUserRegisterHotKey ) \
......
...@@ -2423,6 +2423,15 @@ NTSTATUS WINAPI wow64_NtUserGetRawInputDeviceList( UINT *args ) ...@@ -2423,6 +2423,15 @@ NTSTATUS WINAPI wow64_NtUserGetRawInputDeviceList( UINT *args )
} }
} }
NTSTATUS WINAPI wow64_NtUserRealChildWindowFromPoint( UINT *args )
{
HWND parent = get_handle( &args );
LONG x = get_ulong( &args );
LONG y = get_ulong( &args );
return HandleToUlong( NtUserRealChildWindowFromPoint( parent, x, y ));
}
NTSTATUS WINAPI wow64_NtUserRegisterClassExWOW( UINT *args ) NTSTATUS WINAPI wow64_NtUserRegisterClassExWOW( UINT *args )
{ {
const WNDCLASSEXW32 *wc32 = get_ptr( &args ); const WNDCLASSEXW32 *wc32 = get_ptr( &args );
......
...@@ -812,6 +812,7 @@ BOOL WINAPI NtUserPostMessage( HWND hwnd, UINT msg, WPARAM wparam, LPARAM lpa ...@@ -812,6 +812,7 @@ BOOL WINAPI NtUserPostMessage( HWND hwnd, UINT msg, WPARAM wparam, LPARAM lpa
BOOL WINAPI NtUserPostThreadMessage( DWORD thread, UINT msg, WPARAM wparam, LPARAM lparam ); BOOL WINAPI NtUserPostThreadMessage( DWORD thread, UINT msg, WPARAM wparam, LPARAM lparam );
BOOL WINAPI NtUserPrintWindow( HWND hwnd, HDC hdc, UINT flags ); BOOL WINAPI NtUserPrintWindow( HWND hwnd, HDC hdc, UINT flags );
UINT_PTR WINAPI NtUserQueryInputContext( HIMC handle, UINT attr ); UINT_PTR WINAPI NtUserQueryInputContext( HIMC handle, UINT attr );
HWND WINAPI NtUserRealChildWindowFromPoint( HWND parent, LONG x, LONG y );
BOOL WINAPI NtUserRedrawWindow( HWND hwnd, const RECT *rect, HRGN hrgn, UINT flags ); BOOL WINAPI NtUserRedrawWindow( HWND hwnd, const RECT *rect, HRGN hrgn, UINT flags );
ATOM WINAPI NtUserRegisterClassExWOW( const WNDCLASSEXW *wc, UNICODE_STRING *name, UNICODE_STRING *version, ATOM WINAPI NtUserRegisterClassExWOW( const WNDCLASSEXW *wc, UNICODE_STRING *name, UNICODE_STRING *version,
struct client_menu_name *client_menu_name, DWORD fnid, DWORD flags, struct client_menu_name *client_menu_name, DWORD fnid, DWORD flags,
......
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