Skip to content

Latest commit

 

History

History
75 lines (59 loc) · 1.93 KB

nf-dbgmodel-idebughostdata-getlocationkind.md

File metadata and controls

75 lines (59 loc) · 1.93 KB
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
IDebugHostData::GetLocationKind, GetLocationKind, IDebugHostData.GetLocationKind, IDebugHostData::GetLocationKind, IDebugHostData.GetLocationKind
dbgmodel.h
Windows
debugger
RS5
IDebugHostData::GetLocationKind
dbgmodel/IDebugHostData::GetLocationKind
apiref
COM
dbgmodel.h
IDebugHostData::GetLocationKind

IDebugHostData::GetLocationKind

-description

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.

-parameters

-param locationKind

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

-returns

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...)
}

-see-also

IDebugHostData interface