Module: wine
Branch: master
Commit: d5308e809d6f7d68771a6a93a5cd2ac63c548587
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d5308e809d6f7d68771a6a93a…
Author: Huw Davies <huw(a)codeweavers.com>
Date: Wed Sep 27 10:17:17 2017 +0100
sapi: Register the classes from sapiddk.idl that would otherwise not get registered.
Signed-off-by: Huw Davies <huw(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/sapi/Makefile.in | 1 +
dlls/sapi/sapi_classes.idl | 52 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/dlls/sapi/Makefile.in b/dlls/sapi/Makefile.in
index e4a0746..99a0143 100644
--- a/dlls/sapi/Makefile.in
+++ b/dlls/sapi/Makefile.in
@@ -5,4 +5,5 @@ C_SRCS = \
main.c
IDL_SRCS = \
+ sapi_classes.idl \
sapi_typelib.idl
diff --git a/dlls/sapi/sapi_classes.idl b/dlls/sapi/sapi_classes.idl
new file mode 100644
index 0000000..40886f5
--- /dev/null
+++ b/dlls/sapi/sapi_classes.idl
@@ -0,0 +1,52 @@
+/*
+ * Speech API (SAPI) classes.
+ *
+ * Copyright (C) 2017 Huw Davies
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+/*
+ * These are the classes from the typelib in sapiddk.idl. They don't get
+ * registered because the typelib is not registered.
+ */
+
+#pragma makedep register
+
+[
+ uuid(d9f6ee60-58c9-458b-88e1-2f908fd7f87c),
+ helpstring("Data Key"),
+ progid("SAPI.SpDataKey.1"),
+ vi_progid("SAPI.SpDataKey"),
+ threading(both)
+]
+coclass SpDataKey
+{
+ interface ISpRegDataKey;
+ [default] interface ISpDataKey;
+}
+
+[
+ uuid(3918d75f-0acb-41f2-b733-92aa15bcecf6),
+ helpstring("Object Token Enumerator"),
+ progid("SAPI.SpObjectTokenEnum.1"),
+ vi_progid("SAPI.SpObjectTokenEnum"),
+ threading(both)
+]
+coclass SpObjectTokenEnum
+{
+ interface ISpObjectTokenEnumBuilder;
+ [default] interface IEnumSpObjectTokens;
+}
Module: wine
Branch: master
Commit: 5f3e6b0433b2a3dd4334bf1e7d7f14eb2b67b693
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5f3e6b0433b2a3dd4334bf1e7…
Author: Huw Davies <huw(a)codeweavers.com>
Date: Wed Sep 27 10:17:14 2017 +0100
include: Add sperror.h.
Signed-off-by: Huw Davies <huw(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
include/Makefile.in | 1 +
include/sperror.h | 31 +++++++++++++++++++++++++++++++
2 files changed, 32 insertions(+)
diff --git a/include/Makefile.in b/include/Makefile.in
index a36cf89..2e17067 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -618,6 +618,7 @@ HEADER_SRCS = \
slpublic.h \
snmp.h \
softpub.h \
+ sperror.h \
sql.h \
sqlext.h \
sqltypes.h \
diff --git a/include/sperror.h b/include/sperror.h
new file mode 100644
index 0000000..4b24799
--- /dev/null
+++ b/include/sperror.h
@@ -0,0 +1,31 @@
+/*
+ * Speech API (SAPI) Errors.
+ *
+ * Copyright (C) 2017 Huw Davies
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#ifndef SPError_h
+#define SPError_h
+
+#include <winerror.h>
+
+#define SPERR_UNINITIALIZED 0x80045001
+#define SPERR_ALREADY_INITIALIZED 0x80045002
+#define SPERR_NOT_FOUND 0x8004503a
+#define SPERR_INVALID_REGISTRY_KEY 0x80045040
+
+#endif /* SPError_h */