KeInitializeGuardedMutex function

The KeInitializeGuardedMutex routine initializes a guarded mutex.

Syntax

void KeInitializeGuardedMutex(
  PKGUARDED_MUTEX Mutex
);

Parameters

Mutex

Pointer to the KGUARDED_MUTEX structure to initialize. The storage must be 4-byte aligned on 32-bit platforms, and 8-byte aligned on 64-bit platforms.

Return Value

None

Remarks

Guarded mutexes must be allocated from nonpaged pool.

For more information about guarded mutexes, see Fast Mutexes and Guarded Mutexes.

Requirements

   
Minimum supported client Available in Windows Server 2003 with Service Pack 1 (SP1) and later versions of Windows.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <= APC_LEVEL
DDI compliance rules HwStorPortProhibitedDDIs

See Also

KGUARDED_MUTEX

KeAcquireGuardedMutex