IDebugHostData::GetLocationKind method (dbgmodel.h)

The GetLocationKind method returns what kind of location the symbol is at according to the LocationKind enumeration. The description of this enumeration can be found in the documentation for IDebugHostField.

Syntax

HRESULT GetLocationKind(
  LocationKind *locationKind
);

Parameters

locationKind

The kind of location for this field will be returned here as a value of the LocationKind enumeration.

Return value

This method returns HRESULT that indicates success or failure.

Remarks

Sample Code

ComPtr<IDebugHostData> spData; /* get a data symbol */

LocationKind kind;
if (SUCCEEDED(spData->GetLocationKind(&kind)))
{
    // kind indicates the kind of location (e.g.: static, constant, member, etc...)
}

Requirements

Requirement Value
Header dbgmodel.h

See also

IDebugHostData interface