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.

ISnapinAbout::GetSnapinImage method

The ISnapinAbout::GetSnapinImage method enables the console to obtain the snap-in's main icon to be used in the About box.

Syntax


HRESULT GetSnapinImage(
  [out] HICON *hAppIcon
);

Parameters

hAppIcon [out]

A pointer to the handle to the main icon of the snap-in that is to be used in the About property page.

Return value

This method can return one of these values.

S_OK

The snap-in successfully obtained the handle to the icon.

Remarks

For bitmaps, MMC requires a specific background color so it can generate a transparency mask. Icons, however, have built-in transparency so MMC does not require a specific background color.

MMC creates a copy of the returned icon. The snap-in can free the icon when the ISnapinAbout interface is released.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Mmc.h

See also

ISnapinAbout

 

 

Show: