Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method maps a virtual memory address to a new physical memory address.
HRESULT ChangeVirtualMapping( ADDRESS_TYPE addrVirtual, ADDRESS_TYPEaddrPhysNew, ADDRESS_TYPE* paddrPhysOld);
Parameters
- addrVirtual
[in] Virtual memory address. - addrPhysNew
[in] Physical memory address for new mapping. - paddrPhysOld
[out] Physical memory address for mapping to be changed.
Return Values
The following table shows return values for this method.
| Value | Description |
|---|---|
| S_OK | Indicates the function was successful. |
| E_INVALIDARG | Indicates one or more invalid arguments. |
| E_POINTER | Indicates one or more invalid pointers. |
| E_OUTOFMEMORY | Indicates an out of memory error. |
| E_ACCESSDENIED | Indicates the specified object is no longer valid. |
| E_FAIL | Indicates an unspecified failure. |
Requirements
OS Version: Windows CE 5.0 and later.
Header: OsAccess.h.
Link Library: OSAXSC.lib.
See Also
Send Feedback on this topic to the authors