RegUnloadHive

Unloads a hive from the registry.

Syntax:

RegUnloadHive(handle, subkey)

Parameters:

(i) handle either @REGUSERS or @REGMACHINE.

(s) subkey the name of a key which is mapped to a hive file.

Returns:

(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.

 
Example:
RegUnloadHive(@REGMACHINE, "WinWare")
See Also:

RegLoadHive and the section on Registration Database Operations