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
285620b1
Commit
285620b1
authored
Oct 10, 2023
by
Connor McAdams
Committed by
Alexandre Julliard
Oct 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Fix NtUserIsCurrent{Process/Thread}Window enum typo.
Signed-off-by:
Connor McAdams
<
cmcadams@codeweavers.com
>
parent
ee7d047d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
win.c
dlls/user32/win.c
+2
-2
window.c
dlls/win32u/window.c
+2
-2
ntuser.h
include/ntuser.h
+2
-2
No files found.
dlls/user32/win.c
View file @
285620b1
...
@@ -113,7 +113,7 @@ static inline BOOL is_broadcast( HWND hwnd )
...
@@ -113,7 +113,7 @@ static inline BOOL is_broadcast( HWND hwnd )
*/
*/
HWND
WIN_IsCurrentProcess
(
HWND
hwnd
)
HWND
WIN_IsCurrentProcess
(
HWND
hwnd
)
{
{
return
UlongToHandle
(
NtUserCallHwnd
(
hwnd
,
NtUserIsCurre
h
tProcessWindow
));
return
UlongToHandle
(
NtUserCallHwnd
(
hwnd
,
NtUserIsCurre
n
tProcessWindow
));
}
}
...
@@ -124,7 +124,7 @@ HWND WIN_IsCurrentProcess( HWND hwnd )
...
@@ -124,7 +124,7 @@ HWND WIN_IsCurrentProcess( HWND hwnd )
*/
*/
HWND
WIN_IsCurrentThread
(
HWND
hwnd
)
HWND
WIN_IsCurrentThread
(
HWND
hwnd
)
{
{
return
UlongToHandle
(
NtUserCallHwnd
(
hwnd
,
NtUserIsCurre
h
tThreadWindow
));
return
UlongToHandle
(
NtUserCallHwnd
(
hwnd
,
NtUserIsCurre
n
tThreadWindow
));
}
}
...
...
dlls/win32u/window.c
View file @
285620b1
...
@@ -5474,10 +5474,10 @@ ULONG_PTR WINAPI NtUserCallHwnd( HWND hwnd, DWORD code )
...
@@ -5474,10 +5474,10 @@ ULONG_PTR WINAPI NtUserCallHwnd( HWND hwnd, DWORD code )
case
NtUserGetFullWindowHandle
:
case
NtUserGetFullWindowHandle
:
return
HandleToUlong
(
get_full_window_handle
(
hwnd
));
return
HandleToUlong
(
get_full_window_handle
(
hwnd
));
case
NtUserIsCurre
h
tProcessWindow
:
case
NtUserIsCurre
n
tProcessWindow
:
return
HandleToUlong
(
is_current_process_window
(
hwnd
));
return
HandleToUlong
(
is_current_process_window
(
hwnd
));
case
NtUserIsCurre
h
tThreadWindow
:
case
NtUserIsCurre
n
tThreadWindow
:
return
HandleToUlong
(
is_current_thread_window
(
hwnd
));
return
HandleToUlong
(
is_current_thread_window
(
hwnd
));
default:
default:
...
...
include/ntuser.h
View file @
285620b1
...
@@ -1071,8 +1071,8 @@ enum
...
@@ -1071,8 +1071,8 @@ enum
NtUserCallHwnd_SetTaskmanWindow
,
NtUserCallHwnd_SetTaskmanWindow
,
/* temporary exports */
/* temporary exports */
NtUserGetFullWindowHandle
,
NtUserGetFullWindowHandle
,
NtUserIsCurre
h
tProcessWindow
,
NtUserIsCurre
n
tProcessWindow
,
NtUserIsCurre
h
tThreadWindow
,
NtUserIsCurre
n
tThreadWindow
,
};
};
static
inline
void
NtUserActivateOtherWindow
(
HWND
hwnd
)
static
inline
void
NtUserActivateOtherWindow
(
HWND
hwnd
)
...
...
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