IWbemPathKeyList::RemoveKey method (wmiutils.h)

The IWbemPathKeyList::RemoveKey method removes the key that matches the wszName parameter.

Syntax

HRESULT RemoveKey(
  [in, out] LPCWSTR wszName,
  [in]      ULONG   uFlags
);

Parameters

[in, out] wszName

Name of the key to be removed.

[in] uFlags

Reserved. Must be 0 (zero).

Return value

This method returns an HRESULT indicating the status of the method call.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header wmiutils.h
Library Wbemuuid.lib
DLL Wmiutils.dll

See also

IWbemPath

IWbemPathKeyList

IWbemPathKeyList::RemoveAllKeys