win32gui.DrawIcon

DrawIcon(hDC, X, Y, hicon)

Draws an icon or cursor into the specified device context. To specify additional drawing options, use the win32gui::DrawIconEx function.

Parameters

hDC : int

handle to DC

X : int

x-coordinate of upper-left corner

Y : int

y-coordinate of upper-left corner

hicon : int

handle to icon