https://git.reactos.org/?p=reactos.git;a=commitdiff;h=48827cf6c500c5797e493…
commit 48827cf6c500c5797e493922abe59bf1df800bed
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Thu Jan 13 10:41:03 2022 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Thu Jan 13 10:41:03 2022 +0900
[NTUSER] Follow-up of #4277 (ea1353e)
According to ThFabba, NtUserSetThreadLayoutHandles returns zero.
CORE-11700
---
win32ss/include/ntuser.h | 2 +-
win32ss/user/ntuser/ntstubs.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/win32ss/include/ntuser.h b/win32ss/include/ntuser.h
index 3770d2761b9..e6db897fa4b 100644
--- a/win32ss/include/ntuser.h
+++ b/win32ss/include/ntuser.h
@@ -3313,7 +3313,7 @@ NtUserSetSystemTimer(
UINT uElapse,
TIMERPROC lpTimerFunc);
-VOID
+DWORD
NTAPI
NtUserSetThreadLayoutHandles(HKL hNewKL, HKL hOldKL);
diff --git a/win32ss/user/ntuser/ntstubs.c b/win32ss/user/ntuser/ntstubs.c
index 000fd2bdf5d..226ad3980c5 100644
--- a/win32ss/user/ntuser/ntstubs.c
+++ b/win32ss/user/ntuser/ntstubs.c
@@ -1023,7 +1023,7 @@ Quit:
return Status;
}
-VOID
+DWORD
APIENTRY
NtUserSetThreadLayoutHandles(HKL hNewKL, HKL hOldKL)
{
@@ -1048,6 +1048,7 @@ NtUserSetThreadLayoutHandles(HKL hNewKL, HKL hOldKL)
Quit:
UserLeave();
+ return 0;
}
BOOL