3.1.4.17.15 Execute Query

The server passes a WQL query and a pointer to the IWbemObjectSink object. The provider communicates with the matching objects through the IWbemObjectSink::Indicate (section 3.1.4.2.1) method. After all the matching objects are returned, or if there is a failure encountered, the provider sends the final status using the IWbemObjectSink::SetStatus (section 3.1.4.2.2) method.

If the provider cannot process the query, then it MUST return WBEM_E_PROVIDER_NOT_CAPABLE.