SystemImageListGetIconHandle(Int32) Method |
Gets icon handle for the image index.
Namespace: Jam.ShellAssembly: ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.2
Syntaxpublic IntPtr GetIconHandle(
int pIconIndex
)
Public Function GetIconHandle (
pIconIndex As Integer
) As IntPtr
public:
IntPtr GetIconHandle(
int pIconIndex
)
member GetIconHandle :
pIconIndex : int -> IntPtr Parameters
- pIconIndex Int32
- Zero-based index of the icon.
Return Value
IntPtrThe icon handle.
RemarksThe returned icon handle must be released using
DestroyIcon(IntPtr) when the handle is not needed anymore to avoid GDI leaks.
See Also