Partager via


DDGPESurf::GetDDGPESurf (Windows Embedded CE 6.0)

1/6/2010

This method gets the DDGPESurf object associated with a DirectDraw surface. Typically, you use this method to gain access to GPE methods that require a DDGPESurf object.

Syntax

static DDGPESurf* GetDDGPESurf(
  LPDDRAWI_DDRAWSURFACE_LCL lpDDSurface 
);

Parameters

  • lpDDSurface
    A pointer to an existing DirectDraw surface that has an associated DDGPESurf object.

Return Value

The return value is S_OK if the method is successful. Otherwise NULL is returned and an error code is generated.

Requirements

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

See Also

Concepts

DDGPESurf Class
DDGPESurf Class Definition