Module: wine Branch: master Commit: 2795f4ad17613911aef58f0ddf74b83d4acbb82f URL: http://source.winehq.org/git/wine.git/?a=commit;h=2795f4ad17613911aef58f0ddf...
Author: Christian Costa titan.costa@wanadoo.fr Date: Sun Jan 10 21:41:12 2010 +0100
d3drm: Fix LPDIRECT3DRM definition and make sure it is defined before including d3drmobj.h.
---
include/d3drm.h | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/d3drm.h b/include/d3drm.h index e13c91d..240014e 100644 --- a/include/d3drm.h +++ b/include/d3drm.h @@ -21,6 +21,9 @@ #define __D3DRM_H__
#include <ddraw.h> + +typedef struct IDirect3DRM *LPDIRECT3DRM; + #include <d3drmobj.h>
@@ -32,8 +35,6 @@ DEFINE_GUID(IID_IDirect3DRM, 0x2bc49361, 0x8327, 0x11cf, 0xac, 0x DEFINE_GUID(IID_IDirect3DRM2, 0x4516ecc8, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3); DEFINE_GUID(IID_IDirect3DRM3, 0x4516ec83, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3);
-typedef void *LPDIRECT3DRM; - HRESULT WINAPI Direct3DRMCreate(LPDIRECT3DRM* ppDirect3DRM);
/*****************************************************************************