Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
7ecb1446
Commit
7ecb1446
authored
Mar 11, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Mar 20, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Stub NtUserBuildHimcList syscall.
parent
a865ce82
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
34 additions
and
1 deletion
+34
-1
imm.c
dlls/win32u/imm.c
+11
-0
syscall.c
dlls/win32u/syscall.c
+1
-0
win32u.spec
dlls/win32u/win32u.spec
+1
-1
syscall.h
dlls/wow64win/syscall.h
+1
-0
user.c
dlls/wow64win/user.c
+19
-0
ntuser.h
include/ntuser.h
+1
-0
No files found.
dlls/win32u/imm.c
View file @
7ecb1446
...
...
@@ -25,6 +25,8 @@
#endif
#include <pthread.h>
#include "ntstatus.h"
#define WIN32_NO_STATUS
#include "win32u_private.h"
#include "ntuser_private.h"
#include "immdev.h"
...
...
@@ -393,6 +395,15 @@ void cleanup_imm_thread(void)
NtUserDestroyInputContext
(
UlongToHandle
(
thread_info
->
client_info
.
default_imc
));
}
/*****************************************************************************
* NtUserBuildHimcList (win32u.@)
*/
NTSTATUS
WINAPI
NtUserBuildHimcList
(
UINT
thread_id
,
UINT
count
,
HIMC
*
buffer
,
UINT
*
size
)
{
FIXME
(
"thread_id %#x, count %u, buffer %p, size %p stub!
\n
"
,
thread_id
,
count
,
buffer
,
size
);
return
STATUS_NOT_IMPLEMENTED
;
}
BOOL
WINAPI
DECLSPEC_HIDDEN
ImmProcessKey
(
HWND
hwnd
,
HKL
hkl
,
UINT
vkey
,
LPARAM
key_data
,
DWORD
unknown
)
{
struct
imm_process_key_params
params
=
...
...
dlls/win32u/syscall.c
View file @
7ecb1446
...
...
@@ -106,6 +106,7 @@ static void * const syscalls[] =
NtUserAssociateInputContext
,
NtUserAttachThreadInput
,
NtUserBeginPaint
,
NtUserBuildHimcList
,
NtUserBuildHwndList
,
NtUserCallHwnd
,
NtUserCallHwndParam
,
...
...
dlls/win32u/win32u.spec
View file @
7ecb1446
...
...
@@ -762,7 +762,7 @@
@ stub NtUserBitBltSysBmp
@ stub NtUserBlockInput
@ stub NtUserBroadcastThemeChangeEvent
@ st
ub NtUserBuildHimcList
@ st
dcall -syscall NtUserBuildHimcList(long long ptr ptr)
@ stdcall -syscall NtUserBuildHwndList(long long long long long long ptr ptr)
@ stub NtUserBuildNameList
@ stub NtUserBuildPropList
...
...
dlls/wow64win/syscall.h
View file @
7ecb1446
...
...
@@ -92,6 +92,7 @@
SYSCALL_ENTRY( NtUserAssociateInputContext ) \
SYSCALL_ENTRY( NtUserAttachThreadInput ) \
SYSCALL_ENTRY( NtUserBeginPaint ) \
SYSCALL_ENTRY( NtUserBuildHimcList ) \
SYSCALL_ENTRY( NtUserBuildHwndList ) \
SYSCALL_ENTRY( NtUserCallHwnd ) \
SYSCALL_ENTRY( NtUserCallHwndParam ) \
...
...
dlls/wow64win/user.c
View file @
7ecb1446
...
...
@@ -1182,6 +1182,25 @@ NTSTATUS WINAPI wow64_NtUserBeginPaint( UINT *args )
return
HandleToUlong
(
ret
);
}
NTSTATUS
WINAPI
wow64_NtUserBuildHimcList
(
UINT
*
args
)
{
ULONG
thread_id
=
get_ulong
(
&
args
);
ULONG
count
=
get_ulong
(
&
args
);
UINT32
*
buffer32
=
get_ptr
(
&
args
);
UINT
*
size
=
get_ptr
(
&
args
);
HIMC
*
buffer
;
ULONG
i
;
NTSTATUS
status
;
if
(
!
(
buffer
=
Wow64AllocateTemp
(
count
*
sizeof
(
*
buffer
)
)))
return
STATUS_NO_MEMORY
;
if
((
status
=
NtUserBuildHimcList
(
thread_id
,
count
,
buffer
,
size
)))
return
status
;
for
(
i
=
0
;
i
<
*
size
;
i
++
)
buffer32
[
i
]
=
HandleToUlong
(
buffer
[
i
]
);
return
status
;
}
NTSTATUS
WINAPI
wow64_NtUserBuildHwndList
(
UINT
*
args
)
{
HDESK
desktop
=
get_handle
(
&
args
);
...
...
include/ntuser.h
View file @
7ecb1446
...
...
@@ -648,6 +648,7 @@ BOOL WINAPI NtUserAddClipboardFormatListener( HWND hwnd );
UINT
WINAPI
NtUserAssociateInputContext
(
HWND
hwnd
,
HIMC
ctx
,
ULONG
flags
);
BOOL
WINAPI
NtUserAttachThreadInput
(
DWORD
from
,
DWORD
to
,
BOOL
attach
);
HDC
WINAPI
NtUserBeginPaint
(
HWND
hwnd
,
PAINTSTRUCT
*
ps
);
NTSTATUS
WINAPI
NtUserBuildHimcList
(
UINT
thread_id
,
UINT
count
,
HIMC
*
buffer
,
UINT
*
size
);
NTSTATUS
WINAPI
NtUserBuildHwndList
(
HDESK
desktop
,
ULONG
unk2
,
ULONG
unk3
,
ULONG
unk4
,
ULONG
thread_id
,
ULONG
count
,
HWND
*
buffer
,
ULONG
*
size
);
ULONG_PTR
WINAPI
NtUserCallHwnd
(
HWND
hwnd
,
DWORD
code
);
...
...
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