AcquireSRWLockExclusive function

Acquires a slim reader/writer (SRW) lock in exclusive mode.

Syntax

void AcquireSRWLockExclusive(
  PSRWLOCK SRWLock
);

Parameters

SRWLock

A pointer to the SRW lock.

Return Value

This function does not return a value.

Requirements

   
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header synchapi.h (include Windows 7, Windows Server 2008 Windows Server 2008 R2, Windows.h)
Library Kernel32.lib
DLL Kernel32.dll

See Also

ReleaseSRWLockExclusive

Slim Reader/Writer (SRW) Locks

Synchronization Functions