共用方式為


IEEVisualizerServiceProvider::CreateVisualizerService

This method creates a visualizer service.

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

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

Reference

IEEVisualizerServiceProvider

IDebugParsedExpression::EvaluateSync

IDebugBinder

IDebugSymbolProvider

IEEVisualizerDataProvider