IDebugAddress::GetAddress

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Returns a structure describing an object and its location within its scope or container.

Syntax

HRESULT GetAddress (
   DEBUG_ADDRESS * pAddress
);
int GetAddress(
   DEBUG_ADDRESS[] pAddress
);

Parameters

pAddress
[in, out] A DEBUG_ADDRESS structure that is filled in by this method.

Return Value

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

Remarks

The DEBUG_ADDRESS structure is passed to this method, which then fills it in with the appropriate information. How this information is interpreted depends on the kind of information returned and the symbol handler itself. See DEBUG_ADDRESS for more details.

See also