Commit 6e24312a authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Make (G|S)etClipList not abort, but return DDERR_NOCLIPLIST.

Do not scroll FIXME()s too much.
parent 655b2044
...@@ -106,10 +106,11 @@ HRESULT WINAPI Main_DirectDrawClipper_GetClipList( ...@@ -106,10 +106,11 @@ HRESULT WINAPI Main_DirectDrawClipper_GetClipList(
LPDIRECTDRAWCLIPPER iface,LPRECT prcClip,LPRGNDATA lprgn,LPDWORD pdwSize LPDIRECTDRAWCLIPPER iface,LPRECT prcClip,LPRGNDATA lprgn,LPDWORD pdwSize
) { ) {
ICOM_THIS(IDirectDrawClipperImpl,iface); ICOM_THIS(IDirectDrawClipperImpl,iface);
FIXME("(%p,%p,%p,%p),stub!\n",This,prcClip,lprgn,pdwSize); static int warned = 0;
abort(); if (warned++ < 10)
FIXME("(%p,%p,%p,%p),stub!\n",This,prcClip,lprgn,pdwSize);
if (pdwSize) *pdwSize=0; if (pdwSize) *pdwSize=0;
return DD_OK; return DDERR_NOCLIPLIST;
} }
HRESULT WINAPI Main_DirectDrawClipper_SetClipList( HRESULT WINAPI Main_DirectDrawClipper_SetClipList(
...@@ -117,7 +118,6 @@ HRESULT WINAPI Main_DirectDrawClipper_SetClipList( ...@@ -117,7 +118,6 @@ HRESULT WINAPI Main_DirectDrawClipper_SetClipList(
) { ) {
ICOM_THIS(IDirectDrawClipperImpl,iface); ICOM_THIS(IDirectDrawClipperImpl,iface);
FIXME("(%p,%p,%ld),stub!\n",This,lprgn,pdwSize); FIXME("(%p,%p,%ld),stub!\n",This,lprgn,pdwSize);
abort();
return DD_OK; return DD_OK;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment