Compartilhar via


DDGPESurf::GetDDGPESurf (Windows CE 5.0)

Send Feedback

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.

static DDGPESurf* GetDDGPESurf(LPDDRAWI_DDRAWSURFACE_LCLlpDDSurface);

Parameters

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

Return Values

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

Requirements

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddgpe.h.
Link Library: Ddgpe.lib.

See Also

DDGPESurf Class | DDGPESurf Class Definition

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.