|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.|
This section details new features provided by the IDirectDraw4interface and describes it's new features or how it behaves differently than its predecessor, IDirectDraw2(there is no IDirectDraw3interface). The following topics are discussed:
The most obvious difference between the IDirectDraw4interface and its predecessors is how it works with surfaceshow surfaces are described and which interfaces it automatically provides to access them. All of the surface-related methods in the new interface accept slightly different parameters than their counterparts in former interface versions. Wherever an IDirectDraw2interface method might accept a DDSURFACEDESCstructure or retrieve an IDirectDrawSurface3interface, the methods of IDirectDraw4accept a DDSURFACEDESC2structure and retrieve an IDirectDrawSurface4interface instead.
Another behavioral change that IDirectDraw4introduces affects the lifetimes of child objects with respect to their parent DirectDraw object. For more information, see Parent and Child Object Lifetimes.
Last updated on Tuesday, May 18, 2004