Memory Manager Routines

This section describes the subset of system-supplied MmXxx support routines that can be used by kernel-mode file systems and file system filter drivers. These routines cannot be used by device drivers.

In addition to the routines documented here, file systems and file system filter drivers can also call any of the MmXxx routines that are described in the Kernel-Mode Driver Architecture Reference and that are declared in Ntifs.h.

In this section

TopicDescription

MmCanFileBeTruncated

The MmCanFileBeTruncated routine checks whether a file can be truncated.

MmDoesFileHaveUserWritableReferences

The MmDoesFileHaveUserWritableReferences function returns the number of writable references for a file object.

MmFlushImageSection

The MmFlushImageSection routine flushes the image section for a file.

MmForceSectionClosed

The MmForceSectionClosed routine deletes the data and image sections for a file that is no longer in use.

MmGetMaximumFileSectionSize

The MmGetMaximumFileSectionSize returns the maximum possible size of a file section for the current version of Windows.

MmIsRecursiveIoFault

The MmIsRecursiveIoFault routine determines whether the current page fault is occurring during an I/O operation.

MmPrefetchPages

The MmPrefetchPages routine reads groups of pages from secondary storage in the optimal fashion.

MmSetAddressRangeModified

The MmSetAddressRangeModified routine marks currently valid pages in the specified range of the system cache as modified.

 

Related topics

Installable file systems driver design guide

 

 

Send comments about this topic to Microsoft

Show: