This method of the DirectDraw Class makes the surface that GDI writes to the primary surface.
public void flipToGDISurface();
This method can be called at the end of a page-flipping application to ensure that the display memory that the GDI is writing to is visible to the user.