SystemImageListGetFileIconHandle Method (String, SystemImageListSize, Boolean, Boolean) |
Returns the handle of the icon for the specified filePath.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.1
Syntax public static IntPtr GetFileIconHandle(
string pName,
SystemImageListSize pSize,
bool pAddOverlays,
bool pOpened
)
Public Shared Function GetFileIconHandle (
pName As String,
pSize As SystemImageListSize,
pAddOverlays As Boolean,
pOpened As Boolean
) As IntPtr
public:
static IntPtr GetFileIconHandle(
String^ pName,
SystemImageListSize pSize,
bool pAddOverlays,
bool pOpened
)
static member GetFileIconHandle :
pName : string *
pSize : SystemImageListSize *
pAddOverlays : bool *
pOpened : bool -> IntPtr
Parameters
- pName
- Type: SystemString
full path of the file - pSize
- Type: Jam.ShellSystemImageListSize
If set to SystemImageListSize.SmallIcons small icons are returned, large icons in all other cases - pAddOverlays
- Type: SystemBoolean
if true the icon will contain overlays. - 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