CcWaitForCurrentLazyWriterActivity function (ntifs.h)
The CcWaitForCurrentLazyWriterActivity routine puts the caller into a wait state until the current batch of lazy writer activity is completed.
Syntax
NTSTATUS CcWaitForCurrentLazyWriterActivity();
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 |
Target Platform | Universal |
Header | ntifs.h (include Ntifs.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
DDI compliance rules | HwStorPortProhibitedDDIs(storport), SpNoWait(storport) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for