Muistiinpano
Tämän sivun käyttö edellyttää valtuutusta. Voit yrittää kirjautua sisään tai vaihtaa hakemistoa.
Tämän sivun käyttö edellyttää valtuutusta. Voit yrittää vaihtaa hakemistoa.
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 );