|
ShellBrowser Delphi Components Documentation
|
Returns the icon index in the system image list for a given file.
class function GetFileInfo(const Filepath: string; aSize: TJamImageListSize; Opened: Boolean = False; Attributes: DWord = 0): Integer;
|
Parameters |
Description |
|
const Filepath: string |
The full path of the file. |
|
aSize: TJamImageListSize |
The size of the image list for that the icon should be retrieved. |
|
Opened: Boolean = False |
True, if the icon should be displayed in open state; False otherwise. Only valid for folders, default: False. |
|
Attributes: DWord = 0 |
|
The requested icon index.
A wrapper around the Windows API function SHGetFileInfo().