|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 SetDirectDrawSurfacefunction associates the given DirectDraw surface with the current DDGPESurfobject.
You would use this function to associate a known DirectDraw surface with a known DDGPESurfobject, after setting up each of them to be complete surfaces referencing bits at the same memory location. This function merely associates the two structures and does nothing to adjust memory locations or any other elements of either structure.
virtual void SetDirectDrawSurface ( LPDDRAWI_DDRAWSURFACE_LCL lpDDSurface );
The return value is S_OK if the function is successful. Otherwise, an error code is returned.
Last updated on Tuesday, July 13, 2004