This message is sent to a minimized (iconic) window when the icon is to be painted. A window receives this message only if a class icon is defined for the window. Otherwise, WM_PAINT is sent instead. Passing this message to the DefWindowProc function permits Windows to paint the icon with the class icon.
wParam
This parameter is not used.
lParam
This parameter is not used.
WM_PAINT