RegUnLoadKey entlädt a with RegLoadKey loaded Hive from the Registry. under NT-based Windowssystemen is the privilege SeRestorePrivilege necessary, the activate go must.
Deklaration:
DEf @RegUnLoadKey(2)!ADVAPI32,RegUnLoadKeyA“
Parameter:
1.Parameter: One with RegConnectRegistry erzeugtes lever one Registryschlüssels as LongInt or of/ one of subesquent vordefinierten Values, the as Unterschlüssel whom To entladenen Key has: => -HKEY_LOCAL_MACHINE = $80000002 -HKEY_USERS = $80000003 2.Parameter: address the Unterschlüssels or Memory-Variable with the names the Unterschlüssels, the entladen go should.
Return Value:
0 with success, with failure one worth <>0 (Error Code).