IWbemEventConsumerProvider interface

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.

Members

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

Methods

The IWbemEventConsumerProvider interface has these methods.

MethodDescription
FindConsumer

Called by Windows Management to retrieve an IWbemUnboundObjectSink object for a particular logical consumer.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Wbemprov.h (include Wbemidl.h)

Library

Wbemuuid.lib

DLL

Wbemsvc.dll

 

 

Show:
© 2014 Microsoft