ISnapinAbout::GetSnapinImage

[This is preliminary documentation and subject to change.]

Enables the console to obtain the snap-in's main icon to be used in the About box.

HRESULT GetSnapinImage(
  HICON * hAppIcon  // Pointer to the application's main icon
);
 

Parameters

hAppIcon
[out] Pointer to the handle of the main icon of the snap-in that is to be used in the About property page.

Return Values

S_OK
The handle to the icon was successfully obtained.

Remarks

Memory for out parameters must be allocated using CoTaskMemAlloc. This function is documented in the Platform SDK.

See Also

ISnapinAbout