ISnapinAbout::GetStaticFolderImage method (mmc.h)
The ISnapinAbout::GetStaticFolderImage method allows the console to obtain the static folder images for the scope and result panes.
Syntax
HRESULT GetStaticFolderImage(
[out] HBITMAP *hSmallImage,
[out] HBITMAP *hSmallImageOpen,
[out] HBITMAP *hLargeImage,
[out] COLORREF *cMask
);
Parameters
[out] hSmallImage
A pointer to the handle to a small icon (16x16 pixels) in either the scope or result view pane.
[out] hSmallImageOpen
A pointer to the handle to a small open-folder icon (16x16 pixels).
[out] hLargeImage
A pointer to the handle to a large icon (32x32 pixels).
[out] cMask
A pointer to a COLORREF structure that specifies the color used to generate a mask.
Return value
This method can return one of these values.
Remarks
MMC creates copies of the returned bitmaps. The snap-in can free the originals when the ISnapinAbout interface is released.
MMC uses default static folder images and icons if it cannot obtain the snap-in icons.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | mmc.h |