IDataModelScriptProvider::GetName method (dbgmodel.h)

The GetName method returns the name of the type of (or language of) scripts which the provider manages as a string allocated via the SysAllocString method. The caller is responsible for freeing the returned string via SysFreeString. Examples of strings which might be returned from this method are "JavaScript" or "NatVis". The returned string is likely to appear in the user interface of the debugger application which is hosting the data model.

No two script providers may return the same name (case insensitive).

Syntax

HRESULT GetName(
  BSTR *name
);

Parameters

name

The name of the type of (or language of) scripts managed via the provider. The string is allocated via SysAllocString and the caller is responsible for freeing it via SysFreeString.

Return value

This method returns HRESULT that indicates success or failure.

Requirements

Requirement Value
Header dbgmodel.h

See also

IDataModelScriptProvider interface