mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
commit change to ddraw to use the new headers that will come in next commit
svn path=/trunk/; revision=18713
This commit is contained in:
parent
8d7e78ac81
commit
7133de6563
3 changed files with 9 additions and 7 deletions
|
@ -1,11 +1,12 @@
|
|||
<module name="ddraw" type="win32dll" installbase="system32" installname="ddraw.dll">
|
||||
<importlibrary definition="ddraw.def" />
|
||||
<include base="ddraw">.</include>
|
||||
<include base="d3d8thk">.</include>
|
||||
<include base="ddraw">.</include>
|
||||
<define name="UNICODE" />
|
||||
<define name="__USE_W32API" />
|
||||
<define name="WINVER">0x0600</define>
|
||||
<define name="_WIN32_WINNT">0x0501</define>
|
||||
|
||||
|
||||
|
||||
<library>ntdll</library>
|
||||
<library>kernel32</library>
|
||||
|
|
|
@ -28,7 +28,7 @@ HRESULT WINAPI Main_DDrawSurface_Initialize (LPDIRECTDRAWSURFACE7 iface, LPDIREC
|
|||
|
||||
/* can the driver create the surface */
|
||||
DDHAL_CANCREATESURFACEDATA CanCreateData;
|
||||
memset(&CanCreateData, 0, sizeof(DD_CANCREATESURFACEDATA));
|
||||
memset(&CanCreateData, 0, sizeof(DDHAL_CANCREATESURFACEDATA));
|
||||
CanCreateData.lpDD = &This->owner->DirectDrawGlobal;
|
||||
CanCreateData.lpDDSurfaceDesc = (DDSURFACEDESC*)pDDSD;
|
||||
CanCreateData.CanCreateSurface = This->owner->HalInfo.lpDDCallbacks->CanCreateSurface;
|
||||
|
|
|
@ -6,12 +6,13 @@
|
|||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <ddraw.h>
|
||||
|
||||
#include <ddk/ddrawint.h>
|
||||
#include <ddk/d3dnthal.h>
|
||||
#include <ddk/ddrawi.h>
|
||||
#include <ddk/d3dhal.h>
|
||||
#include <ddrawgdi.h>
|
||||
#include <d3d8thk.h>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/******** Main Object ********/
|
||||
|
|
Loading…
Reference in a new issue