Previous Next

ExReleaseFastMutexUnsafe

The ExReleaseFastMutexUnsafe routine releases ownership of a fast mutex that was acquired using ExAcquireFastMutexUnsafe.

VOID 
  ExReleaseFastMutexUnsafe(
    IN PFAST_MUTEX  FastMutex
    );

Parameters

FastMutex
Pointer to the fast mutex to be released.

Return Value

None

Headers

Declared in wdm.h and ntddk.h. Include wdm.h or ntddk.h.

Comments

It is a programming error to call ExReleaseFastMutexUnsafe with a FastMutex that was acquired using ExAcquireFastMutex or ExTryToAcquireFastMutex.

Callers of ExReleaseFastMutexUnsafe must be running at IRQL = APC_LEVEL unless the caller invokes both ExAcquireFastMutexUnsafe and ExReleaseFastMutexUnsafe from within a critical section, in which case the caller must be running at IRQL <= APC_LEVEL.

See Also

ExAcquireFastMutexUnsafe, ExInitializeFastMutex