diff --git a/reactos/lib/ddraw/ddraw.xml b/reactos/lib/ddraw/ddraw.xml index 0070e35ed9d..6663f16bdb2 100644 --- a/reactos/lib/ddraw/ddraw.xml +++ b/reactos/lib/ddraw/ddraw.xml @@ -1,11 +1,12 @@ - . - . + . 0x0600 0x0501 + + ntdll kernel32 diff --git a/reactos/lib/ddraw/main/surface.c b/reactos/lib/ddraw/main/surface.c index bc39285700c..2b9536bc0df 100644 --- a/reactos/lib/ddraw/main/surface.c +++ b/reactos/lib/ddraw/main/surface.c @@ -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; diff --git a/reactos/lib/ddraw/rosdraw.h b/reactos/lib/ddraw/rosdraw.h index dfbe687a19c..ec4224c5faa 100644 --- a/reactos/lib/ddraw/rosdraw.h +++ b/reactos/lib/ddraw/rosdraw.h @@ -6,12 +6,13 @@ #include #include #include - -#include -#include +#include #include #include -#include + + + + /******** Main Object ********/