source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/inputscope.h@ 1167

Last change on this file since 1167 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 12.9 KB
RevLine 
[1166]1/*** Autogenerated by WIDL 6.4 from include/inputscope.idl - Do not edit ***/
2
3#ifdef _WIN32
4#ifndef __REQUIRED_RPCNDR_H_VERSION__
5#define __REQUIRED_RPCNDR_H_VERSION__ 475
6#endif
7#include <rpc.h>
8#include <rpcndr.h>
9#endif
10
11#ifndef COM_NO_WINDOWS_H
12#include <windows.h>
13#include <ole2.h>
14#endif
15
16#ifndef __inputscope_h__
17#define __inputscope_h__
18
19/* Forward declarations */
20
21#ifndef __ITfInputScope_FWD_DEFINED__
22#define __ITfInputScope_FWD_DEFINED__
23typedef interface ITfInputScope ITfInputScope;
24#ifdef __cplusplus
25interface ITfInputScope;
26#endif /* __cplusplus */
27#endif
28
29#ifndef __ITfInputScope2_FWD_DEFINED__
30#define __ITfInputScope2_FWD_DEFINED__
31typedef interface ITfInputScope2 ITfInputScope2;
32#ifdef __cplusplus
33interface ITfInputScope2;
34#endif /* __cplusplus */
35#endif
36
37/* Headers for imported files */
38
39#include <oaidl.h>
40#include <ocidl.h>
41
42#ifdef __cplusplus
43extern "C" {
44#endif
45
46#include <winapifamily.h>
47#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
48typedef enum __WIDL_inputscope_generated_name_00000020 {
49 IS_DEFAULT = 0,
50 IS_URL = 1,
51 IS_FILE_FULLFILEPATH = 2,
52 IS_FILE_FILENAME = 3,
53 IS_EMAIL_USERNAME = 4,
54 IS_EMAIL_SMTPEMAILADDRESS = 5,
55 IS_LOGINNAME = 6,
56 IS_PERSONALNAME_FULLNAME = 7,
57 IS_PERSONALNAME_PREFIX = 8,
58 IS_PERSONALNAME_GIVENNAME = 9,
59 IS_PERSONALNAME_MIDDLENAME = 10,
60 IS_PERSONALNAME_SURNAME = 11,
61 IS_PERSONALNAME_SUFFIX = 12,
62 IS_ADDRESS_FULLPOSTALADDRESS = 13,
63 IS_ADDRESS_POSTALCODE = 14,
64 IS_ADDRESS_STREET = 15,
65 IS_ADDRESS_STATEORPROVINCE = 16,
66 IS_ADDRESS_CITY = 17,
67 IS_ADDRESS_COUNTRYNAME = 18,
68 IS_ADDRESS_COUNTRYSHORTNAME = 19,
69 IS_CURRENCY_AMOUNTANDSYMBOL = 20,
70 IS_CURRENCY_AMOUNT = 21,
71 IS_DATE_FULLDATE = 22,
72 IS_DATE_MONTH = 23,
73 IS_DATE_DAY = 24,
74 IS_DATE_YEAR = 25,
75 IS_DATE_MONTHNAME = 26,
76 IS_DATE_DAYNAME = 27,
77 IS_DIGITS = 28,
78 IS_NUMBER = 29,
79 IS_ONECHAR = 30,
80 IS_PASSWORD = 31,
81 IS_TELEPHONE_FULLTELEPHONENUMBER = 32,
82 IS_TELEPHONE_COUNTRYCODE = 33,
83 IS_TELEPHONE_AREACODE = 34,
84 IS_TELEPHONE_LOCALNUMBER = 35,
85 IS_TIME_FULLTIME = 36,
86 IS_TIME_HOUR = 37,
87 IS_TIME_MINORSEC = 38,
88 IS_NUMBER_FULLWIDTH = 39,
89 IS_ALPHANUMERIC_HALFWIDTH = 40,
90 IS_ALPHANUMERIC_FULLWIDTH = 41,
91 IS_CURRENCY_CHINESE = 42,
92 IS_BOPOMOFO = 43,
93 IS_HIRAGANA = 44,
94 IS_KATAKANA_HALFWIDTH = 45,
95 IS_KATAKANA_FULLWIDTH = 46,
96 IS_HANJA = 47,
97 IS_HANGUL_HALFWIDTH = 48,
98 IS_HANGUL_FULLWIDTH = 49,
99 IS_SEARCH = 50,
100 IS_FORMULA = 51,
101 IS_SEARCH_INCREMENTAL = 52,
102 IS_CHINESE_HALFWIDTH = 53,
103 IS_CHINESE_FULLWIDTH = 54,
104 IS_NATIVE_SCRIPT = 55,
105 IS_YOMI = 56,
106 IS_TEXT = 57,
107 IS_CHAT = 58,
108 IS_NAME_OR_PHONENUMBER = 59,
109 IS_EMAILNAME_OR_ADDRESS = 60,
110 IS_PRIVATE = 61,
111 IS_MAPS = 62,
112 IS_NUMERIC_PASSWORD = 63,
113 IS_NUMERIC_PIN = 64,
114 IS_ALPHANUMERIC_PIN = 65,
115 IS_ALPHANUMERIC_PIN_SET = 66,
116 IS_FORMULA_NUMBER = 67,
117 IS_CHAT_WITHOUT_EMOJI = 68,
118 IS_PHRASELIST = -1,
119 IS_REGULAREXPRESSION = -2,
120 IS_SRGS = -3,
121 IS_XML = -4,
122 IS_ENUMSTRING = -5
123} InputScope;
124#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */
125#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
126HRESULT WINAPI SetInputScope(HWND hwnd,InputScope inputscope);
127HRESULT WINAPI SetInputScopes(HWND hwnd,const InputScope *pInputScopes,UINT cInputScopes,WCHAR **ppszPhraseList,UINT cPhrases,WCHAR *pszRegExp,WCHAR *pszSRGS);
128HRESULT WINAPI SetInputScopes2(HWND hwnd,const InputScope *pInputScopes,UINT cInputScopes,IEnumString *pEnumString,PWSTR pszRegExp,PWSTR pszSRGS);
129HRESULT WINAPI SetInputScopeXML(HWND hwnd,WCHAR *pszXML);
130#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
131#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
132DEFINE_GUID(GUID_PROP_INPUTSCOPE,0x1713dd5a,0x68e7,0x4a5b,0x9a,0xf6,0x59,0x2a,0x59,0x5c,0x77,0x8d);
133/*****************************************************************************
134 * ITfInputScope interface
135 */
136#ifndef __ITfInputScope_INTERFACE_DEFINED__
137#define __ITfInputScope_INTERFACE_DEFINED__
138
139DEFINE_GUID(IID_ITfInputScope, 0xfde1eaee, 0x6924, 0x4cdf, 0x91,0xe7, 0xda,0x38,0xcf,0xf5,0x55,0x9d);
140#if defined(__cplusplus) && !defined(CINTERFACE)
141MIDL_INTERFACE("fde1eaee-6924-4cdf-91e7-da38cff5559d")
142ITfInputScope : public IUnknown
143{
144 virtual HRESULT STDMETHODCALLTYPE GetInputScopes(
145 InputScope **pprgInputScopes,
146 UINT *pcCount) = 0;
147
148 virtual HRESULT STDMETHODCALLTYPE GetPhrase(
149 BSTR **ppbstrPhrases,
150 UINT *pcCount) = 0;
151
152 virtual HRESULT STDMETHODCALLTYPE GetRegularExpression(
153 BSTR *pbstrRegExp) = 0;
154
155 virtual HRESULT STDMETHODCALLTYPE GetSRGS(
156 BSTR *pbstrSRGS) = 0;
157
158 virtual HRESULT STDMETHODCALLTYPE GetXML(
159 BSTR *pbstrXML) = 0;
160
161};
162#ifdef __CRT_UUID_DECL
163__CRT_UUID_DECL(ITfInputScope, 0xfde1eaee, 0x6924, 0x4cdf, 0x91,0xe7, 0xda,0x38,0xcf,0xf5,0x55,0x9d)
164#endif
165#else
166typedef struct ITfInputScopeVtbl {
167 BEGIN_INTERFACE
168
169 /*** IUnknown methods ***/
170 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
171 ITfInputScope *This,
172 REFIID riid,
173 void **ppvObject);
174
175 ULONG (STDMETHODCALLTYPE *AddRef)(
176 ITfInputScope *This);
177
178 ULONG (STDMETHODCALLTYPE *Release)(
179 ITfInputScope *This);
180
181 /*** ITfInputScope methods ***/
182 HRESULT (STDMETHODCALLTYPE *GetInputScopes)(
183 ITfInputScope *This,
184 InputScope **pprgInputScopes,
185 UINT *pcCount);
186
187 HRESULT (STDMETHODCALLTYPE *GetPhrase)(
188 ITfInputScope *This,
189 BSTR **ppbstrPhrases,
190 UINT *pcCount);
191
192 HRESULT (STDMETHODCALLTYPE *GetRegularExpression)(
193 ITfInputScope *This,
194 BSTR *pbstrRegExp);
195
196 HRESULT (STDMETHODCALLTYPE *GetSRGS)(
197 ITfInputScope *This,
198 BSTR *pbstrSRGS);
199
200 HRESULT (STDMETHODCALLTYPE *GetXML)(
201 ITfInputScope *This,
202 BSTR *pbstrXML);
203
204 END_INTERFACE
205} ITfInputScopeVtbl;
206
207interface ITfInputScope {
208 CONST_VTBL ITfInputScopeVtbl* lpVtbl;
209};
210
211#ifdef COBJMACROS
212#ifndef WIDL_C_INLINE_WRAPPERS
213/*** IUnknown methods ***/
214#define ITfInputScope_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
215#define ITfInputScope_AddRef(This) (This)->lpVtbl->AddRef(This)
216#define ITfInputScope_Release(This) (This)->lpVtbl->Release(This)
217/*** ITfInputScope methods ***/
218#define ITfInputScope_GetInputScopes(This,pprgInputScopes,pcCount) (This)->lpVtbl->GetInputScopes(This,pprgInputScopes,pcCount)
219#define ITfInputScope_GetPhrase(This,ppbstrPhrases,pcCount) (This)->lpVtbl->GetPhrase(This,ppbstrPhrases,pcCount)
220#define ITfInputScope_GetRegularExpression(This,pbstrRegExp) (This)->lpVtbl->GetRegularExpression(This,pbstrRegExp)
221#define ITfInputScope_GetSRGS(This,pbstrSRGS) (This)->lpVtbl->GetSRGS(This,pbstrSRGS)
222#define ITfInputScope_GetXML(This,pbstrXML) (This)->lpVtbl->GetXML(This,pbstrXML)
223#else
224/*** IUnknown methods ***/
225static FORCEINLINE HRESULT ITfInputScope_QueryInterface(ITfInputScope* This,REFIID riid,void **ppvObject) {
226 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
227}
228static FORCEINLINE ULONG ITfInputScope_AddRef(ITfInputScope* This) {
229 return This->lpVtbl->AddRef(This);
230}
231static FORCEINLINE ULONG ITfInputScope_Release(ITfInputScope* This) {
232 return This->lpVtbl->Release(This);
233}
234/*** ITfInputScope methods ***/
235static FORCEINLINE HRESULT ITfInputScope_GetInputScopes(ITfInputScope* This,InputScope **pprgInputScopes,UINT *pcCount) {
236 return This->lpVtbl->GetInputScopes(This,pprgInputScopes,pcCount);
237}
238static FORCEINLINE HRESULT ITfInputScope_GetPhrase(ITfInputScope* This,BSTR **ppbstrPhrases,UINT *pcCount) {
239 return This->lpVtbl->GetPhrase(This,ppbstrPhrases,pcCount);
240}
241static FORCEINLINE HRESULT ITfInputScope_GetRegularExpression(ITfInputScope* This,BSTR *pbstrRegExp) {
242 return This->lpVtbl->GetRegularExpression(This,pbstrRegExp);
243}
244static FORCEINLINE HRESULT ITfInputScope_GetSRGS(ITfInputScope* This,BSTR *pbstrSRGS) {
245 return This->lpVtbl->GetSRGS(This,pbstrSRGS);
246}
247static FORCEINLINE HRESULT ITfInputScope_GetXML(ITfInputScope* This,BSTR *pbstrXML) {
248 return This->lpVtbl->GetXML(This,pbstrXML);
249}
250#endif
251#endif
252
253#endif
254
255
256#endif /* __ITfInputScope_INTERFACE_DEFINED__ */
257
258/*****************************************************************************
259 * ITfInputScope2 interface
260 */
261#ifndef __ITfInputScope2_INTERFACE_DEFINED__
262#define __ITfInputScope2_INTERFACE_DEFINED__
263
264DEFINE_GUID(IID_ITfInputScope2, 0x5731eaa0, 0x6bc2, 0x4681, 0xa5,0x32, 0x92,0xfb,0xb7,0x4d,0x7c,0x41);
265#if defined(__cplusplus) && !defined(CINTERFACE)
266MIDL_INTERFACE("5731eaa0-6bc2-4681-a532-92fbb74d7c41")
267ITfInputScope2 : public ITfInputScope
268{
269 virtual HRESULT STDMETHODCALLTYPE EnumWordList(
270 IEnumString **ppEnumString) = 0;
271
272};
273#ifdef __CRT_UUID_DECL
274__CRT_UUID_DECL(ITfInputScope2, 0x5731eaa0, 0x6bc2, 0x4681, 0xa5,0x32, 0x92,0xfb,0xb7,0x4d,0x7c,0x41)
275#endif
276#else
277typedef struct ITfInputScope2Vtbl {
278 BEGIN_INTERFACE
279
280 /*** IUnknown methods ***/
281 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
282 ITfInputScope2 *This,
283 REFIID riid,
284 void **ppvObject);
285
286 ULONG (STDMETHODCALLTYPE *AddRef)(
287 ITfInputScope2 *This);
288
289 ULONG (STDMETHODCALLTYPE *Release)(
290 ITfInputScope2 *This);
291
292 /*** ITfInputScope methods ***/
293 HRESULT (STDMETHODCALLTYPE *GetInputScopes)(
294 ITfInputScope2 *This,
295 InputScope **pprgInputScopes,
296 UINT *pcCount);
297
298 HRESULT (STDMETHODCALLTYPE *GetPhrase)(
299 ITfInputScope2 *This,
300 BSTR **ppbstrPhrases,
301 UINT *pcCount);
302
303 HRESULT (STDMETHODCALLTYPE *GetRegularExpression)(
304 ITfInputScope2 *This,
305 BSTR *pbstrRegExp);
306
307 HRESULT (STDMETHODCALLTYPE *GetSRGS)(
308 ITfInputScope2 *This,
309 BSTR *pbstrSRGS);
310
311 HRESULT (STDMETHODCALLTYPE *GetXML)(
312 ITfInputScope2 *This,
313 BSTR *pbstrXML);
314
315 /*** ITfInputScope2 methods ***/
316 HRESULT (STDMETHODCALLTYPE *EnumWordList)(
317 ITfInputScope2 *This,
318 IEnumString **ppEnumString);
319
320 END_INTERFACE
321} ITfInputScope2Vtbl;
322
323interface ITfInputScope2 {
324 CONST_VTBL ITfInputScope2Vtbl* lpVtbl;
325};
326
327#ifdef COBJMACROS
328#ifndef WIDL_C_INLINE_WRAPPERS
329/*** IUnknown methods ***/
330#define ITfInputScope2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
331#define ITfInputScope2_AddRef(This) (This)->lpVtbl->AddRef(This)
332#define ITfInputScope2_Release(This) (This)->lpVtbl->Release(This)
333/*** ITfInputScope methods ***/
334#define ITfInputScope2_GetInputScopes(This,pprgInputScopes,pcCount) (This)->lpVtbl->GetInputScopes(This,pprgInputScopes,pcCount)
335#define ITfInputScope2_GetPhrase(This,ppbstrPhrases,pcCount) (This)->lpVtbl->GetPhrase(This,ppbstrPhrases,pcCount)
336#define ITfInputScope2_GetRegularExpression(This,pbstrRegExp) (This)->lpVtbl->GetRegularExpression(This,pbstrRegExp)
337#define ITfInputScope2_GetSRGS(This,pbstrSRGS) (This)->lpVtbl->GetSRGS(This,pbstrSRGS)
338#define ITfInputScope2_GetXML(This,pbstrXML) (This)->lpVtbl->GetXML(This,pbstrXML)
339/*** ITfInputScope2 methods ***/
340#define ITfInputScope2_EnumWordList(This,ppEnumString) (This)->lpVtbl->EnumWordList(This,ppEnumString)
341#else
342/*** IUnknown methods ***/
343static FORCEINLINE HRESULT ITfInputScope2_QueryInterface(ITfInputScope2* This,REFIID riid,void **ppvObject) {
344 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
345}
346static FORCEINLINE ULONG ITfInputScope2_AddRef(ITfInputScope2* This) {
347 return This->lpVtbl->AddRef(This);
348}
349static FORCEINLINE ULONG ITfInputScope2_Release(ITfInputScope2* This) {
350 return This->lpVtbl->Release(This);
351}
352/*** ITfInputScope methods ***/
353static FORCEINLINE HRESULT ITfInputScope2_GetInputScopes(ITfInputScope2* This,InputScope **pprgInputScopes,UINT *pcCount) {
354 return This->lpVtbl->GetInputScopes(This,pprgInputScopes,pcCount);
355}
356static FORCEINLINE HRESULT ITfInputScope2_GetPhrase(ITfInputScope2* This,BSTR **ppbstrPhrases,UINT *pcCount) {
357 return This->lpVtbl->GetPhrase(This,ppbstrPhrases,pcCount);
358}
359static FORCEINLINE HRESULT ITfInputScope2_GetRegularExpression(ITfInputScope2* This,BSTR *pbstrRegExp) {
360 return This->lpVtbl->GetRegularExpression(This,pbstrRegExp);
361}
362static FORCEINLINE HRESULT ITfInputScope2_GetSRGS(ITfInputScope2* This,BSTR *pbstrSRGS) {
363 return This->lpVtbl->GetSRGS(This,pbstrSRGS);
364}
365static FORCEINLINE HRESULT ITfInputScope2_GetXML(ITfInputScope2* This,BSTR *pbstrXML) {
366 return This->lpVtbl->GetXML(This,pbstrXML);
367}
368/*** ITfInputScope2 methods ***/
369static FORCEINLINE HRESULT ITfInputScope2_EnumWordList(ITfInputScope2* This,IEnumString **ppEnumString) {
370 return This->lpVtbl->EnumWordList(This,ppEnumString);
371}
372#endif
373#endif
374
375#endif
376
377
378#endif /* __ITfInputScope2_INTERFACE_DEFINED__ */
379
380#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */
381/* Begin additional prototypes for all interfaces */
382
383ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *);
384unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *);
385unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
386void __RPC_USER BSTR_UserFree (ULONG *, BSTR *);
387
388/* End additional prototypes */
389
390#ifdef __cplusplus
391}
392#endif
393
394#endif /* __inputscope_h__ */
Note: See TracBrowser for help on using the repository browser.