Share via


DDGPE::SetVisibleSurface (Windows Embedded CE 6.0)

1/6/2010

This method causes an existing GPE surface to flip to the display. If the bWaitForVBlank parameter is TRUE, the method waits until the vertical blank has begun, then it flips the specified surface to the screen.

Syntax

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 Value

None.

Remarks

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

Requirements

Header ddgpe.h
Library Ddgpe.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Concepts

DDGPE Class
DDGPE Class Definition