ExReleaseSpinLockExclusiveFromDpcLevel function (wdm.h)

The ExReleaseSpinLockExclusiveFromDpcLevel routine releases a spin lock that the caller acquired for exclusive access, and leaves the IRQL unchanged.

Syntax

void ExReleaseSpinLockExclusiveFromDpcLevel(
  PEX_SPIN_LOCK SpinLock
);

Parameters

SpinLock

[in, out] A pointer to the spin lock to release. The caller must own this spin lock for exclusive access.

Return value

None

Remarks

On entry to this routine, the caller must be running at IRQL >= DISPATCH_LEVEL. This routine does not change the IRQL.

ExReleaseSpinLockExclusiveFromDpcLevel releases a spin lock that the caller acquired in a previous call to the ExAcquireSpinLockExclusiveAtDpcLevel routine.

The caller should hold the spin lock only briefly before releasing it. For more information, see Introduction to Spin Locks.

Requirements

Requirement Value
Minimum supported client Windows Vista SP1
Header wdm.h
IRQL IRQL >= DISPATCH_LEVEL

See also

ExAcquireSpinLockExclusiveAtDpcLevel