win32gui.ExtractIconEx

int = ExtractIconEx(moduleName, index , numIcons )

Parameters

moduleName : string

index : int

numIcons=1 : int

Comments

You must destroy each icon handle returned by calling the win32gui::DestroyIcon function.

Return Value

If index==-1, the result is an integer with the number of icons in the file, otherwise it is 2 arrays of icon handles.