3.2.4.1 IWbemObjectSink Interface Client Details
The IWbemObjectSink interface is implemented by the WMI client if the WMI client uses asynchronous method calls as specified in section 3.2.4.2.9. In this case, the WMI client acts as an IWbemObjectSink server. The WMI server acts as an IWbemObjectSink client. The WMI server MUST invoke the IWbemObjectSink methods to deliver the results (IWbemClassObjects, if any, and the status code) of the IWbemServices method for which this IWbemObjectSink is passed as a response handler, as specified in section 3.1.1.1.3.
Because this interface is implemented by the WMI client and the WMI server and invoked by both, the server in this section refers to the implementer of this interface, and client refers to the invoker in a specific scenario.
The IWbemObjectSink interface is implemented by the WMI server and returned to the WMI client in a ppResponseHandler parameter, if the WMI client calls the IWbemServices::QueryObjectSink method. In this case, the WMI server acts as an IWbemObjectSink server. The WMI client acts as an IWbemObjectSink client. The WMI client MUST invoke IWbemObjectSink methods to deliver the results, that is, IWbemClassObjects that represent the extrinsic event the client wants to deliver to the server.
Method |
Description |
---|---|
Called by the client to return additional results. Opnum: 3 |
|
Called by the client either to indicate the end of an operation or to send status information to the server. Opnum: 4 |