Mit dem Apibefehl:
Code: Alles auswählen
ExtractIcon
· hInst
Identifies the instance of the application calling the function.
· lpszExeFileName
Points 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, the function returns the total number of icons in the specified file.