If you use the DirectDraw blit functionality, it will be quite a difficult task to port it. In my opinion, your best option is to port it to GDI. This may mean writing your own blit functions.
Otherwise, you can connect to D3D, although this will be a rather difficult task and really depends on how you render. If all your rendering is done using blits (and without direct access to the frame buffer), then it should be relatively straightforward to put it in D3D. It will also provide you with GREAT speed acceleration.
However, you can simply get the DirectDraw headers (I believe they are in the Windows SDK) and continue to use DirectDraw.
source
share