次の方法で共有


3.1.4.17.1 Enumerate Instances of a Given Class

The server passes Class name and a pointer to the IWbemObjectSink object. The provider communicates the instances through the IWbemObjectSink::Indicate method. After all the instances are returned or if there is a failure encountered, the provider sends the final status using IWbemObjectSink::SetStatus method.