Sounds like you are looking for the DllImport signature of RegDeleteKeyValue
function. If so this is it
<DllImport("advapi32.dll")> _
Private Shared Function RegDeleteKeyValue( _
ByVal handle As IntPtr, _
ByVal keyName As String, _
ByVal valueName As String)
End Function