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
7fc68b7a
Commit
7fc68b7a
authored
Dec 09, 2022
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Move GetTaskmanWindow implementation from user32.
parent
7d53e27c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
10 deletions
+25
-10
focus.c
dlls/user32/focus.c
+1
-10
input.c
dlls/win32u/input.c
+14
-0
sysparams.c
dlls/win32u/sysparams.c
+3
-0
win32u_private.h
dlls/win32u/win32u_private.h
+1
-0
ntuser.h
include/ntuser.h
+6
-0
No files found.
dlls/user32/focus.c
View file @
7fc68b7a
...
...
@@ -107,14 +107,5 @@ HWND WINAPI SetTaskmanWindow( HWND hwnd )
*/
HWND
WINAPI
GetTaskmanWindow
(
void
)
{
HWND
ret
=
0
;
SERVER_START_REQ
(
set_global_windows
)
{
req
->
flags
=
0
;
if
(
!
wine_server_call_err
(
req
))
ret
=
wine_server_ptr_handle
(
reply
->
old_taskman_window
);
}
SERVER_END_REQ
;
return
ret
;
return
NtUserGetTaskmanWindow
();
}
dlls/win32u/input.c
View file @
7fc68b7a
...
...
@@ -2234,6 +2234,20 @@ HWND set_progman_window( HWND hwnd )
return
hwnd
;
}
HWND
get_taskman_window
(
void
)
{
HWND
ret
=
0
;
SERVER_START_REQ
(
set_global_windows
)
{
req
->
flags
=
0
;
if
(
!
wine_server_call_err
(
req
))
ret
=
wine_server_ptr_handle
(
reply
->
old_taskman_window
);
}
SERVER_END_REQ
;
return
ret
;
}
HWND
set_taskman_window
(
HWND
hwnd
)
{
/* hwnd = MSTaskSwWClass
...
...
dlls/win32u/sysparams.c
View file @
7fc68b7a
...
...
@@ -5443,6 +5443,9 @@ ULONG_PTR WINAPI NtUserCallNoParam( ULONG code )
case
NtUserCallNoParam_GetShellWindow
:
return
HandleToUlong
(
get_shell_window
()
);
case
NtUserCallNoParam_GetTaskmanWindow
:
return
HandleToUlong
(
get_taskman_window
()
);
case
NtUserCallNoParam_ReleaseCapture
:
return
release_capture
();
...
...
dlls/win32u/win32u_private.h
View file @
7fc68b7a
...
...
@@ -273,6 +273,7 @@ extern HWND get_focus(void) DECLSPEC_HIDDEN;
extern
DWORD
get_input_state
(
void
)
DECLSPEC_HIDDEN
;
extern
HWND
get_progman_window
(
void
)
DECLSPEC_HIDDEN
;
extern
HWND
get_shell_window
(
void
)
DECLSPEC_HIDDEN
;
extern
HWND
get_taskman_window
(
void
)
DECLSPEC_HIDDEN
;
extern
BOOL
WINAPI
release_capture
(
void
)
DECLSPEC_HIDDEN
;
extern
BOOL
set_capture_window
(
HWND
hwnd
,
UINT
gui_flags
,
HWND
*
prev_ret
)
DECLSPEC_HIDDEN
;
extern
BOOL
set_caret_blink_time
(
unsigned
int
time
)
DECLSPEC_HIDDEN
;
...
...
include/ntuser.h
View file @
7fc68b7a
...
...
@@ -913,6 +913,7 @@ enum
NtUserCallNoParam_GetProcessDefaultLayout
,
NtUserCallNoParam_GetProgmanWindow
,
NtUserCallNoParam_GetShellWindow
,
NtUserCallNoParam_GetTaskmanWindow
,
NtUserCallNoParam_ReleaseCapture
,
/* temporary exports */
NtUserExitingThread
,
...
...
@@ -954,6 +955,11 @@ static inline HWND NtUserGetShellWindow(void)
return
UlongToHandle
(
NtUserCallNoParam
(
NtUserCallNoParam_GetShellWindow
));
}
static
inline
HWND
NtUserGetTaskmanWindow
(
void
)
{
return
UlongToHandle
(
NtUserCallNoParam
(
NtUserCallNoParam_GetTaskmanWindow
));
}
static
inline
BOOL
NtUserReleaseCapture
(
void
)
{
return
NtUserCallNoParam
(
NtUserCallNoParam_ReleaseCapture
);
...
...
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