IOsAxsVirtualMem::TranslateAddressVirtualToPhysical (Windows CE 5.0)

Send Feedback

This method translates an address in virtual memory to a corresponding address in physical memory.

HRESULT TranslateAddressVirtualToPhysical(  ADDRESS_TYPEaddrVirt,ADDRESS_TYPE*paddrPhys);

Parameters

  • addrVirt
    [in] Virtual address.
  • paddrPhys
    [out] Pointer to the physical address.

Return Values

The following table shows return values for this method.

Value Description
S_OK Indicates the function was successful.
EXDI_E_UNTRANSLATABLE Indicates that OsAccess cannot translate the address, probably because the address is in the kernel.
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

IOsAxs Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.