CcIsThereDirtyData

CcIsThereDirtyData routine

The CcIsThereDirtyData routine determines whether a mounted volume contains any files that have dirty data in the system cache.

Syntax


BOOLEAN CcIsThereDirtyData(
  _In_ PVPB Vpb
);

Parameters

Vpb [in]

Pointer to a volume parameter block (VPB) for the volume.

Return value

CcIsThereDirtyData returns TRUE if the volume contains one or more cached files whose data has been modified in the cache but not yet flushed to disk, FALSE otherwise.

Remarks

CcIsThereDirtyData ignores temporary files.

Requirements

Target platform

Universal

Header

Ntifs.h (include Ntifs.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

See also

CcFlushCache
CcPurgeCacheSection

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft