ISnapinAbout::GetStaticFolderImage

[This is preliminary documentation and subject to change.]

Allows the console to obtain the static folder images for the scope and result panes.

HRESULT GetStaticFolderImage(
  HBITMAP * hSmallImage,  // Pointer to a handle to a small icon.
  HBITMAP * hSmallImageOpen,  // Pointer to a handle to open folder 
                              // icon.
  HBITMAP * hLargeImage,  // Pointer to a handle to a large icon.
  COLORREF * cMask        // Color used to generate a mask.
);
 

Parameter

hSmallImage
[out] Pointer to the handle of a small icon (16x16n pixels) in either the scope or result view pane.
hSmallImageOpen
[out] Pointer to the handle of a small open-folder icon (16x16n pixels).
hLargImage
[out] Pointer to the handle of a large icon (32x32n pixels).
cMask
[out] Pointer to a COLORREF structure that specifies the color used to generate a mask. This structure is documented in the Platform SDK.

Return Values

S_OK
The icon was successfully obtained.

See Also

ISnapinAbout