Expand Minimize

ExReleaseRundownProtection routine

The ExReleaseRundownProtection routine releases run-down protection that the caller previously acquired by calling the ExAcquireRundownProtection routine.

Syntax


VOID ExReleaseRundownProtection(
  _Inout_  PEX_RUNDOWN_REF RunRef
);

Parameters

RunRef [in, out]

A pointer to an EX_RUNDOWN_REF structure that was initialized by a previous call to the ExInitializeRundownProtection routine. The run-down protection routines use this structure to track the run-down status of the associated shared object. This structure is opaque to drivers.

Return value

None.

Remarks

A driver that calls ExAcquireRundownProtection to acquire run-time protection for an object access is responsible for calling ExReleaseRundownProtection to release the run-time protection when the access is finished.

For more information, see Run-Down Protection.

Requirements

Version

Available starting with Windows XP.

Header

Wdm.h (include Wdm.h)

Library

Ntoskrnl.lib

IRQL

<= APC_LEVEL

DDI compliance rules

HwStorPortProhibitedDDIs

See also

ExAcquireRundownProtection
ExInitializeRundownProtection
EX_RUNDOWN_REF

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft