RegDBDisConnectRegistry
InstallShield 2024 » InstallScript Language Reference
Project:
The RegDBDisConnectRegistry function closes a connection to a remote registry that you established by calling RegDBConnectRegistry.
After calling RegDBDisConnectRegistry, all calls to the InstallScript registry-related functions affect the local system’s registry. For more information on special registry-related functions, see Special Registry-Related Functions.
Note:This function supports the 64-bit parts of the registry by using the REGDB_OPTION_WOW64_64KEY option. For more information, see REGDB_OPTIONS.
Syntax
RegDBDisConnectRegistry ( nReserved );
Parameters
Parameter |
Description |
nReserved |
Pass zero in this parameter. No other value is allowed. |
Return Values
Return Value |
Description |
0 |
Indicates that this function successfully closed a connection to the registry on the remote system. |
< 0 |
Indicates that this function failed to close the registry connection. |
See Also