88 if( slist_int ==
NULL)
95 if( slist_lcl ==
NULL )
103 if( slist_gbl ==
NULL )
111 if( slist_more ==
NULL )
121 if( ThisSurfInt ==
NULL )
128 if( ThisSurfLcl ==
NULL )
135 if( ThisSurfGbl ==
NULL )
142 if( ThisSurfMore ==
NULL )
151 slist_int[
count] = ThisSurfInt;
152 slist_lcl[
count] = ThisSurfLcl;
153 slist_gbl[
count] = ThisSurfGbl;
154 slist_more[
count] = ThisSurfMore;
158 ThisSurfInt->
lpLcl = ThisSurfLcl;
159 ThisSurfLcl->
lpGbl = ThisSurfGbl;
215 ThisSurfLcl->lpSurfMore = ThisSurfMore;
219 ThisSurfMore->
slist = slist_lcl;
242 DX_STUB_str(
"mDdCanCreateSurface failed with DDHAL_DRIVER_NOTHANDLED.");
257 mDdCreateSurface.
dwSCnt = num_of_surf;
263 DX_STUB_str(
"mDdCreateSurface failed with DDHAL_DRIVER_NOTHANDLED.");
276 if (slist_more !=
NULL)
278 if (slist_gbl !=
NULL)
297 if (slist_more !=
NULL)
299 if (slist_gbl !=
NULL)
301 if (slist_lcl !=
NULL)
303 if (slist_int !=
NULL)
void CopyDDSurfDescToDDSurfDesc2(LPDDSURFACEDESC2 dst_pDesc, LPDDSURFACEDESC src_pDesc)
HRESULT Internal_CreateSurface(LPDDRAWI_DIRECTDRAW_INT pDDraw, LPDDSURFACEDESC2 pDDSD, LPDDRAWI_DDRAWSURFACE_INT *ppSurf, IUnknown *pUnkOuter)
struct _DDRAWI_DDRAWSURFACE_LCL FAR * LPDDRAWI_DDRAWSURFACE_LCL
struct _DDRAWI_DDRAWSURFACE_INT * LPDDRAWI_DDRAWSURFACE_INT
#define DDRAWISURFGBL_ISGDISURFACE
#define DDRAWILCL_SETCOOPCALLED
struct _DDRAWI_DDRAWSURFACE_MORE DDRAWI_DDRAWSURFACE_MORE
#define DDHAL_DRIVER_NOTHANDLED
ULONG WINAPI Main_DDrawSurface_AddRef(LPDDRAWI_DDRAWSURFACE_INT)
static void cleanup(void)
GLuint GLuint GLsizei count
IDirectDraw7Vtbl DirectDraw7_Vtable
IDirectDraw2Vtbl DirectDraw2_Vtable
IDirectDrawSurfaceVtbl DirectDrawSurface_Vtable
#define DxHeapMemAlloc(p, m)
IDirectDrawSurface4Vtbl DirectDrawSurface4_Vtable
IDirectDrawVtbl DirectDraw_Vtable
IDirectDraw4Vtbl DirectDraw4_Vtable
IDirectDrawSurface2Vtbl DirectDrawSurface2_Vtable
IDirectDrawSurface7Vtbl DirectDrawSurface7_Vtable
struct _DDSURFACEDESC2 DDSURFACEDESC2
#define DDSCAPS_PRIMARYSURFACE
#define DDERR_INVALIDCAPS
#define DDERR_INVALIDOBJECT
#define DDERR_OUTOFMEMORY
#define DDERR_NOTINITIALIZED
#define DDERR_NOCOOPERATIVELEVELSET
#define DDERR_INVALIDPARAMS
#define DDSCAPS_VIDEOMEMORY
#define DDSCAPS_SYSTEMMEMORY
LPDDRAWI_DIRECTDRAW_GBL lpDD
LPDDSURFACEDESC lpDDSurfaceDesc
LPDDHAL_CANCREATESURFACE CanCreateSurface
DWORD bIsDifferentPixelFormat
LPDDSURFACEDESC lpDDSurfaceDesc
LPDDRAWI_DIRECTDRAW_GBL lpDD
LPDDRAWI_DDRAWSURFACE_LCL * lplpSList
LPDDHAL_CREATESURFACE CreateSurface
LPDDHAL_CREATESURFACE CreateSurface
LPDDHAL_CANCREATESURFACE CanCreateSurface
LPDDRAWI_DIRECTDRAW_GBL lpDD
LPDDRAWI_DDRAWSURFACE_LCL lpLcl
LPDDRAWI_DDRAWSURFACE_GBL lpGbl
DISPLAYMODEINFO dmiDDrawReserved7
LPDDRAWI_DDRAWSURFACE_LCL * slist
LPDDRAWI_DIRECTDRAW_LCL lpDD_lcl
LPDDRAWI_DIRECTDRAW_INT lpDD_int
LPDDRAWI_DDRAWSURFACE_INT dsList
LPDDHAL_CALLBACKS lpDDCBtmp
LPDDRAWI_DIRECTDRAW_LCL lpLcl
LPDDRAWI_DDRAWSURFACE_INT lpPrimary
LPDDRAWI_DIRECTDRAW_GBL lpGbl
BYTE wMonitorsAttachedToDesktop
#define RtlCopyMemory(Destination, Source, Length)
#define RtlZeroMemory(Destination, Length)
DWORD WINAPI GetCurrentProcessId(void)
#define CLASS_E_NOAGGREGATION