win32gui.GetIconInfo
PyICONINFO = GetIconInfo(hicon)
Returns parameters for an icon or cursor
Parameters
Return Value
The result is a tuple of (fIcon, xHotspot, yHotspot, hbmMask, hbmColor) The hbmMask and hbmColor items are bitmaps created for the caller, so must be freed.