Share via


IDiaStackWalkHelper::imageForVA

Returns the start of an executable's image in memory given a virtual address somewhere in the executable's memory space.

HRESULT imageForVA(
   ULONGLONG  vaContext,
   ULONGLONG *pvaImageStart
);

Parameters

  • vaContext
    [in] The virtual address that lies somewhere in the executable's space.

  • pvaImageStart
    [out] Returns the starting virtual address of the executable's image.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See Also

Reference

IDiaStackWalkHelper