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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for