A client application can subscribe to be notified of CIM events. A subscription is a declaration of interest in one or more streams of indications. Currently, providers cannot subscribe for event indications.
An application that subscribes for indications of CIM events describes the following:
The indications to which it wants to subscribe.
The handler to which the CIM Object Manager delivers the indication.
An application can create one or more event filters with one or more event handlers. Event indications are not delivered until the application creates the event subscription.
Create an instance of CIM_Listener. See Adding a CIM Listener..
Create an instance of CIM_IndicationFilter. See Creating an Event Filter.
Create an instance of CIM_IndicationHandler. See Creating an Event Handler.
Bind the to the CIM_IndicationFilter to the CIM_IndicationHandler. See Binding an Event Filter to an Event Handler.