KeInitializeGuardedMutex routine

The KeInitializeGuardedMutex routine initializes a guarded mutex.

Syntax


VOID KeInitializeGuardedMutex(
  _Out_ PKGUARDED_MUTEX Mutex
);

Parameters

Mutex [out]

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

Target platform

Universal

Version

Available in Windows Server 2003 with Service Pack 1 (SP1) and later versions of Windows.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

<= APC_LEVEL

DDI compliance rules

HwStorPortProhibitedDDIs

See also

KGUARDED_MUTEX
KeAcquireGuardedMutex

 

 

Send comments about this topic to Microsoft

Show: