KeReleaseGuardedMutex function (wdm.h)

The KeReleaseGuardedMutex routine releases a guarded mutex acquired with KeAcquireGuardedMutex or KeTryToAcquireGuardedMutex.

Syntax

void KeReleaseGuardedMutex(
  [in, out] PKGUARDED_MUTEX Mutex
);

Parameters

[in, out] Mutex

Pointer to the KGUARDED_MUTEX structure for the guarded mutex.

Return value

None

Remarks

KeReleaseGuardedMutex implicitly exits the guarded region entered by KeAcquireGuardedMutex and KeTryToAcquireGuardedMutex.

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

Requirements

Requirement Value
Minimum supported client Available in Windows Server 2003 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(storport), IrqlKeApcLte1(wdm)

See also

KeAcquireGuardedMutex