Skip to content

Latest commit

 

History

History
70 lines (58 loc) · 3.68 KB

nn-strmif-idistributornotify.md

File metadata and controls

70 lines (58 loc) · 3.68 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NN:strmif.IDistributorNotify
IDistributorNotify (strmif.h)
The IDistributorNotify interface enables a plug-in distributor to be notified when the filter graph changes.Applications never use this interface.
IDistributorNotify
IDistributorNotify interface [DirectShow]
IDistributorNotify interface [DirectShow]
described
IDistributorNotifyInterface
dshow.idistributornotify
strmif/IDistributorNotify
dshow\idistributornotify.htm
dshow
c7c9ee95-9d68-45c5-a3ca-8d6071782851
4/26/2023
IDistributorNotify, IDistributorNotify interface [DirectShow], IDistributorNotify interface [DirectShow],described, IDistributorNotifyInterface, dshow.idistributornotify, strmif/IDistributorNotify
strmif.h
Dshow.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Strmiids.lib
Windows
19H1
IDistributorNotify
strmif/IDistributorNotify
c++
APIRef
kbSyntax
COM
Strmiids.lib
Strmiids.dll
IDistributorNotify

IDistributorNotify interface

-description

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

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.

-inheritance

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

-see-also

Plug-in Distributors