|Microsoft DirectX 9.0|
The NotifyGraphChange method is called when the set of filters in the filter graph changes or any pin connections change.
This methods takes no parameters.
Returns an HRESULT value.
This method is called whenever the IFilterGraph::AddFilter, IFilterGraph::RemoveFilter, or IFilterGraph::ConnectDirect method is called or a method is called that will lead to one of these being called (such as IGraphBuilder::RenderFile).
Make sure you call Release on any held filters that have been removed at this point. For performance reasons, PIDs might choose not to rescan the filters until the PIDs actually need the interfaces, because there might be several separate notifications sent. However, it is important to release any cached interfaces immediately.