Partager via


DDGPESurf::GetDirectDrawSurface (Windows Embedded CE 6.0)

1/6/2010

This method returns a pointer to the DirectDraw surface associated with the DDGPESurf object.

Syntax

virtual LPDDRAWI_DDRAWSURFACE_LCL GetDirectDrawSurface();

Parameters

None.

Return Value

Returns a pointer to the DirectDraw surface associated with the DDGPESurf object if the method is successful. Otherwise, the method returns NULL and generates an error code.

Remarks

You would use this method to perform operations on a GPE surface in your DirectDraw hardware abstraction layer (DDHAL). For instance, you could use this method to accelerate certain GPE operations through the DDHAL.

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