Expand Minimize

ExReleaseSpinLockExclusiveFromDpcLevel routine

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

Syntax


VOID ExReleaseSpinLockExclusiveFromDpcLevel(
  _Inout_  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

Version

Available starting with Windows Vista with SP1.

Header

Wdm.h

IRQL

>= DISPATCH_LEVEL (See Remarks.)

See also

ExAcquireSpinLockExclusiveAtDpcLevel

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft