SystemImageListGetIconHandle(String, Boolean, FileAttributes) Method |
Gets icon handle for the passed ItemIdList.
Namespace: Jam.ShellAssembly: ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.2
Syntaxpublic IntPtr GetIconHandle(
string pFilePath,
bool pOpened,
FileAttributes pAttributes
)
Public Function GetIconHandle (
pFilePath As String,
pOpened As Boolean,
pAttributes As FileAttributes
) As IntPtr
public:
IntPtr GetIconHandle(
String^ pFilePath,
bool pOpened,
FileAttributes pAttributes
)
member GetIconHandle :
pFilePath : string *
pOpened : bool *
pAttributes : FileAttributes -> IntPtr Parameters
- pFilePath String
- Full pathname of the file.
- pOpened Boolean
- if true returns the opened icon for folders.
- pAttributes FileAttributes
- The file attributes that should be used. Usually 0 is passed here.
Return Value
IntPtrThe icon handle.
See Also