mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 00:03:38 +00:00
win32u: Move NtUserRealChildWindowFromPoint implementation from user32.
This commit is contained in:
parent
fab6c2d687
commit
026700027e
|
@ -107,8 +107,7 @@ HWND WINAPI ChildWindowFromPoint( HWND parent, POINT pt )
|
|||
*/
|
||||
HWND WINAPI RealChildWindowFromPoint( HWND parent, POINT pt )
|
||||
{
|
||||
return NtUserChildWindowFromPointEx( parent, pt.x, pt.y,
|
||||
CWP_SKIPTRANSPARENT | CWP_SKIPINVISIBLE );
|
||||
return NtUserRealChildWindowFromPoint( parent, pt.x, pt.y );
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
|
|
|
@ -239,6 +239,7 @@ static void * const syscalls[] =
|
|||
NtUserPostThreadMessage,
|
||||
NtUserPrintWindow,
|
||||
NtUserQueryInputContext,
|
||||
NtUserRealChildWindowFromPoint,
|
||||
NtUserRedrawWindow,
|
||||
NtUserRegisterClassExWOW,
|
||||
NtUserRegisterHotKey,
|
||||
|
|
|
@ -1117,7 +1117,7 @@
|
|||
@ stdcall -syscall NtUserQueryInputContext(long long)
|
||||
@ stub NtUserQuerySendMessage
|
||||
@ stub NtUserQueryWindow
|
||||
@ stub NtUserRealChildWindowFromPoint
|
||||
@ stdcall -syscall NtUserRealChildWindowFromPoint(long long long)
|
||||
@ stub NtUserRealInternalGetMessage
|
||||
@ stub NtUserRealWaitMessageEx
|
||||
@ stdcall -syscall NtUserRedrawWindow(long ptr long long)
|
||||
|
|
|
@ -2296,6 +2296,14 @@ HWND WINAPI NtUserChildWindowFromPointEx( HWND parent, LONG x, LONG y, UINT flag
|
|||
return ret;
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
* NtUserRealChildWindowFromPoint (win32u.@)
|
||||
*/
|
||||
HWND WINAPI NtUserRealChildWindowFromPoint( HWND parent, LONG x, LONG y )
|
||||
{
|
||||
return NtUserChildWindowFromPointEx( parent, x, y, CWP_SKIPTRANSPARENT | CWP_SKIPINVISIBLE );
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
* get_work_rect
|
||||
*
|
||||
|
|
|
@ -225,6 +225,7 @@
|
|||
SYSCALL_ENTRY( NtUserPostThreadMessage ) \
|
||||
SYSCALL_ENTRY( NtUserPrintWindow ) \
|
||||
SYSCALL_ENTRY( NtUserQueryInputContext ) \
|
||||
SYSCALL_ENTRY( NtUserRealChildWindowFromPoint ) \
|
||||
SYSCALL_ENTRY( NtUserRedrawWindow ) \
|
||||
SYSCALL_ENTRY( NtUserRegisterClassExWOW ) \
|
||||
SYSCALL_ENTRY( NtUserRegisterHotKey ) \
|
||||
|
|
|
@ -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 )
|
||||
{
|
||||
const WNDCLASSEXW32 *wc32 = get_ptr( &args );
|
||||
|
|
|
@ -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 NtUserPrintWindow( HWND hwnd, HDC hdc, UINT flags );
|
||||
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 );
|
||||
ATOM WINAPI NtUserRegisterClassExWOW( const WNDCLASSEXW *wc, UNICODE_STRING *name, UNICODE_STRING *version,
|
||||
struct client_menu_name *client_menu_name, DWORD fnid, DWORD flags,
|
||||
|
|
Loading…
Reference in a new issue