ExReleaseRundownProtection function (wdm.h)
The ExReleaseRundownProtection routine releases run-down protection that the caller previously acquired by calling the ExAcquireRundownProtection routine.
Syntax
void ExReleaseRundownProtection(
[in, out] PEX_RUNDOWN_REF RunRef
);
Parameters
[in, out] RunRef
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.
As long as the run-down block itself is nonpaged, this function can be called at DISPATCH_LEVEL.
For more information, see Run-Down Protection.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows XP. |
Target Platform | Universal |
Header | wdm.h (include Wdm.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | <= DISPATCH_LEVEL (see Remarks) |
DDI compliance rules | HwStorPortProhibitedDDIs(storport) |