CcGetCacheFileSize function (ntifs.h)

The CcGetCacheFileSize function retrieves the current size of a file as known to the cache manager.

Syntax

LONGLONG CcGetCacheFileSize(
  [in] const SECTION_OBJECT_POINTERS *SectionObjectPointer
);

Parameters

[in] SectionObjectPointer

Pointer to a SECTION_OBJECT_POINTERS structure that contains the section object information.

Return value

CcGetCacheFileSize returns a 64-bit value that indicates the current file size.

Requirements

Requirement Value
Minimum supported client Windows 11, version 22H2
Header ntifs.h

See also

CcSetCacheFileSizes