IWbemContext::DeleteValue

[This is preliminary documentation and subject to change.]

The IWbemContext::DeleteValue method deletes a named context value created by IWbemContext::SetValue.

HRESULT DeleteValue(
  [in] BSTR bstrName,
  [in] LONG lFlags
);
 

Parameters

bstrName
A pointer to a valid BSTR containing the named context value to delete. The pointer is treated as read-only.
lFlags
Reserved. It must be zero.

Return Values

WBEM_E_FAILED General failure.
WBEM_E_INVALID_PARAMETER An invalid Name or lFlags value was specified.
WBEM_E_NOT_FOUND The specified named context value does not exist.
WBEM_NO_ERROR Success.

See Also

IWbemContext::SetValue, IWbemContext::GetValue