win32gui.ExtractIcon

int = ExtractIcon(hinstance, moduleName , index )

Parameters

hinstance : int

moduleName : string/PyUnicode

index : int

Comments

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

Return Value

The result is a HICON.