[NTUSER] Follow-up of #4277 (ea1353e)

According to ThFabba, NtUserSetThreadLayoutHandles returns zero.
CORE-11700
This commit is contained in:
Katayama Hirofumi MZ 2022-01-13 10:41:03 +09:00
parent ea1353e4be
commit 48827cf6c5
2 changed files with 3 additions and 2 deletions

View file

@ -3313,7 +3313,7 @@ NtUserSetSystemTimer(
UINT uElapse, UINT uElapse,
TIMERPROC lpTimerFunc); TIMERPROC lpTimerFunc);
VOID DWORD
NTAPI NTAPI
NtUserSetThreadLayoutHandles(HKL hNewKL, HKL hOldKL); NtUserSetThreadLayoutHandles(HKL hNewKL, HKL hOldKL);

View file

@ -1023,7 +1023,7 @@ Quit:
return Status; return Status;
} }
VOID DWORD
APIENTRY APIENTRY
NtUserSetThreadLayoutHandles(HKL hNewKL, HKL hOldKL) NtUserSetThreadLayoutHandles(HKL hNewKL, HKL hOldKL)
{ {
@ -1048,6 +1048,7 @@ NtUserSetThreadLayoutHandles(HKL hNewKL, HKL hOldKL)
Quit: Quit:
UserLeave(); UserLeave();
return 0;
} }
BOOL BOOL