MmSetAddressRangeModified - NtDoc

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

BOOLEAN MmSetAddressRangeModified(
  [in] PVOID  Address,
  [in] SIZE_T Length
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

MmSetAddressRangeModified function

Description

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

Parameters

Address [in]

Address of the start of the range.

Length [in]

Length of the range in bytes.

Return value

MmSetAddressRangeModified returns TRUE if it marked at least one page in the range as modified, FALSE otherwise.

Remarks

The entire range specified by Address and Length must reside within the system cache.

For more information about memory management, see Memory Management.

Callers of MmSetAddressRangeModified must be running at IRQL < DISPATCH_LEVEL for pageable addresses, and IRQL <= DISPATCH_LEVEL for nonpageable addresses.

See also

CcIsThereDirtyData