Implement stub surface Blt, Lock and Unlock

This commit is contained in:
Toni Spets 2010-10-16 22:10:25 +03:00
parent 437b3e9197
commit 4ffda7b73f
3 changed files with 190 additions and 19 deletions

View file

@ -20,6 +20,8 @@
#include <windows.h>
#include "ddraw.h"
HRESULT ddraw_CreateSurface(void *This, LPDDSURFACEDESC DDSurfaceDesc, LPDIRECTDRAWSURFACE FAR *DDSurface, IUnknown FAR * unkOuter);
typedef struct
{
/* IUnknown */
@ -70,6 +72,10 @@ typedef struct
{
fakeDirectDrawSurface *Functions;
DWORD width;
DWORD height;
void *surface;
ULONG Ref;
} fakeDirectDrawSurfaceObject;