Commit 8c97327d authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

ddrawex: Get rid of the IDirectDrawSurfaceImpl typedef.

parent 38b4364c
...@@ -478,7 +478,7 @@ static HRESULT WINAPI ddrawex4_DuplicateSurface(IDirectDraw4 *iface, ...@@ -478,7 +478,7 @@ static HRESULT WINAPI ddrawex4_DuplicateSurface(IDirectDraw4 *iface,
IDirectDrawSurface4 *src, IDirectDrawSurface4 **dst) IDirectDrawSurface4 *src, IDirectDrawSurface4 **dst)
{ {
struct ddrawex *ddrawex = impl_from_IDirectDraw4(iface); struct ddrawex *ddrawex = impl_from_IDirectDraw4(iface);
IDirectDrawSurfaceImpl *src_impl = unsafe_impl_from_IDirectDrawSurface4(src); struct ddrawex_surface *src_impl = unsafe_impl_from_IDirectDrawSurface4(src);
TRACE("iface %p, src %p, dst %p.\n", iface, src, dst); TRACE("iface %p, src %p, dst %p.\n", iface, src, dst);
FIXME("Create a wrapper surface.\n"); FIXME("Create a wrapper surface.\n");
......
...@@ -66,10 +66,7 @@ struct ddrawex ...@@ -66,10 +66,7 @@ struct ddrawex
IDirectDraw4 *dd_get_outer(IDirectDraw4 *inner) DECLSPEC_HIDDEN; IDirectDraw4 *dd_get_outer(IDirectDraw4 *inner) DECLSPEC_HIDDEN;
IDirectDraw4 *dd_get_inner(IDirectDraw4 *outer) DECLSPEC_HIDDEN; IDirectDraw4 *dd_get_inner(IDirectDraw4 *outer) DECLSPEC_HIDDEN;
/****************************************************************************** struct ddrawex_surface
* IDirectDrawSurface implementation
******************************************************************************/
typedef struct
{ {
IDirectDrawSurface3 IDirectDrawSurface3_iface; IDirectDrawSurface3 IDirectDrawSurface3_iface;
IDirectDrawSurface4 IDirectDrawSurface4_iface; IDirectDrawSurface4 IDirectDrawSurface4_iface;
...@@ -83,10 +80,9 @@ typedef struct ...@@ -83,10 +80,9 @@ typedef struct
/* An UUID we use to store the outer surface as private data in the inner surface */ /* An UUID we use to store the outer surface as private data in the inner surface */
#define IID_DDrawexPriv IID_IDirectDrawSurface4 #define IID_DDrawexPriv IID_IDirectDrawSurface4
};
} IDirectDrawSurfaceImpl; struct ddrawex_surface *unsafe_impl_from_IDirectDrawSurface4(IDirectDrawSurface4 *iface) DECLSPEC_HIDDEN;
IDirectDrawSurfaceImpl *unsafe_impl_from_IDirectDrawSurface4(IDirectDrawSurface4 *iface) DECLSPEC_HIDDEN;
IDirectDrawSurface4 *dds_get_outer(IDirectDrawSurface4 *inner) DECLSPEC_HIDDEN; IDirectDrawSurface4 *dds_get_outer(IDirectDrawSurface4 *inner) DECLSPEC_HIDDEN;
HRESULT prepare_permanent_dc(IDirectDrawSurface4 *iface) DECLSPEC_HIDDEN; HRESULT prepare_permanent_dc(IDirectDrawSurface4 *iface) DECLSPEC_HIDDEN;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment