ISnapinAbout.GetStaticFolderImage(IntPtr, IntPtr, IntPtr, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allows the console to get the static folder images for the scope and results panes.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
void GetStaticFolderImage([Runtime::InteropServices::Out] IntPtr % hSmallImage, [Runtime::InteropServices::Out] IntPtr % hSmallImageOpen, [Runtime::InteropServices::Out] IntPtr % hLargeImage, [Runtime::InteropServices::Out] int % cMask);
public void GetStaticFolderImage (out IntPtr hSmallImage, out IntPtr hSmallImageOpen, out IntPtr hLargeImage, out int cMask);
abstract member GetStaticFolderImage : nativeint * nativeint * nativeint * int -> unit
Public Sub GetStaticFolderImage (ByRef hSmallImage As IntPtr, ByRef hSmallImageOpen As IntPtr, ByRef hLargeImage As IntPtr, ByRef cMask As Integer)
Parameters
- hSmallImage
-
IntPtr
nativeint
A return value that contains the handle to a small icon (16 x 16 pixels) in either the scope or results view pane.
- hSmallImageOpen
-
IntPtr
nativeint
A return value that contains the handle to a small open folder icon (16 x 16 pixels).
- hLargeImage
-
IntPtr
nativeint
A return value that contains the handle to a large icon (32 x 32 pixels).
- cMask
- Int32
A return value that contains a structure that specifies the color used to generate a mask.
Remarks
For more information about programming with the ISnapinAbout interface and the Microsoft Management Console (MMC), see the MMC Programmer's Guide.