mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
- Implement and export PsGetCurrentThreadWin32ThreadAndEnterCriticalRegion.
svn path=/trunk/; revision=60318
This commit is contained in:
parent
7e3fbb3780
commit
e8b55a9f69
2 changed files with 12 additions and 1 deletions
|
@ -969,7 +969,7 @@
|
|||
@ stdcall PsGetCurrentThreadStackLimit()
|
||||
@ stdcall PsGetCurrentThreadTeb()
|
||||
@ stdcall PsGetCurrentThreadWin32Thread()
|
||||
;PsGetCurrentThreadWin32ThreadAndEnterCriticalRegion
|
||||
@ stdcall PsGetCurrentThreadWin32ThreadAndEnterCriticalRegion()
|
||||
@ stdcall PsGetJobLock(ptr)
|
||||
@ stdcall PsGetJobSessionId(ptr)
|
||||
@ stdcall PsGetJobUIRestrictionsClass(ptr)
|
||||
|
|
|
@ -796,6 +796,17 @@ PsGetCurrentThreadWin32Thread(VOID)
|
|||
return PsGetCurrentThread()->Tcb.Win32Thread;
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
PVOID
|
||||
NTAPI
|
||||
PsGetCurrentThreadWin32ThreadAndEnterCriticalRegion(VOID)
|
||||
{
|
||||
KeEnterCriticalRegion();
|
||||
return PsGetCurrentThread()->Tcb.Win32Thread;
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue