IDiaStackWalkHelper::addressForVA

Returns the equivalent address (section and offset) for the specified VA.

Syntax

HRESULT addressForVA( 
   ULONGLONG  va,
   DWORD*     pISect,
   DWORD*     pOffset
);

Parameters

[in] va

Specifies the virtual address to translate.

[out] pISect

Returns the equivalent section for the specified address.

[out] pOffset

Returns the equivalent offset within the section for the specified address.

Return Value

If successful, returns S_OK. Returns E_NOTIMPL if the helper doesn't support translation; otherwise, returns an error code.

See also