mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
[NTOSKRNL]: I fail.
svn path=/trunk/; revision=57285
This commit is contained in:
@@ -184,16 +184,21 @@ extern PSECURITY_DESCRIPTOR SeUnrestrictedSd;
|
||||
|
||||
|
||||
#define SepAcquireTokenLockExclusive(Token) \
|
||||
{ \
|
||||
KeEnterCriticalRegion(); \
|
||||
ExAcquireResourceExclusive(((PTOKEN)Token)->TokenLock, TRUE); \
|
||||
|
||||
}
|
||||
#define SepAcquireTokenLockShared(Token) \
|
||||
{ \
|
||||
KeEnterCriticalRegion(); \
|
||||
ExAcquireResourceShared(((PTOKEN)Token)->TokenLock, TRUE); \
|
||||
}
|
||||
|
||||
#define SepReleaseTokenLock(Token) \
|
||||
{ \
|
||||
ExReleaseResource(((PTOKEN)Token)->TokenLock); \
|
||||
KeLeaveCriticalRegion(); \
|
||||
}
|
||||
|
||||
//
|
||||
// Token Functions
|
||||
|
||||
Reference in New Issue
Block a user