Module: wine Branch: master Commit: d5308e809d6f7d68771a6a93a5cd2ac63c548587 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d5308e809d6f7d68771a6a93a5...
Author: Huw Davies huw@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@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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; +}