GSerg » 01.11.2004 (Пн) 11:20
Declare Function ExtractIconEx Lib "shell32.dll" Alias "ExtractIconExA" (ByVal lpszFile As String, ByVal nIconIndex As Long, phiconLarge As Long, phiconSmall As Long, ByVal nIcons As Long) As Long
· lpszFile
Pointer to a null-terminated string specifying the name of an executable file, DLL, or icon file.
· nIconIndex
Specifies the index of the icon to retrieve. If this value is 0, the function returns the handle of the first icon in the specified file. If this value is -1 and phIconLargeand phiconSmall are both NULL, the function returns the total number of icons in the specified file.
· phiconLarge
Pointer to an array of handles of large icons returned. This parameter can be NULL.
· phiconSmall
Pointer to an array of handles of small icons returned. This parameter can be NULL.
· nIcons
Specifies the count of the number of icons to extract.
Как только вы переберёте все варианты решения и не найдёте нужного, тут же обнаружится решение, простое и очевидное для всех, кроме вас