https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d8946e20cbc756ed2f45e…
commit d8946e20cbc756ed2f45e099ae114c2e498d8c5a
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Wed May 10 20:24:21 2023 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Wed May 10 20:24:21 2023 +0900
[NTUSER] Implement THREADSTATE_CHECKCONIME (#5272)
- Add THREADSTATE_CHECKCONIME handling in NtUserGetThreadState function.
CORE-11700
---
win32ss/user/ntuser/misc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/win32ss/user/ntuser/misc.c b/win32ss/user/ntuser/misc.c
index e24e41b9a81..ae458de7a42 100644
--- a/win32ss/user/ntuser/misc.c
+++ b/win32ss/user/ntuser/misc.c
@@ -336,7 +336,7 @@ NtUserGetThreadState(
ret = (gpidLogon == PsGetCurrentProcessId());
break;
case THREADSTATE_CHECKCONIME:
- /* FIXME */
+ ret = (IntTID2PTI(UlongToHandle(pti->rpdesk->dwConsoleThreadId)) == pti);
break;
}