From a3cd4ae56789c5c411388f75925ec11a2b18a41c Mon Sep 17 00:00:00 2001 From: Maarten Bosma Date: Sat, 6 Aug 2005 22:08:13 +0000 Subject: [PATCH] add case if _NO_COM is defined structure _DDRAWI_DDRAWSURFACE_MORE svn path=/trunk/; revision=17118 --- reactos/w32api/include/ddk/ddrawi.h | 35 +++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/reactos/w32api/include/ddk/ddrawi.h b/reactos/w32api/include/ddk/ddrawi.h index 0b16a1ffd2e..c2763816d44 100644 --- a/reactos/w32api/include/ddk/ddrawi.h +++ b/reactos/w32api/include/ddk/ddrawi.h @@ -934,6 +934,41 @@ typedef struct _DDRAWI_DDRAWSURFACE_MORE { DWORD dwFVF; LPVOID lpVB; } DDRAWI_DDRAWSURFACE_MORE; +#else +typedef struct _DDRAWI_DDRAWSURFACE_MORE { + DWORD dwSize; + PVOID lpIUnknowns; + LPDDRAWI_DIRECTDRAW_LCL lpDD_lcl; + DWORD dwPageLockCount; + DWORD dwBytesAllocated; + LPDDRAWI_DIRECTDRAW_INT lpDD_int; + DWORD dwMipMapCount; + LPDDRAWI_DDRAWCLIPPER_INT lpDDIClipper; + /* DirectX 5.0 */ + LPHEAPALIASINFO lpHeapAliasInfo; + DWORD dwOverlayFlags; + VOID *rgjunc; + LPDDRAWI_DDVIDEOPORT_LCL lpVideoPort; + LPDDOVERLAYFX lpddOverlayFX; + DDSCAPSEX ddsCapsEx; + DWORD dwTextureStage; + LPVOID lpDDRAWReserved; + LPVOID lpDDRAWReserved2; + LPVOID lpDDrawReserved3; + DWORD dwDDrawReserved4; + LPVOID lpDDrawReserved5; + LPDWORD lpGammaRamp; + LPDWORD lpOriginalGammaRamp; + LPVOID lpDDrawReserved6; + DWORD dwSurfaceHandle; + DWORD qwDDrawReserved8[2]; + LPVOID lpDDrawReserved9; + DWORD cSurfaces; + LPDDSURFACEDESC2 pCreatedDDSurfaceDesc2; + LPDDRAWI_DDRAWSURFACE_LCL *slist; + DWORD dwFVF; + LPVOID lpVB; +} DDRAWI_DDRAWSURFACE_MORE; #endif /* _NO_COM */ typedef struct _DDRAWI_DDRAWSURFACE_LCL {