widl: Always check the runtimeclass interfaces presence.
[wine/zf.git] / include / sapiddk.idl
blob670b8c0dce581977d9fb08f080e3b1ee2d519271
1 /*
2 * Speech API (SAPI) DDK IDL file.
4 * Copyright (C) 2017 Huw Davies
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 import "oaidl.idl";
22 import "ocidl.idl";
23 import "sapi.idl";
25 #ifndef __WIDL__
26 #define threading(model)
27 #define progid(str)
28 #define vi_progid(str)
29 #endif
32 object,
33 uuid(06b64f9f-7fda-11d2-b4f2-00c04f797396),
34 helpstring("ISpObjectTokenEnumBuilder"),
35 pointer_default(unique),
36 local,
37 restricted
39 interface ISpObjectTokenEnumBuilder : IEnumSpObjectTokens
41 HRESULT SetAttribs([in] LPCWSTR pszReqAttribs,
42 [in] LPCWSTR pszOptAttribs);
43 HRESULT AddTokens([in] ULONG cTokens,
44 [in] ISpObjectToken **pToken);
45 HRESULT AddTokensFromDataKey([in] ISpDataKey *pDataKey,
46 [in] LPCWSTR pszSubKey,
47 [in] LPCWSTR pszCategoryId);
48 HRESULT AddTokensFromTokenEnum([in] IEnumSpObjectTokens *pTokenEnum);
49 HRESULT Sort([in] LPCWSTR pszTokenIdToListFirst);
53 helpstring("Speech Object DDK Library"),
54 uuid(9903f14c-12ce-4c99-9986-2ee3d7d588a8),
55 version(5.4)
57 library SpeechDDKLib
59 importlib("stdole2.tlb");
62 uuid(d9f6ee60-58c9-458b-88e1-2f908fd7f87c),
63 helpstring("Data Key"),
64 progid("SAPI.SpDataKey.1"),
65 vi_progid("SAPI.SpDataKey"),
66 threading(both)
68 coclass SpDataKey
70 interface ISpRegDataKey;
71 [default] interface ISpDataKey;
75 uuid(3918d75f-0acb-41f2-b733-92aa15bcecf6),
76 helpstring("Object Token Enumerator"),
77 progid("SAPI.SpObjectTokenEnum.1"),
78 vi_progid("SAPI.SpObjectTokenEnum"),
79 threading(both)
81 coclass SpObjectTokenEnum
83 interface ISpObjectTokenEnumBuilder;
84 [default] interface IEnumSpObjectTokens;