#ifndef _NTRTL_H
// winbase:AcquireSRWLockExclusive
/**
* The RtlAcquireSRWLockExclusive routine acquires a slim reader/writer (SRW) lock in exclusive mode.
*
* \param SRWLock A pointer to the SRW lock.
* \remarks Use a stable caller-owned lock and release in the same acquired mode. Treat SRW locks as nonrecursive and provide any upgrade protocol externally. A successful try-acquire owns the lock; FALSE does not. The routines are not kernel-object handle operations.
*/
_Acquires_exclusive_lock_(*SRWLock)
NTSYSAPI
VOID
NTAPI
RtlAcquireSRWLockExclusive(
_Inout_ PRTL_SRWLOCK SRWLock
);
View code on GitHubNo description available.