Important: |
---|
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 SetDDGPESurffunction associates the current DDGPESurfobject with a DirectDraw surface.
You would use this function to associate a known DDGPESurfobject with a DirectDraw surface with no associated surface data. Be careful to avoid attempting to associate a single DDGPESurfobject with more than one distinct DirectDraw surface. Your driver is required to set up the appropriate DirectDraw surface attributes.
virtual void SetDDGPESurf( LPDDRAWI_DDRAWSURFACE_GBL lpDDSurface );
Parameters
Return Values
The return value is S_OK if the function is successful. Otherwise an error code is returned.
Last updated on Tuesday, July 13, 2004