CcIsThereDirtyData function (ntifs.h)

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

[in] Vpb

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

Requirement Value
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe

See also

CcFlushCache

CcPurgeCacheSection