Added service database names

Alexander Yaworsky yaworsky at migusoft.ru
Sat Sep 18 06:11:25 CDT 2004


Hello

ChangeLog:

Added service database names

Index: include/winsvc.h
===================================================================
RCS file: /home/wine/wine/include/winsvc.h,v
retrieving revision 1.14
diff -u -r1.14 winsvc.h
--- include/winsvc.h 13 Dec 2003 03:25:37 -0000 1.14
+++ include/winsvc.h 18 Sep 2004 02:38:10 -0000
@@ -23,6 +23,24 @@
 extern "C" {
 #endif /* defined(__cplusplus) */
 
+/* Service database names */
+#define SERVICES_ACTIVE_DATABASEA     "ServicesActive"
+#define SERVICES_FAILED_DATABASEA     "ServicesFailed"
+
+#if defined(__GNUC__)
+# define SERVICES_ACTIVE_DATABASEW    (const WCHAR []){ 'S','e','r','v','i','c','e','s','A','c','t','i','v','e',0 }
+# define SERVICES_FAILED_DATABASEW    (const WCHAR []){ 'S','e','r','v','i','c','e','s','F','a','i','l','e','d',0 }
+#elif defined(_MSC_VER)
+# define SERVICES_ACTIVE_DATABASEW    L"ServicesActive"
+# define SERVICES_FAILED_DATABASEW    L"ServicesFailed"
+#endif
+
+#ifdef UNICODE
+# define SERVICES_ACTIVE_DATABASE     SERVICES_ACTIVE_DATABASEW
+#else
+# define SERVICES_ACTIVE_DATABASE     SERVICES_ACTIVE_DATABASEA
+#endif
+
 /* Controls */
 #define SERVICE_CONTROL_STOP                  0x00000001
 #define SERVICE_CONTROL_PAUSE                 0x00000002




More information about the wine-patches mailing list