ExAcquireRundownProtectionCacheAware function (wdm.h)

The ExAcquireRundownProtectionCacheAware routine tries to acquire cache-aware run-down protection on a shared object so the caller can safely access the object.

Syntax

BOOLEAN ExAcquireRundownProtectionCacheAware(
  [in, out] PEX_RUNDOWN_REF_CACHE_AWARE RunRefCacheAware
);

Parameters

[in, out] RunRefCacheAware

Pointer to the opaque EX_RUNDOWN_REF_CACHE_AWARE structure returned by a previous call to ExAllocateCacheAwareRundownProtection or ExInitializeRundownProtectionCacheAware.

Return value

Returns TRUE if rundown protection was acquired and FALSE if rundown is currently active or completed.

Requirements

Requirement Value
Minimum supported server Windows Server 2003, Service Pack 1
Header wdm.h (include Wdm.h)
DDI compliance rules HwStorPortProhibitedDDIs(storport)

See also

Cache-aware run-down protection

ExAcquireRundownProtectionCacheAwareEx

ExAllocateCacheAwareRundownProtection

ExFreeCacheAwareRundownProtection

ExInitializeRundownProtectionCacheAware

ExReInitializeRundownProtectionCacheAware

ExReleaseRundownProtectionCacheAware

ExReleaseRundownProtectionCacheAwareEx

ExRundownCompletedCacheAware

ExSizeOfRundownProtectionCacheAware

ExWaitForRundownProtectionReleaseCacheAware