in reply to DirectX - Screenshot

Try Win32::Screenshot/Imager::Screenshot