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.
HRESULT GetLocationKind(
LocationKind *locationKind
);
locationKind
The kind of location for this field will be returned here as a value of the LocationKind enumeration.
This method returns HRESULT that indicates success or failure.
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...)
}
Requirement | Value |
---|---|
Header | dbgmodel.h |