Partager via


DDGPESurf::GetDirectDrawSurface (Compact 2013)

3/26/2014

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

See Also

Reference

DDGPESurf Class
DDGPESurf Class Definition