Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Call the CcSetAdditionalCacheAttributesEx routine to enable extended cache behavior on a cached file.
Syntax
void CcSetAdditionalCacheAttributesEx(
[in] PFILE_OBJECT FileObject,
[in] ULONG Flags
);
Parameters
[in] FileObject
Pointer to a file object for the cached file.
[in] Flags
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.
Return value
None
Remarks
CcSetAdditionalCacheAttributesEx can be called any time after calling CcInitializeCacheMap.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Target Platform | Universal |
Header | ntifs.h (include Ntifs.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | <= APC_LEVEL |