From 4b772c2cf2ba5fd4c43d35310c6cd1bc62e24a77 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Tue, 10 Sep 2013 09:32:36 +0200 Subject: [PATCH] d3drm: Avoid LPRECT. --- dlls/d3drm/texture.c | 7 +++---- include/d3drmobj.h | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/dlls/d3drm/texture.c b/dlls/d3drm/texture.c index b2ea078dfd4..5ed2ad02300 100644 --- a/dlls/d3drm/texture.c +++ b/dlls/d3drm/texture.c @@ -565,11 +565,10 @@ static HRESULT WINAPI IDirect3DRMTexture3Impl_InitFromResource(IDirect3DRMTextur return E_NOTIMPL; } -static HRESULT WINAPI IDirect3DRMTexture3Impl_Changed(IDirect3DRMTexture3* iface, DWORD flags, DWORD nb_rects, LPRECT rects) +static HRESULT WINAPI IDirect3DRMTexture3Impl_Changed(IDirect3DRMTexture3 *iface, + DWORD flags, DWORD rect_count, RECT *rects) { - IDirect3DRMTextureImpl *This = impl_from_IDirect3DRMTexture3(iface); - - FIXME("(%p/%p)->(%x, %u, %p): stub\n", iface, This, flags, nb_rects, rects); + FIXME("iface %p, flags %#x, rect_count %u, rects %p stub!\n", iface, flags, rect_count, rects); return E_NOTIMPL; } diff --git a/include/d3drmobj.h b/include/d3drmobj.h index d9de5c39c8e..89198f8c465 100644 --- a/include/d3drmobj.h +++ b/include/d3drmobj.h @@ -3442,7 +3442,7 @@ DECLARE_INTERFACE_(IDirect3DRMTexture3, IDirect3DRMVisual) STDMETHOD(InitFromFile)(THIS_ const char *filename) PURE; STDMETHOD(InitFromSurface)(THIS_ IDirectDrawSurface *surface) PURE; STDMETHOD(InitFromResource)(THIS_ HRSRC) PURE; - STDMETHOD(Changed)(THIS_ DWORD dwFlags, DWORD dwcRects, LPRECT pRects) PURE; + STDMETHOD(Changed)(THIS_ DWORD flags, DWORD rect_count, RECT *rects) PURE; STDMETHOD(SetColors)(THIS_ DWORD) PURE; STDMETHOD(SetShades)(THIS_ DWORD) PURE; STDMETHOD(SetDecalSize)(THIS_ D3DVALUE width, D3DVALUE height) PURE;