IWbemEventConsumerProvider interface (wbemprov.h)

The IWbemEventConsumerProvider interface provides the primary interface for an event consumer provider. Through this interface and the FindConsumer method, an event consumer provider can indicate which event consumers should receive a given event. The first time WMI delivers an event to a particular consumer, WMI calls FindConsumer to retrieve a pointer to the sink for that physical consumer. WMI then sends all subsequent occurrences of the event the sink provided by FindConsumer.

If you implement a permanent event consumer, you must implement IWbemEventConsumerProvider so that WMI can deliver events to your physical consumer.


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


The IWbemEventConsumerProvider interface has these methods.


The FindConsumer function locates and returns sink objects to which WMI can send events.


Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header wbemprov.h (include Wbemidl.h)