/reactos/dll/3rdparty/libtirpc/src/ |
H A D | clnt_vc.c | 186 vc_fd_locks[WINSOCK_HANDLE_HASH(fd)] != GetCurrentThreadId()) \ 188 vc_fd_locks[WINSOCK_HANDLE_HASH(fd)] = GetCurrentThreadId(); \ 211 fprintf(stderr/*stdout*/, "%04x: Creating callback thread\n", GetCurrentThreadId()); in clnt_cb_thread() 226 vc_fd_locks[WINSOCK_HANDLE_HASH(ct->ct_fd)] = GetCurrentThreadId(); in clnt_cb_thread() 268 GetCurrentThreadId(), in clnt_cb_thread() 283 fprintf(stdout, "%04x: cb: replying to xid %d\n", GetCurrentThreadId(), in clnt_cb_thread() 299 fprintf(stderr, "%04x: failed to send REPLY\n", GetCurrentThreadId()); in clnt_cb_thread() 490 GetCurrentThreadId(), cl->cb_thread); 596 vc_fd_locks[WINSOCK_HANDLE_HASH(ct->ct_fd)] = GetCurrentThreadId(); 925 GetCurrentThreadId(), cl->cb_thread); [all …]
|
/reactos/modules/rostests/winetests/user32/ |
H A D | winstation.c | 73 d1 = GetThreadDesktop(GetCurrentThreadId()); in thread() 96 d1 = GetThreadDesktop(GetCurrentThreadId()); in thread() 245 d1 = GetThreadDesktop(GetCurrentThreadId()); in test_handles() 247 ok( GetThreadDesktop(GetCurrentThreadId()) == d1, in test_handles() 323 d2 = GetThreadDesktop(GetCurrentThreadId()); in test_handles() 609 thread_desk = GetThreadDesktop(GetCurrentThreadId()); in test_inputdesktop() 633 thread_desk = GetThreadDesktop(GetCurrentThreadId()); in test_inputdesktop() 647 thread_desk = GetThreadDesktop(GetCurrentThreadId()); in test_inputdesktop() 681 thread_desk = GetThreadDesktop(GetCurrentThreadId()); in test_inputdesktop() 754 hdesk = GetThreadDesktop(GetCurrentThreadId()); in test_inputdesktop2() [all …]
|
/reactos/sdk/lib/drivers/wdf/shared/inc/primitives/um/ |
H A D | mxpagedlockum.h | 67 DWORD threadId = GetCurrentThreadId(); in Acquire() 73 m_Lock.OwnerThreadId = GetCurrentThreadId(); in Acquire()
|
H A D | mxlockum.h | 82 DWORD threadId = GetCurrentThreadId(); in Acquire() 106 DWORD threadId = GetCurrentThreadId(); in TryToAcquire()
|
/reactos/modules/rostests/apitests/user32/ |
H A D | SetCursorPos.c | 97 …eHook = SetWindowsHookExW(WH_MOUSE, MouseHookProc, GetModuleHandleW( NULL ), GetCurrentThreadId()); in Test_SetCursorPos() 165 hDeskInitial = GetThreadDesktop(GetCurrentThreadId()); in Test_DesktopAccess() 174 ok(GetThreadDesktop(GetCurrentThreadId()) == hDesk, "SetThreadDesktop had no effect\n"); in Test_DesktopAccess()
|
H A D | SetParent.c | 73 …ok(GetCurrentThreadId() == dwThreadId, "Thread 0x%lx instead of 0x%lx\n", GetCurrentThreadId(), dw… in WndProc() 121 dwThreadId = GetCurrentThreadId(); in START_TEST()
|
H A D | desktop.c | 52 hdesktop = GetThreadDesktop(GetCurrentThreadId()); in do_InitialDesktop_child() 201 hDeskInitial = GetThreadDesktop( GetCurrentThreadId() ); in Test_OpenInputDesktop() 386 hdesk1 = GetThreadDesktop(GetCurrentThreadId()); in Test_References() 396 …ok (GetThreadDesktop(GetCurrentThreadId()) == hdesk, "Expected GetThreadDesktop to return hdesk\n"… in Test_References() 400 …ok (GetThreadDesktop(GetCurrentThreadId()) == hdesk1, "Expected GetThreadDesktop to return hdesk1\… in Test_References()
|
H A D | SendMessageTimeout.c | 77 if (GetCurrentThreadId() == dwThread1) in WndProc() 90 return SendMessage(hWndThread2, WM_SENDTOOTHERTHREAD, wParam + 1, GetCurrentThreadId()); in WndProc() 95 return SendMessage(hWndThread1, WM_SENDTOOTHERTHREAD, wParam + 1, GetCurrentThreadId()); in WndProc()
|
/reactos/modules/rostests/winetests/atl/ |
H A D | module.c | 81 …ok(create_data[0].m_dwThreadID == GetCurrentThreadId(), "unexpected create_data[0].m_dwThreadID %x… in test_winmodule() 88 …ok(create_data[1].m_dwThreadID == GetCurrentThreadId(), "unexpected create_data[1].m_dwThreadID %x… in test_winmodule() 95 …ok(create_data[2].m_dwThreadID == GetCurrentThreadId(), "unexpected create_data[2].m_dwThreadID %x… in test_winmodule()
|
/reactos/dll/win32/msi/ |
H A D | handle.c | 124 entry->dwThreadId = GetCurrentThreadId(); in alloc_msihandle() 147 entry->dwThreadId = GetCurrentThreadId(); in alloc_msi_remote_handle() 334 if (handle_table[i].dwThreadId == GetCurrentThreadId()) in MsiCloseAllHandles()
|
/reactos/modules/rostests/apitests/ntdll/ |
H A D | RtlCriticalSection.c | 288 ok_ptr(CritSect.OwningThread, UlongToHandle(GetCurrentThreadId())); in Test_Acquire() 296 ok_ptr(CritSect.OwningThread, UlongToHandle(GetCurrentThreadId())); in Test_Acquire() 316 ok_ptr(CritSect.OwningThread, UlongToHandle(GetCurrentThreadId())); in Test_Acquire() 331 ok_ptr(CritSect.OwningThread, UlongToHandle(GetCurrentThreadId())); in Test_Acquire()
|
H A D | NtImpersonateAnonymousToken.c | 20 Thread = OpenThread(DesiredAccess, FALSE, GetCurrentThreadId()); in GetThreadFromCurrentProcess()
|
/reactos/modules/rostests/apitests/imm32/ |
H A D | ImmEnumInputContext.c | 83 ok_int(ImmEnumInputContext(GetCurrentThreadId(), ImcEnumProc, 0xBEEFCAFE), TRUE); in AnotherThreadFunc() 130 ok_int(ImmEnumInputContext(GetCurrentThreadId(), ImcEnumProc, 0xAC1DFACE), TRUE); in OnInitDialog()
|
/reactos/dll/win32/vbscript/ |
H A D | vbscript.c | 411 if(InterlockedCompareExchange(&This->thread_id, GetCurrentThreadId(), 0)) in VBScript_SetScriptSite() 444 if(This->thread_id && GetCurrentThreadId() != This->thread_id) in VBScript_SetScriptState() 490 if(This->thread_id && This->thread_id != GetCurrentThreadId()) in VBScript_GetScriptState() 503 if(This->thread_id && This->thread_id != GetCurrentThreadId()) in VBScript_Close() 519 if(This->thread_id != GetCurrentThreadId() || !This->ctx->site) in VBScript_AddNamedItem() 582 if(This->thread_id != GetCurrentThreadId() || !This->ctx->script_obj) { in VBScript_GetScriptDispatch() 774 if(This->thread_id != GetCurrentThreadId() || This->state == SCRIPTSTATE_CLOSED) in VBScriptParse_ParseScriptText() 846 if(This->thread_id != GetCurrentThreadId() || This->state == SCRIPTSTATE_CLOSED) in VBScriptParseProcedure_ParseProcedureText()
|
/reactos/dll/win32/jscript/ |
H A D | jscript.c | 440 if(InterlockedCompareExchange(&This->thread_id, GetCurrentThreadId(), 0)) in JScript_SetScriptSite() 467 if(This->thread_id && GetCurrentThreadId() != This->thread_id) in JScript_SetScriptState() 510 if(This->thread_id && This->thread_id != GetCurrentThreadId()) in JScript_GetScriptState() 523 if(This->thread_id && This->thread_id != GetCurrentThreadId()) in JScript_Close() 540 …if(This->thread_id != GetCurrentThreadId() || !This->ctx || This->ctx->state == SCRIPTSTATE_CLOSED) in JScript_AddNamedItem() 606 if(This->thread_id != GetCurrentThreadId() || !This->ctx->global) { in JScript_GetScriptDispatch() 766 if(This->thread_id != GetCurrentThreadId() || This->ctx->state == SCRIPTSTATE_CLOSED) in JScriptParse_ParseScriptText() 859 if(This->thread_id != GetCurrentThreadId() || This->ctx->state == SCRIPTSTATE_CLOSED) in JScriptParseProcedure_ParseProcedureText()
|
/reactos/sdk/lib/crt/process/ |
H A D | threadid.c | 10 return GetCurrentThreadId(); in __threadid()
|
/reactos/modules/rostests/win32/kernel32/queuetest/ |
H A D | queuetest.c | 18 printf("TestProc%d thread 0x%lx context 0x%p\n", n, GetCurrentThreadId(), ctx);\
|
/reactos/modules/rostests/winetests/urlmon/ |
H A D | url.c | 933 ok(GetCurrentThreadId() == thread_id, "wrong thread %d\n", GetCurrentThreadId()); in Protocol_Continue() 1251 ok(GetCurrentThreadId() == thread_id, "wrong thread %d\n", GetCurrentThreadId()); in HttpNegotiate_BeginningTransaction() 1267 ok(GetCurrentThreadId() == thread_id, "wrong thread %d\n", GetCurrentThreadId()); in HttpNegotiate_OnResponse() 1287 ok(GetCurrentThreadId() == thread_id, "wrong thread %d\n", GetCurrentThreadId()); in HttpNegotiate_GetRootSecurityId() 1510 ok(GetCurrentThreadId() == thread_id, "wrong thread %d\n", GetCurrentThreadId()); in statusclb_QueryInterface() 1601 ok(GetCurrentThreadId() == thread_id, "wrong thread %d\n", GetCurrentThreadId()); in statusclb_OnStartBinding() 1659 ok(GetCurrentThreadId() == thread_id, "wrong thread %d\n", GetCurrentThreadId()); in statusclb_OnProgress() 1860 ok(GetCurrentThreadId() == thread_id, "wrong thread %d\n", GetCurrentThreadId()); in statusclb_OnStopBinding() 1952 ok(GetCurrentThreadId() == thread_id, "wrong thread %d\n", GetCurrentThreadId()); in statusclb_GetBindInfo() 2000 ok(GetCurrentThreadId() == thread_id, "wrong thread %d\n", GetCurrentThreadId()); in statusclb_OnDataAvailable() [all …]
|
/reactos/sdk/lib/crt/misc/ |
H A D | tls.c | 41 ptr->tid = GetCurrentThreadId(); in msvcrt_get_thread_data()
|
/reactos/dll/3rdparty/libtirpc/tirpc/ |
H A D | reentrant.h | 150 #define thr_self() GetCurrentThreadId()
|
/reactos/base/services/nfsd/ |
H A D | daemon_debug.c | 77 fprintf(dlog_file, "%04x: ", GetCurrentThreadId()); in dprintf() 90 fprintf(elog_file, "%04x: ", GetCurrentThreadId()); in eprintf() 528 fprintf(dlog_file, "%04x: sr_status_flags: ", GetCurrentThreadId()); in print_sr_status_flags()
|
/reactos/modules/rosapps/templates/mdi/ |
H A D | framewnd.c | 113 hcbthook = SetWindowsHookEx(WH_CBT, CBTProc, 0, GetCurrentThreadId()); 178 hcbthook = SetWindowsHookEx(WH_CBT, CBTProc, 0, GetCurrentThreadId()); in InitChildWindow()
|
/reactos/sdk/lib/3rdparty/libxml2/ |
H A D | threads.c | 763 return GetCurrentThreadId(); in xmlGetThreadId() 799 return (mainthread == GetCurrentThreadId()); in xmlIsMainThread() 966 mainthread = GetCurrentThreadId(); in xmlOnceInit()
|
/reactos/modules/rostests/winetests/ntdll/ |
H A D | threadpool.c | 166 info->threadid = GetCurrentThreadId(); in rtl_wait_cb() 862 group_cancel_tid = GetCurrentThreadId(); in group_cancel_cleanup_release_cb() 871 group_cancel_tid = GetCurrentThreadId(); in group_cancel_cleanup_release2_cb() 879 group_cancel_tid = GetCurrentThreadId(); in group_cancel_cleanup_increment_cb() 977 ok(group_cancel_tid == GetCurrentThreadId(), "expected tid %x, got %x\n", in test_tp_group_cancel() 978 GetCurrentThreadId(), group_cancel_tid); in test_tp_group_cancel() 1000 ok(group_cancel_tid == GetCurrentThreadId(), "expected tid %x, got %x\n", in test_tp_group_cancel() 1001 GetCurrentThreadId(), group_cancel_tid); in test_tp_group_cancel() 1052 ok(group_cancel_tid == GetCurrentThreadId(), "expected tid %x, got %x\n", in test_tp_group_cancel() 1053 GetCurrentThreadId(), group_cancel_tid); in test_tp_group_cancel()
|
/reactos/sdk/lib/crt/startup/ |
H A D | gs_support.c | 76 cookie ^= GetCurrentThreadId (); in __security_init_cookie()
|