Save the registry on server exit without client intervention.
Removed "alt" registry files since we now have symlinks and
WINEPREFIX to replace them.
diff --git a/include/server.h b/include/server.h
index 3cc7615..3ccf97e 100644
--- a/include/server.h
+++ b/include/server.h
@@ -996,12 +996,21 @@
};
+/* Save a registry branch at server exit */
+struct save_registry_atexit_request
+{
+ IN int hkey; /* key to save */
+ IN char file[1]; /* file to save to */
+};
+
+
/* Set the current and saving level for the registry */
struct set_registry_levels_request
{
IN int current; /* new current level */
IN int saving; /* new saving level */
IN int version; /* file format version for saving */
+ IN int period; /* duration between periodic saves (milliseconds) */
};
@@ -1194,6 +1203,7 @@
REQ_DELETE_KEY_VALUE,
REQ_LOAD_REGISTRY,
REQ_SAVE_REGISTRY,
+ REQ_SAVE_REGISTRY_ATEXIT,
REQ_SET_REGISTRY_LEVELS,
REQ_CREATE_TIMER,
REQ_OPEN_TIMER,
@@ -1209,7 +1219,7 @@
REQ_NB_REQUESTS
};
-#define SERVER_PROTOCOL_VERSION 7
+#define SERVER_PROTOCOL_VERSION 8
/* ### make_requests end ### */
/* Everything above this line is generated automatically by tools/make_requests */