BOOL DrvSwapBuffers(
IN SURFOBJ *pso, | |
IN WNDOBJ *pwo | |
); |
DrvSwapBuffers displays the contents of the window’s associated hidden buffer on the specified surface.
The return value is TRUE if the function is successful; it is FALSE upon failure.
DrvSwapBuffers can affect the display only if the pixel format for the window specified by pwo is double-buffered. The content of the hidden buffer is undefined after the swap occurs.
This function is required if the driver supports a pixel format with double buffering; that is, if PFD_DOUBLEBUFFER is set in the dwFlags member of the PIXELFORMATDESCRIPTOR structure.