Home
last modified time | relevance | path

Searched refs:W32Thread (Results 1 – 9 of 9) sorted by relevance

/reactos/win32ss/user/ntuser/
H A Dobject.h29 PTHREADINFO W32Thread; in UserRefObjectCo() local
31 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() local
50 W32Thread = PsGetCurrentThreadWin32Thread(); in UserDerefObjectCo()
51 ASSERT(W32Thread != NULL); in UserDerefObjectCo()
52 ReferenceEntry = PopEntryList(&W32Thread->ReferencesList); in UserDerefObjectCo()
60 W32Thread->cRefObjectCo--; in UserDerefObjectCo()
H A Dcallback.c30 PTHREADINFO W32Thread; in IntCbAllocateMemory() local
39 W32Thread = PsGetCurrentThreadWin32Thread(); in IntCbAllocateMemory()
40 ASSERT(W32Thread); in IntCbAllocateMemory()
44 InsertTailList(&W32Thread->W32CallbackListHead, &Mem->ListEntry); in IntCbAllocateMemory()
53 PTHREADINFO W32Thread; in IntCbFreeMemory() local
55 W32Thread = PsGetCurrentThreadWin32Thread(); in IntCbFreeMemory()
56 ASSERT(W32Thread); in IntCbFreeMemory()
58 if (W32Thread->TIF_flags & TIF_INCLEANUP) in IntCbFreeMemory()
76 IntCleanupThreadCallbacks(PTHREADINFO W32Thread) in IntCleanupThreadCallbacks() argument
81 while (!IsListEmpty(&W32Thread->W32CallbackListHead)) in IntCleanupThreadCallbacks()
[all …]
H A Dmisc.c414 PTHREADINFO W32Thread, pti; in NtUserGetGUIThreadInfo() local
438 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()
H A Dinput.h61 BOOL FASTCALL IntBlockInput(PTHREADINFO W32Thread, BOOL BlockIt);
65 #define ThreadHasInputAccess(W32Thread) (TRUE) argument
H A Dwindow.h32 #define IntWndBelongsToThread(WndObj, W32Thread) \ argument
33 ((WndObj->head.pti) && (WndObj->head.pti == W32Thread))
H A Dcallback.h50 IntCleanupThreadCallbacks(PTHREADINFO W32Thread);
H A Dmain.c373 OUT PTHREADINFO* W32Thread) in AllocW32Thread() argument
403 *W32Thread = ptiCurrent; in AllocW32Thread()
H A Dwindow.c1627 PTHREADINFO W32Thread; in NtUserBuildHwndList() local
1638 if (!(W32Thread = (PTHREADINFO)Thread->Tcb.Win32Thread)) in NtUserBuildHwndList()
1656 if (Window && Window->head.pti == W32Thread) in NtUserBuildHwndList()
/reactos/win32ss/gdi/eng/
H A Dsemaphor.c44 PTHREADINFO W32Thread; in _Acquires_lock_() local
54 W32Thread = PsGetThreadWin32Thread(PsGetCurrentThread()); in _Acquires_lock_()
55 if (W32Thread) W32Thread->dwEngAcquireCount++; in _Acquires_lock_()
70 PTHREADINFO W32Thread; in _Releases_lock_() local
79 W32Thread = PsGetThreadWin32Thread(PsGetCurrentThread()); in _Releases_lock_()
80 if (W32Thread) --W32Thread->dwEngAcquireCount; in _Releases_lock_()