8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 22:03:03 +01:00

Added missing guardian registry entry.

This commit is contained in:
dimitr 2002-10-06 08:59:51 +00:00
parent 4cb5245604
commit 2b2fd55e8d

View File

@ -102,6 +102,15 @@ USHORT REGISTRY_install(HKEY hkey_node,
return FAILURE;
}
if ((status = RegSetValueEx(hkey_kit, "GuardianOptions", 0,
REG_SZ, reinterpret_cast<UCHAR*>("1"),
1)) != ERROR_SUCCESS) {
(*err_handler) (status, "RegSetValueEx", hkey_kit);
if (disp == REG_CREATED_NEW_KEY)
REGISTRY_remove(hkey_node, TRUE, err_handler);
return FAILURE;
}
RegCloseKey(hkey_kit);
return SUCCESS;