CcWaitForCurrentLazyWriterActivity - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntifs.h

NTSTATUS CcWaitForCurrentLazyWriterActivity();
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntifs-ccwaitforcurrentlazywriteractivity)

CcWaitForCurrentLazyWriterActivity function

Description

The CcWaitForCurrentLazyWriterActivity routine puts the caller into a wait state until the current batch of lazy writer activity is completed.

Return value

CcWaitForCurrentLazyWriterActivity can return one of the following NTSTATUS values:

Remarks

CcWaitForCurrentLazyWriterActivity puts the calling thread into a wait state until all work items currently in the lazy writer (read ahead or write behind) work queue have completed.

To prevent deadlock, the caller should release any currently held synchronization objects before calling CcWaitForCurrentLazyWriterActivity.

See also

CcInitializeCacheMap

CcReadAhead

CcSetAdditionalCacheAttributes

CcSetReadAheadGranularity