IWbemObjectSink

[This is preliminary documentation and subject to change.]

The IWbemObjectSink interface is a sink interface used for all types of notifications within the CIMOM programming model. Clients implement this interface to receive both the results of the asynchronous methods of IWbemServices and event notifications. Providers use this interface to provide events and objects.

In general, you call Indicate to provide objects. After that, call SetStatus to indicate the end of the notification sequence. You can also call SetStatus to indicate errors when the sink does not have any objects.

Methods in Vtable Order

IUnknown Methods Description
QueryInterface Determines if the current object supports a given interface.
AddRef Increases the object's reference count by 1.
Release Decrements the object's reference count, and frees the object when the reference count is zero.

IWbemObjectSink Methods Description
Indicate Provides notification objects to the implementer.
SetStatus Provides notification status to the implementer.