Suggestion for DDraw - IDirectDrawClipper::IsClipListChanged

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
BFeely
Newbie
Newbie
Posts: 2
Joined: Sun Feb 14, 2016 4:13 pm

Suggestion for DDraw - IDirectDrawClipper::IsClipListChanged

Post by BFeely »

Hello. I am the developer of the DirectDraw implementation called DXGL. I have pretty much figured out how IsClipListChanged works:

- Upon calling IDirectDrawClipper::SetHWnd, store the current window rect in the IDirectDrawClipper object, as well as setting an internal flag to TRUE.
- I haven't validated this, but when calling SetClipList set the internal flag to TRUE.
- When calling IsClipListChanged, if there is a HWND, get its rect and compare with the stored rect. Do this before validating the internal flag. If the rect has changed, set the flag to TRUE and store the new rect in the clipper object.
- After checking the window rect for changes in IsClipListChanged, copy the value of the internal flag to the lphWnd parameter, then set the internal flag to FALSE to reset it.

This behavior can be verified with the testing tool built into the Windows 8.1 HCK (and previous versions of the kit going back to probably Windows 2000) called fnddraw.exe, specifically the CLIP_IsClipListChanged test.
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Suggestion for DDraw - IDirectDrawClipper::IsClipListCha

Post by lahmbi5678 »

You should file a bug, if you have an application or test case which would need an appropriate implementation of the function you mentioned.

Alternatively you should post a question on the wine-devel mailing list.
Locked