The ExReleaseFastMutexUnsafe routine releases ownership of a fast mutex that was acquired using ExAcquireFastMutexUnsafe.
VOID
ExReleaseFastMutexUnsafe(
IN PFAST_MUTEX FastMutex
);
None
Declared in wdm.h and ntddk.h. Include wdm.h or ntddk.h.
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.