Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MmSetAddressRangeModified function (ntifs.h)

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

[in] Address

Address of the start of the range.

[in] Length

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

Requirement Value
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL See Remarks section

See also

CcIsThereDirtyData


Feedback

Was this page helpful?

Additional resources