Framework for DirectX based Win32 projects