RegDeleteTree (advapi32)
Last changed: -37.44.91.114

.
Summary
Deletes the subkeys and values of the specified key recursively.

C# Signature:

[DllImport("advapi32.dll",EntryPoint="RegDeleteTree", SetLastError=true)]
public static extern int RegDeleteTree(
     UIntPtr hKey,
     [MarshalAs(UnmanagedType.LPStr)] string lpSubKey
);

VB Signature:

Declare Function RegDeleteTree Lib "advapi32.dll" (hKey As UIntPtr, lpSubKey As String) As Integer

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation