다음을 통해 공유


IEEVisualizerServiceProvider::CreateVisualizerService

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This method creates a visualizer service.

Syntax

HRESULT CreateVisualizerService(
   IDebugBinder*              binder,
   IDebugSymbolProvider*      pSymProv,
   IDebugAddress*             pAddress,
   IEEVisualizerDataProvider* dataProvider,
   IEEVisualizerService**     ppService
);
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