VirtualSetAttributesEx (Windows Embedded CE 6.0)
1/6/2010
This function enables driver developers to change the per-page attributes for a range of virtual memory, which is usually copied from a physical location not known to the kernel. This function is callable only in kernel mode.
Syntax
BOOL VirtualSetAttributes (
LPVOID lpvAddress,
DWORD cbSize,
DWORD dwNewFlags,
DWORD dwMask,
LPDWORD lpdwOldFlags
);
Parameters
- lpvAddress
[in] Start address of the virtual memory whose attributes are to be changed.
- cbSize
[in] Length, in bytes, of the virtual memory whose attributes are to be changed.
- dwNewFlags
[in] Specifies the new value of the bits to be set.
- dwMask
[in] Specifies which bits are to be changed.
- lpdwOldFlags
[in] If this parameter is not NULL, *lpdwOldFlags will contain the original value of the page entry of the first page upon return.
Return Value
TRUE indicates success. FALSE indicates failure.
Remarks
For more information, see VirtualSetAttributes.
Requirements
Header | mkfuncs.h |
Library | coredll.lib |
Windows Embedded CE | Windows Embedded CE 6.0 and later |