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.
A version of this page is also available for
4/8/2010

DirectDrawSurface objects expose their functionality through the IDirectDrawSurfaceinterfaces.

Each new interface version provides the same utility as its predecessors, with additional options available through new methods.

When you create a surface by calling the IDirectDraw::CreateSurfacemethod (or another creation method from IDirectDraw), you receive a pointer to the surface's IDirectDrawSurfaceinterface.

If you want to work with a different iteration (in particular IDirectDrawSurface) of the interface, you must query for it.