[PATCH 1/3] quartz: Add initial support for IGraphVersion in IFilterGraphImpl

Alessandro Pignotti alessandro at agawi.io
Fri Feb 22 07:13:30 CST 2013


This patchset enable proper support for modifying the filter graph while
doing an enumeration of the filters. As described in
http://msdn.microsoft.com/en-us/library/windows/desktop/dd376590%
28v=vs.85%29.aspx the IEnumFilter::Next operation should return
VFW_E_ENUM_OUT_OF_SYNC and the IEnumFilter::Reset should be able to
restore/reset the functionality of the enumerator.

To achieve this I've added support for the IGraphVersion interface to
IGraphFilter and I've modified IEnumFilterImpl to store pointers to the
data stored inside the IGraphFilterImpl. I'm not sure that this solution
is the best one, since now IEnumFilterImpl and IGraphFilterImpl are
tightly coupled. I don't think there is a public interface to load the
updated filter list in an already existing enumerator. A possible
solution would be to create a new enumerator using the public interface
and then forward all the request to the new enumerator, but I don't like
this solution much either.

Alessandro
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-quartz-Add-initial-support-for-IGraphVersion-in-IFil.patch
Type: text/x-patch
Size: 3374 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130222/0d85a55d/attachment.bin>


More information about the wine-patches mailing list