###User Defined Function###
_WinAPI_RegDeleteKeyValue

###Description###
Removes the specified value from the specified registry key and subkey.

###Syntax###
#include <WinAPIReg.au3>
_WinAPI_RegDeleteKeyValue ( $hKey, $sSubKey, $sValueName )


###Parameters###
@@ParamTable@@
$hKey
	Handle to an open registry key. The key must have been opened with the $KEY_SET_VALUE access right.
	This handle is returned by the <a href="_WinAPI_RegCreateKey.htm">_WinAPI_RegCreateKey()</a> or <a href="_WinAPI_RegOpenKey.htm">_WinAPI_RegOpenKey()</a> function, or it can be
	one of the following predefined keys.
	$HKEY_CLASSES_ROOT
	$HKEY_CURRENT_CONFIG
	$HKEY_CURRENT_USER
	$HKEY_LOCAL_MACHINE
	$HKEY_USERS
$sSubKey
	The name of the registry key. This key must be a subkey of the key identified by the $hKey parameter.
$sValueName
	The registry value to be removed from the key.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success 	1.
Failure 	0 and sets the @error flag to non-zero, @extended flag may contain the system error code.
@@End@@


###Remarks###
This function requires <strong>Windows Vista or later</strong>.


###Related###
_WinAPI_RegCreateKey, _WinAPI_RegOpenKey


###See Also###
@@MsdnLink@@ RegDeleteKeyValue
