cnc-ddraw
GDI, OpenGL and Direct3D 9 re-implementation of the DirectDraw API
... shaders. Windowed Mode / Fullscreen Exclusive Mode / Borderless Mode. Alt+Enter support to switch quickly between Fullscreen and Windowed mode. Automatically saves and restores window position/size/state. FPS Limiter, VSync, optional mouse sensitivity scaling. If you use cnc-ddraw with a game that got its own windowed mode built in then make sure you disable the games own windowed mode first.