3.2.4.2.6 Invoking Synchronous Methods Returning Single Object

If the client wants to invoke any of the following WMI methods synchronously, the client MUST NOT set WBEM_FLAG_RETURN_IMMEDIATELY when making method calls. When the method completes successfully, the output parameter contains the result object of the operation. The following table lists the methods and output parameter containing the result object of the operation.

S.No

Methode name

Output Parameter contatining result object

1

IWbemServices::OpenNamespace

ppWorkingNamespace

2

IWbemServices::GetObject

ppObject

3

IWbemServices::ExecMethod

ppOutParams

When the call to the method fails, the output parameter is NULL.