export DirectDrawCreateEx

This commit is contained in:
FunkyFr3sh 2020-10-15 05:13:37 +02:00
parent d45bf45895
commit ae4b72c9c9
9 changed files with 98 additions and 64 deletions

View file

@ -11,11 +11,13 @@ HRESULT dd_CreateClipper(DWORD dwFlags, LPDIRECTDRAWCLIPPER FAR *lplpDDClipper,
return DDERR_INVALIDPARAMS;
IDirectDrawClipperImpl *c = (IDirectDrawClipperImpl *)HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IDirectDrawClipperImpl));
c->lpVtbl = &g_ddc_vtbl;
dprintf(" Clipper = %p\n", c);
*lplpDDClipper = (LPDIRECTDRAWCLIPPER)c;
c->lpVtbl = &g_ddc_vtbl;
IDirectDrawClipper_AddRef(c);
*lplpDDClipper = (LPDIRECTDRAWCLIPPER)c;
return DD_OK;
}