IWbemContext::DeleteValue method

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

Syntax

HRESULT DeleteValue(
  LPCWSTR wszName,
  long    lFlags
);

Parameters

wszName

lFlags

Reserved. This parameter must be 0.

Return Value

This method returns an HRESULTHRESULT indicating the status of the method call. The following list lists the value contained withinan HRESULTHRESULT.

Requirements

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header wbemcli.h (include Wbemidl.h)
Library Wbemuuid.lib
DLL Esscli.dll; Fastprox.dll; FrameDyn.dll; FrameDynOS.dll; Wbemcomn.dll; Wbemcore.dll; Wbemess.dll; Wmipjobj.dll

See Also

IWbemContext

IWbemContext::GetValue

IWbemContext::SetValue