|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
The Initfunction is similar to the GPE::Initfunction. In addition to its counterpart's functions, the DDGPE::Initfunction initializes the pixel format for the current surface. DDGPEand GPEset up their member variables in their own constructors, so your driver will normally not need to call this function. If the constructor for your custom surface object does not call a DDGPEconstructor, you should call this function to ensure that all surface information is set up properly.
virtual void Init ( int width , int height , void * pBits , int stride , EGPEFormat format , EDDGPEPixelFormat pixelFormat );
Last updated on Tuesday, July 13, 2004