IDebugHostField::GetName method (dbgmodel.h)

Returns the name of the symbol if the symbol has a name. If the symbol does not have a name, an error is returned.

Syntax

HRESULT GetName(
  BSTR *symbolName
);

Parameters

symbolName

The name of the symbol will be returned here as a string allocated via the SysAllocString method. The caller is responsible for freeing the allocated string via the SysFreeString method.

Return value

This method returns HRESULT that indicates success or failure.

Requirements

Requirement Value
Header dbgmodel.h

See also

IDebugHostField interface