UID | title | description | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.lib | req.dll | req.irql | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | targetos | tech.root | ms.custom | f1_keywords | topic_type | api_type | api_location | api_name | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:dbgmodel.IDebugHostData.GetLocationKind |
IDebugHostData::GetLocationKind (dbgmodel.h) |
The IDebugHostData::GetLocationKind method, when called on a symbol, gets the kind of location the symbol is at according to the LocationKind enumeration. |
09/10/2018 |
|
IDebugHostData::GetLocationKind, GetLocationKind, IDebugHostData.GetLocationKind, IDebugHostData::GetLocationKind, IDebugHostData.GetLocationKind |
dbgmodel.h |
Windows |
debugger |
RS5 |
|
|
|
|
|
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.
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...)
}