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.
For data which has an address, the GetLocation method will return the abstract ___location (address) of the field.
If the given public does not have a static ___location, the GetLocation method will fail.
Syntax
HRESULT GetLocation(
Location *___location
);
Parameters
___location
The abstract ___location (e.g.: address) of the data will be returned here.
Return value
This method returns HRESULT which indicates success or failure.
Remarks
Sample Code
ComPtr<IDebugHostPublic> spPublic; /* get a public symbol (see EnumerateChildren) */
Location publicLocation;
if (SUCCEEDED(spPublic->GetLocation(&publicLocation)))
{
// For public symbols which indicate they have a static ___location
// via GetLocationKind, publicLocation will be the ___location of the symbol
}
Requirements
Requirement | Value |
---|---|
Header | dbgmodel.h |