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