In Vista and later, this should be possible using Window Manager. Explorer also displays (animated) screenshots of minimized windows when you hover over the taskbar with DWM enabled, so the DWM APIs should be on the way.
Out of curiosity, why do you need such a screenshot?