// ntifs.h
PFILE_OBJECT CcGetFileObjectFromSectionPtrsRef(
[in] PSECTION_OBJECT_POINTERS SectionObjectPointer
);
View the official Windows Driver Kit DDI referenceNo description available.
When passed a pointer to a SECTION_OBJECT_POINTERS structure for a cached file, the CcGetFileObjectFromSectionPtrsRef routine returns a pointer to the file object that the cache manager is using for the cached file.
SectionObjectPointer [in]A pointer to the SECTION_OBJECT_POINTERS structure that is associated with the cached file.
A pointer to the file object for the cached file, or NULL if the file is not cached or is no longer cached.
The file object is returned with a reference. The caller is responsible for calling ObDereferenceObject on the file object when it has finished using the file object.
CcGetFileObjectFromSectionPtrs