well gdi will be slower than opengl, because it s only software rendering.
In my opinion... you should use
SDL if you want to make your own 2d engine... but you can find actualy 2d engine already made and "just" code the game..... making a 2d engine is already a pretty dawn task...