I think you should put the things from surface_impl.h into ddraw_private.h
-----Original Message----- From: wine-patches-bounces@winehq.org [mailto:wine-patches- bounces@winehq.org] On Behalf Of Michael Karcher Sent: Sunday, August 10, 2008 4:20 PM To: wine-patches@winehq.org Subject: [PATCH 03/10] ddraw/surface: Made IDirectDrawSurfaceImpl methods non-static.
This allows direct calls from surface_thunks.c. IMHO there is no point in letting the call from the thunk to the implementation go through the vtable again, unless we are going to use dynamic vtables.
dlls/ddraw/surface.c | 85 +++++++++--------- dlls/ddraw/surface_impl.h | 207 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 250 insertions(+), 42 deletions(-) create mode 100644 dlls/ddraw/surface_impl.h