Microsoft Windows CE 3.0  

SetVisibleSurface

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The SetVisibleSurfacefunction causes an existing GPEsurface to be flipped to the display. If the bWaitForVBlank parameter is TRUE, the function waits until the vertical blank has begun, then it flips the given surface to the screen.

You should override this function in your driver to enable surface flipping for your hardware. dwData can be used if you need to pass more information to perform the flip.

virtual void SetVisibleSurface (
GPESurf *
pSurf
,
BOOL
bWaitForVBlank
= FALSE);
virtual void SetVisibleSurface (
GPESurf *
pSurf
,
DWORD
dwData
,
BOOL
bWaitForVBlank
= FALSE );

Parameters

pSurf
A pointer to the surface that will be displayed.
dwData
A placeholder for extra information into the driver.
bWaitForVBlank
Indicates whether the flip should wait to synchronize with a vertical blank.

Return Values

None



 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.