MMC_EXT_VIEW_DATA structure (mmc.h)

The MMC_EXT_VIEW_DATA structure is introduced in MMC 2.0.

The MMC_EXT_VIEW_DATA structure is used by a view extension when it adds a view to the result pane.

Syntax

typedef struct _MMC_EXT_VIEW_DATA {
  GUID      viewID;
  LPCOLESTR pszURL;
  LPCOLESTR pszViewTitle;
  LPCOLESTR pszTooltipText;
  BOOL      bReplacesDefaultView;
} MMC_EXT_VIEW_DATA, *PMMC_EXT_VIEW_DATA;

Members

viewID

GUID for the view; this value uniquely identifies the view and is used to restore the view.

pszURL

URL to the HTML used in the result pane; this typically points to an HTML resource in the snap-in's DLL.

pszViewTitle

Title of the view extension.

pszTooltipText

This value is reserved for future use.

bReplacesDefaultView

If TRUE, the Standard tab does not appear in the tab selector; otherwise, the Standard tab appears. There is usually no need to display the Standard tab if the view extension snap-in displays the list of the primary snap-in.

Remarks

For an example of the MMC_EXT_VIEW_DATA structure used in C++ code, see IViewExtensionCallback::AddView.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header mmc.h

See also

Extending Views

IViewExtensionCallback

IViewExtensionCallback::AddView

View Extension Mechanism