#177 support 2 more clipper functions - GetClipList and SetClipList - clipping not supported yet in dd_blt!

This commit is contained in:
FunkyFr3sh 2022-09-27 13:56:36 +02:00
parent 73e13dbe8c
commit 24f6a020d5
4 changed files with 70 additions and 8 deletions

View file

@ -15,6 +15,7 @@ typedef struct IDirectDrawClipperImpl
ULONG ref;
HWND hwnd;
HRGN region;
} IDirectDrawClipperImpl;

View file

@ -7,7 +7,9 @@
#include "IDirectDrawClipper.h"
HRESULT ddc_GetClipList(IDirectDrawClipperImpl* This, LPRECT lpRect, LPRGNDATA lpClipList, LPDWORD lpdwSiz);
HRESULT ddc_GetHWnd(IDirectDrawClipperImpl* This, HWND FAR* lphWnd);
HRESULT ddc_SetClipList(IDirectDrawClipperImpl* This, LPRGNDATA lpClipList, DWORD dwFlags);
HRESULT ddc_SetHWnd(IDirectDrawClipperImpl* This, DWORD dwFlags, HWND hWnd);
HRESULT dd_CreateClipper(DWORD dwFlags, IDirectDrawClipperImpl** lplpDDClipper, IUnknown FAR* pUnkOuter);