MmSetAddressRangeModified routine

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

Syntax


BOOLEAN MmSetAddressRangeModified(
  _In_ PVOID  Address,
  _In_ SIZE_T Length
);

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.

Requirements

Target platform

Universal

Header

Ntifs.h (include Ntifs.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

See Remarks section

See also

CcIsThereDirtyData

 

 

Send comments about this topic to Microsoft

Show: