http://bugs.winehq.org/show_bug.cgi?id=9008
--- Comment #10 from Stefan Dösinger stefandoesinger@gmx.at 2008-03-16 13:32:09 --- You can implement the version check by moving the code that is currently in IDirectDraw7Impl_CreateSurface into a separate function, then make the older versions call this function instead of the DDraw7 implementation, and make DDraw7 call it as well. Then you can deal with version-specific error checking in the version specific thunks.