xref: /reactos/sdk/lib/crt/process/threadid.c (revision 5100859e)
1 #include <precomp.h>
2 #include <process.h>
3 
4 
5 /*
6  * @implemented
7  */
8 unsigned long __threadid (void)
9 {
10    return GetCurrentThreadId();
11 }
12 
13 /*
14  * @implemented
15  */
16 uintptr_t __threadhandle()
17 {
18    return (uintptr_t)GetCurrentThread();
19 }
20