DDGPE::BltPrepare
This method is an extension to its counterpart, the GPE::BltPrepare method. With the addition of DDGPEStandard
Header, your driver has the flexibility to choose different accelerated blit routines based on information that cannot be specified by GPEBltParms, such as
DDGPEPixelFormat, which you can pass in using one of the reserved DWORDs in DDGPEStandard
Header.
Syntax
virtual void BltPrepare(
DDGPEBltParms* pddgpeBltParms
);
Parameters
pddgpeBltParms
Pointer to a DDGPEBltParms structure.
http://msdn.microsoft.com/en-us/library/ee483618(v=winembedded.60).aspxDDGPE::AllocSurface
This method is an extension of its counterpart, the GPE::AllocSurface method. With the addition of the pixelFormat parameter or the pddgpeAllocSurfaceData, your driver
can allocate many different types of surfaces, instead of a limited number of GPE surface types.
Syntax// Surface memory allocation
virtual SCODE AllocSurface(
DDGPESurf** ppSurf,
int width,
int height,
EGPEFormat format,
int surfaceFlags
)=0;
virtual SCODE AllocSurface(
DDGPESurf** ppSurf,
int width,
int height,
EGPEFormat format,
EDDGPEPixelFormat pixelFormat,
int surfaceFlags
);
virtual SCODE AllocSurface(
DDGPESurf** ppSurf,
DDGPEAllocSurfaceData* pddgpeAllocSurfaceData
);
Parameters
ppSurfPointer to a new DDGP ESurf object.
width
The desired width of the surface.
heightThe desired height of the surface.
format
The desired format of the surface.
pixelFormat
The desired pixel format of the surface.surfaceFlags
GPE surface flags for the surface.
http://msdn.microsoft.com/en-us/library/ee485068(v=winembedded.60).aspx