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.
Returns the equivalent address for the specified virtual address (VA).
Syntax
HRESULT addressForRVA(
DWORD rva,
DWORD* pISect,
DWORD* pOffset);
Parameters
rva
[in] The relative virtual address to translate.
pISect
[out] Returns the equivalent section for the specified address.
pOffset
[out] Returns the equivalent offset within the section for the specified address.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Example
DWORD sect = 0, offset = 0;
pSession->addressForRVA( rva, §, &offset );