SystemImageListGetFileIconHandle Method (ItemIdList, SystemImageListSize, Boolean, Boolean) |
Returns the handle of the icon for the specified
ItemIdList.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 6.3.1
Syntax public static IntPtr GetFileIconHandle(
ItemIdList pItemIdList,
SystemImageListSize pSize,
bool pAddOverlays,
bool pOpened
)
Public Shared Function GetFileIconHandle (
pItemIdList As ItemIdList,
pSize As SystemImageListSize,
pAddOverlays As Boolean,
pOpened As Boolean
) As IntPtr
public:
static IntPtr GetFileIconHandle(
ItemIdList^ pItemIdList,
SystemImageListSize pSize,
bool pAddOverlays,
bool pOpened
)
static member GetFileIconHandle :
pItemIdList : ItemIdList *
pSize : SystemImageListSize *
pAddOverlays : bool *
pOpened : bool -> IntPtr
Parameters
- pItemIdList
- Type: Jam.ShellItemIdList
The absolute ItemIdList of the element. - pSize
- Type: Jam.ShellSystemImageListSize
If set to SystemImageListSize.SmallIcons small icons are returned, large icons in all other cases - pAddOverlays
- Type: SystemBoolean
if true icons include the links overlay - pOpened
- Type: SystemBoolean
if true returns the opened icon for folders.
Return Value
Type:
IntPtrThe icon of the specified path with the given parameters.
See Also