IMessageView::SetIcon method (mmc.h)

The IMessageView::SetIcon method enables a snap-in to set the icon for the result pane message displayed using the MMC message OCX control.

Syntax

HRESULT SetIcon(
  [in] IconIdentifier id
);

Parameters

[in] id

A value that specifies the type of icon for the result pane message. The value is taken from the IconIdentifier enumeration.

Return value

This method can return one of these values.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header mmc.h
DLL Mmcndmgr.dll

See also

IMessageView

Using the MMC Message OCX Control