Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMessageView::SetIcon method

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] id IconIdentifier
);

Parameters

IconIdentifier [in]

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.

S_OK

The icon of the result pane message was successfully set.

E_INVALIDARG

The icon index value is not one of the enumerated values.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Mmc.h

DLL

Mmcndmgr.dll

See also

IMessageView
Using the MMC Message OCX Control

 

 

Show: