SystemImageListGetFileIconHandle(ItemIdList, SystemImageListSize, Boolean, Boolean) Method |
Returns the handle of the icon for the specified
ItemIdList.
Namespace: Jam.ShellAssembly: ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.2
Syntaxpublic 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 ItemIdList
- The absolute ItemIdList of the element.
- pSize SystemImageListSize
- If set to SystemImageListSize.SmallIcons small icons are returned, large icons in all other cases
- pAddOverlays Boolean
- if true icons include the links overlay
- pOpened Boolean
- if true returns the opened icon for folders.
Return Value
IntPtrThe icon of the specified path with the given parameters.
See Also