Searched refs:W32Thread (Results 1 – 9 of 9) sorted by relevance
29 PTHREADINFO W32Thread; in UserRefObjectCo() local31 W32Thread = PsGetCurrentThreadWin32Thread(); in UserRefObjectCo()32 ASSERT(W32Thread != NULL); in UserRefObjectCo()36 PushEntryList(&W32Thread->ReferencesList, &UserReferenceEntry->Entry); in UserRefObjectCo()38 W32Thread->cRefObjectCo++; in UserRefObjectCo()45 PTHREADINFO W32Thread; in UserDerefObjectCo() local50 W32Thread = PsGetCurrentThreadWin32Thread(); in UserDerefObjectCo()51 ASSERT(W32Thread != NULL); in UserDerefObjectCo()52 ReferenceEntry = PopEntryList(&W32Thread->ReferencesList); in UserDerefObjectCo()60 W32Thread->cRefObjectCo--; in UserDerefObjectCo()
30 PTHREADINFO W32Thread; in IntCbAllocateMemory() local39 W32Thread = PsGetCurrentThreadWin32Thread(); in IntCbAllocateMemory()40 ASSERT(W32Thread); in IntCbAllocateMemory()44 InsertTailList(&W32Thread->W32CallbackListHead, &Mem->ListEntry); in IntCbAllocateMemory()53 PTHREADINFO W32Thread; in IntCbFreeMemory() local55 W32Thread = PsGetCurrentThreadWin32Thread(); in IntCbFreeMemory()56 ASSERT(W32Thread); in IntCbFreeMemory()58 if (W32Thread->TIF_flags & TIF_INCLEANUP) in IntCbFreeMemory()76 IntCleanupThreadCallbacks(PTHREADINFO W32Thread) in IntCleanupThreadCallbacks() argument81 while (!IsListEmpty(&W32Thread->W32CallbackListHead)) in IntCleanupThreadCallbacks()[all …]
414 PTHREADINFO W32Thread, pti; in NtUserGetGUIThreadInfo() local438 W32Thread = IntTID2PTI(UlongToHandle(idThread)); in NtUserGetGUIThreadInfo()440 if ( !W32Thread ) in NtUserGetGUIThreadInfo()446 Desktop = W32Thread->rpdesk; in NtUserGetGUIThreadInfo()455 if ( W32Thread->MessageQueue ) in NtUserGetGUIThreadInfo()456 MsgQueue = W32Thread->MessageQueue; in NtUserGetGUIThreadInfo()
61 BOOL FASTCALL IntBlockInput(PTHREADINFO W32Thread, BOOL BlockIt);65 #define ThreadHasInputAccess(W32Thread) (TRUE) argument
32 #define IntWndBelongsToThread(WndObj, W32Thread) \ argument33 ((WndObj->head.pti) && (WndObj->head.pti == W32Thread))
50 IntCleanupThreadCallbacks(PTHREADINFO W32Thread);
373 OUT PTHREADINFO* W32Thread) in AllocW32Thread() argument403 *W32Thread = ptiCurrent; in AllocW32Thread()
1627 PTHREADINFO W32Thread; in NtUserBuildHwndList() local1638 if (!(W32Thread = (PTHREADINFO)Thread->Tcb.Win32Thread)) in NtUserBuildHwndList()1656 if (Window && Window->head.pti == W32Thread) in NtUserBuildHwndList()
44 PTHREADINFO W32Thread; in _Acquires_lock_() local54 W32Thread = PsGetThreadWin32Thread(PsGetCurrentThread()); in _Acquires_lock_()55 if (W32Thread) W32Thread->dwEngAcquireCount++; in _Acquires_lock_()70 PTHREADINFO W32Thread; in _Releases_lock_() local79 W32Thread = PsGetThreadWin32Thread(PsGetCurrentThread()); in _Releases_lock_()80 if (W32Thread) --W32Thread->dwEngAcquireCount; in _Releases_lock_()