[This is preliminary documentation and subject to change.]
The DWbemContext.GetValue method returns the value of the named property.
GetValue(
[in] NameIndex As String,
[in] lFlags As Long,
[out] pValue As VARIANT
) As Long
Reserved. It must be zero.
It is possible that an entire DWbemClassObject can be returned inside the VARIANT. If that is the case, CIM_OBJECT is the VARIANT type.
WBEM_E_NOT_FOUND | The requested value was not found. |
WBEM_E_INVALID_PARAMETER | An invalid parameter was specified, or the namespace could not be parsed. |
WBEM_E_OUT_OF_MEMORY | There was not enough memory to complete the operation. |
WBEM_NO_ERROR | Success. |