Implement all IDirectDraw stubs, C&C now starts up on Wine

This commit is contained in:
Toni Spets 2010-10-23 19:25:02 +03:00
parent 023794ae97
commit e07abb7e18
5 changed files with 106 additions and 22 deletions

View file

@ -19,6 +19,7 @@
#include <windows.h>
#include "ddraw.h"
#include "main.h"
typedef struct
{
@ -46,6 +47,6 @@ typedef struct
extern fakeDirectDrawClipper ciface;
HRESULT ddraw_CreateClipper(void *_This, DWORD dwFlags, LPDIRECTDRAWCLIPPER FAR *lplpDDClipper, IUnknown FAR *pUnkOuter );
HRESULT __stdcall ddraw_CreateClipper(IDirectDrawImpl *This, DWORD dwFlags, LPDIRECTDRAWCLIPPER FAR *lplpDDClipper, IUnknown FAR *pUnkOuter );
#endif