Export (0) Print
Expand All

IDistributorNotify interface

The IDistributorNotify interface enables a plug-in distributor to be notified when the filter graph changes.

Applications never use this interface. Implement this interface if you are writing a plug-in distributor (PID) and want the PID to receive notifications of control and changes in the composition of filter graphs.

The Filter Graph Manager queries for this interface on any plug-in distributors that it aggregates. If a PID exposes this interface, the Filter Graph Manager notifies the PID of any state changes by calling IDistributorNotify methods before calling the equivalent IBaseFilter methods on the filters. The Filter Graph Manager also calls the IDistributorNotify::NotifyGraphChange method whenever it adds or removes a filter, or any pin connections change.

During a call to any IDistributorNotify method, do not hold any critical section that might be held by another code path that calls methods on the Filter Graph Manager. Doing so could result in a deadlock.

Members

The IDistributorNotify interface inherits from the IUnknown interface. IDistributorNotify also has these types of members:

Methods

The IDistributorNotify interface has these methods.

MethodDescription
NotifyGraphChange

Called when the set of filters in the filter graph change or their connections change.

Pause

Called when the filter graph is entering a paused state.

Run

Called when the filter graph is entering a running state.

SetSyncSource

Called when a new clock is registered.

Stop

Called when the filter graph is entering a stopped state.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Strmif.h (include Dshow.h)

Library

Strmiids.lib

See also

Plug-in Distributors

 

 

Community Additions

ADD
Show:
© 2014 Microsoft