次の方法で共有


IEEVisualizerService::GetCustomViewerList

This method returns a list of type visualizers that this service knows about.

HRESULT GetCustomViewerList(
   ULONG                celtSkip,
   ULONG                celtRequested,
   DEBUG_CUSTOM_VIEWER* rgViewers,
   ULONG*               pceltFetched
);
int GetCustomViewerList(
   uint                  celtSkip,
   uint                  celtRequested,
   DEBUG_CUSTOM_VIEWER[] rgViewers,
   out uint              pceltFetched
);

Parameters

  • celtSkip
    [in] Number of visualizers to skip over.

  • celRequested
    [in] Number of visualizers to retrieve (also specifies size of the rgViewers array).

  • rgViewers
    [in, out] Array of DEBUG_CUSTOM_VIEWER structures to be filled in.

  • pceltFetched
    [out] Number of visualizers actually retrieved.

Return Value

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

Remarks

IDebugProperty3::GetCustomViewerList passes the request to this method as part of its support for type visualizers. If the expression evaluator also supplies custom viewers for the same type, it can append appropriately filled-out DEBUG_CUSTOM_VIEWER structures for those custom viewers to the list. Make sure that IDebugProperty3::GetCustomViewerCount reflects those additional viewers.

See Type Visualizer and Custom Viewer for details on the differences between visualizers and viewers.

See Also

Reference

IEEVisualizerService

DEBUG_CUSTOM_VIEWER

IDebugProperty3::GetCustomViewerList

IDebugProperty3::GetCustomViewerCount

Concepts

Type Visualizer and Custom Viewer