IDebugHostScriptHost::CreateContext method (dbgmodel.h)

The CreateContext method is called by a script provider to create a new context in which to place the contents of the script. Such context is represented by the IDataModelScriptHostContext interface.

Syntax

HRESULT CreateContext(
  IDataModelScript            *script,
  IDataModelScriptHostContext **scriptContext
);

Parameters

script

The script for which to create a new context.

scriptContext

The newly created script host context is returned here.

Return value

This method returns HRESULT which indicates success or failure.

Requirements

Requirement Value
Header dbgmodel.h

See also

IDataModelScriptHostContext interface

IDebugHostScriptHost interface