DeleteValue method

The DeleteValue method removes the specified variable from the Registry.  

BOOL DeleteValue(
 BSTR Name// The name of the variable

  Name     [in] This is the name of the variable that should be removed from the Registry.
Return values
  The DeleteValue method returns TRUE if the specified variable was removed successfully and FALSE otherwise.

See also
DeleteKey method