Edit

Share via


IEEVisualizerServiceProvider::CreateVisualizerService

This method creates a visualizer service.

Syntax

int CreateVisualizerService(
   IDebugBinder binder,
   IDebugSymbolProvider      pSymProv,
   IDebugAddress             pAddress,
   IEEVisualizerDataProvider dataProvider,
   out IEEVisualizerService  ppService
);

Parameters

binder
[in] The IDebugBinder object passed to EvaluateSync.

pSymProv
[in] The IDebugSymbolProvider object passed to IDebugParsedExpression::EvaluateSync.

pAddress
[in] The IDebugAddress object passed to IDebugParsedExression::EvaluateSync.

dataProvider
[in] An object implementing the IEEVisualizerDataProvider interface (supplied by the expression evaluator).

ppService
[out] The created service.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

The binder, pSymProv, and pAddress parameters were all passed to the IDebugParsedExpression::EvaluateSync method. CreateVisualizerService is to be called only from IDebugParsedExpression::EvaluateSync as part of an expression evaluator's support for type visualizers.

See also