Microsoft Windows CE 3.0  

New Features in IDirectDraw4

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 IDirectDraw4interface extends previous iterations by adding several methods that provide improved surface management and ease of use

Since it is not possible to lose surfaces in Windows CE, the IDirectDraw4::RestoreAllSurfacesmethod, has been left for compatibility purposes only. Invoking this method on CE will return a DD_OK.

Additionally, you can now retrieve a surface's IDirectDrawSurface5interface from a Windows device context by first using the IDirectDraw4::GetSurfaceFromDCmethod then call QueryInterfaceon that surface to retrieve the IDirectDrawSurface5interface.



 Last updated on Tuesday, May 18, 2004

© 2004 Microsoft Corporation. All rights reserved.