CcSetAdditionalCacheAttributesEx - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntifs.h

VOID CcSetAdditionalCacheAttributesEx(
  [in] PFILE_OBJECT FileObject,
  [in] ULONG        Flags
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntifs-ccsetadditionalcacheattributesex)

CcSetAdditionalCacheAttributesEx function

Description

Call the CcSetAdditionalCacheAttributesEx routine to enable extended cache behavior on a cached file.

Parameters

FileObject [in]

Pointer to a file object for the cached file.

Flags [in]

Behavior flags to set for FileObject. Currently, only the AGGRESSIVE_UNMAP_BEHIND flag is available. Setting this flag will allow the cache manager to optimize memory usage when modified writes are disabled for a file object.

Remarks

CcSetAdditionalCacheAttributesEx can be called any time after calling CcInitializeCacheMap.

See also

CcInitializeCacheMap

CcSetAdditionalCacheAttributes