Unloads a hive from the registry.
RegUnloadHive(handle, subkey)
(i) handle either @REGUSERS or @REGMACHINE.
(s) subkey the name of a key which is mapped to a hive file.
(s) @TRUE on success.
Windows Vista/2008 and newer: This function may require an Administrator level account, if it attempts to access to the HKEY_LOCAL_MACHINE registry key.
RegUnloadHive(@REGMACHINE, "WinWare")
RegLoadHive and the section on Registration Database Operations