Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
02670002
Commit
02670002
authored
Dec 08, 2022
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Move NtUserRealChildWindowFromPoint implementation from user32.
parent
fab6c2d6
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
22 additions
and
3 deletions
+22
-3
winpos.c
dlls/user32/winpos.c
+1
-2
syscall.c
dlls/win32u/syscall.c
+1
-0
win32u.spec
dlls/win32u/win32u.spec
+1
-1
window.c
dlls/win32u/window.c
+8
-0
syscall.h
dlls/wow64win/syscall.h
+1
-0
user.c
dlls/wow64win/user.c
+9
-0
ntuser.h
include/ntuser.h
+1
-0
No files found.
dlls/user32/winpos.c
View file @
02670002
...
...
@@ -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
);
}
/*******************************************************************
...
...
dlls/win32u/syscall.c
View file @
02670002
...
...
@@ -239,6 +239,7 @@ static void * const syscalls[] =
NtUserPostThreadMessage
,
NtUserPrintWindow
,
NtUserQueryInputContext
,
NtUserRealChildWindowFromPoint
,
NtUserRedrawWindow
,
NtUserRegisterClassExWOW
,
NtUserRegisterHotKey
,
...
...
dlls/win32u/win32u.spec
View file @
02670002
...
...
@@ -1117,7 +1117,7 @@
@ stdcall -syscall NtUserQueryInputContext(long long)
@ stub NtUserQuerySendMessage
@ stub NtUserQueryWindow
@ st
ub NtUserRealChildWindowFromPoint
@ st
dcall -syscall NtUserRealChildWindowFromPoint(long long long)
@ stub NtUserRealInternalGetMessage
@ stub NtUserRealWaitMessageEx
@ stdcall -syscall NtUserRedrawWindow(long ptr long long)
...
...
dlls/win32u/window.c
View file @
02670002
...
...
@@ -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 the work area that a maximized window can cover, depending on style.
...
...
dlls/wow64win/syscall.h
View file @
02670002
...
...
@@ -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 ) \
...
...
dlls/wow64win/user.c
View file @
02670002
...
...
@@ -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
);
...
...
include/ntuser.h
View file @
02670002
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment