DDGPESurf::SetDirectDrawSurface (Windows Embedded CE 6.0)
1/6/2010
This method associates the specified DirectDraw surface with the current DDGPESurf object.
Syntax
virtual void SetDirectDrawSurface(
LPDDRAWI_DDRAWSURFACE_LCL lpDDSurface
);
Parameters
- lpDDSurface
A pointer to an existing DirectDraw surface. The DirectDraw surface is associated with the current GPE surface. Any existing DirectDraw surface associated with this surface is replaced. The driver is responsible for managing surfaces replaced in this manner.
Return Value
The return value is S_OK if the method is successful. Otherwise, an error code is returned.
Remarks
Use this method to associate a known DirectDraw surface with a known DDGPESurf object, after setting up each of them to be complete surfaces referencing bits at the same memory location. This method associates the two structures, but does not adjust memory locations or any other elements of them.
Requirements
Header | ddgpe.h |
Library | Ddgpe.lib |
Windows Embedded CE | Windows Embedded CE 6.0 and later |