RegDeleteValue (coredll)
Last changed: -62.253.128.14

.
Summary
Deletes a named subkey from the specified registry key.

C# Signature:

[DllImport("coredll.dll")]
public static extern int RegDeleteValue(IntPtr hKey, string lpValueName);

User-Defined Types:

None.

Notes:

The .NET Compact Framework does not contain a HandleRef type, so it may be necessary to call GC.KeepAlive after calling this function if the calling class wraps the hKey parameter as an unmanaged resource.

Tips & Tricks:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Documentation