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
26 #define threading
(model
)
28 #define vi_progid
(str
)
33 uuid(06b64f9f
-7fda
-11d2
-b4f2
-00c04f797396
),
34 helpstring("ISpObjectTokenEnumBuilder"),
35 pointer_default(unique),
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
),
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"),
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"),
81 coclass SpObjectTokenEnum
83 interface ISpObjectTokenEnumBuilder
;
84 [default] interface IEnumSpObjectTokens
;