public static RegistryDeleteTree ( structenums RootKey, string SubKey ) : Boolean | ||
RootKey | structenums | |
SubKey | string | |
return | Boolean |
public static Boolean RegistryDeleteTree(structenums.baseKey RootKey, string SubKey)
{
int Result = SafeNativeMethods.RegDeleteTree(RootKey, SubKey);
if (Result != 0)
{
Console.WriteLine("CopyKey error:{0}", LastError(Result));
return false;
}
return true;
}
/// <summary>