Taskbar buttons should always have an icon. If the window has none, IDI_APPLICATION aka OIC_SAMPLE should be displayed.