// ntifs.h
LONGLONG CcGetCacheFileSize(
[in] const SECTION_OBJECT_POINTERS *SectionObjectPointer
);
View the official Windows Driver Kit DDI referenceNo description available.
The CcGetCacheFileSize function retrieves the current size of a file as known to the cache manager.
SectionObjectPointer [in]Pointer to a SECTION_OBJECT_POINTERS structure that contains the section object information.
CcGetCacheFileSize returns a 64-bit value that indicates the current file size.