comparison fuhtark_test/include/winapi/inputscope.h @ 1500:91c8c3b7cbf0

add: futhark tests for generating vulkan api
author sam <sam@basx.dev>
date Wed, 26 Nov 2025 21:36:48 +0700
parents
children
comparison
equal deleted inserted replaced
1499:1f58458b7ef7 1500:91c8c3b7cbf0
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
5 */
6 #ifndef __REQUIRED_RPCNDR_H_VERSION__
7 #define __REQUIRED_RPCNDR_H_VERSION__ 475
8 #endif
9
10 #include "rpc.h"
11 #include "rpcndr.h"
12
13 #ifndef __RPCNDR_H_VERSION__
14 #error This stub requires an updated version of <rpcndr.h>
15 #endif
16
17 #ifndef COM_NO_WINDOWS_H
18 #include "windows.h"
19 #include "ole2.h"
20 #endif
21
22 #ifndef __inputscope_h__
23 #define __inputscope_h__
24
25 #ifndef __ITfInputScope_FWD_DEFINED__
26 #define __ITfInputScope_FWD_DEFINED__
27 typedef struct ITfInputScope ITfInputScope;
28 #endif
29
30 #include "oaidl.h"
31 #include "ocidl.h"
32
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36
37 #ifndef __MIDL_user_allocate_free_DEFINED__
38 #define __MIDL_user_allocate_free_DEFINED__
39 void *__RPC_API MIDL_user_allocate(size_t);
40 void __RPC_API MIDL_user_free(void *);
41 #endif
42
43 #ifndef INPUTSCOPE_DEFINED
44 #define INPUTSCOPE_DEFINED
45
46 #include <windows.h>
47
48 #ifdef __cplusplus
49 extern "C" {
50 #endif
51
52 typedef enum __MIDL___MIDL_itf_inputscope_0000_0001 {
53 IS_DEFAULT = 0,IS_URL = 1,IS_FILE_FULLFILEPATH = 2,IS_FILE_FILENAME = 3,IS_EMAIL_USERNAME = 4,IS_EMAIL_SMTPEMAILADDRESS = 5,
54 IS_LOGINNAME = 6,IS_PERSONALNAME_FULLNAME = 7,IS_PERSONALNAME_PREFIX = 8,IS_PERSONALNAME_GIVENNAME = 9,IS_PERSONALNAME_MIDDLENAME = 10,
55 IS_PERSONALNAME_SURNAME = 11,IS_PERSONALNAME_SUFFIX = 12,IS_ADDRESS_FULLPOSTALADDRESS = 13,IS_ADDRESS_POSTALCODE = 14,IS_ADDRESS_STREET = 15,
56 IS_ADDRESS_STATEORPROVINCE = 16,IS_ADDRESS_CITY = 17,IS_ADDRESS_COUNTRYNAME = 18,IS_ADDRESS_COUNTRYSHORTNAME = 19,
57 IS_CURRENCY_AMOUNTANDSYMBOL = 20,IS_CURRENCY_AMOUNT = 21,IS_DATE_FULLDATE = 22,IS_DATE_MONTH = 23,IS_DATE_DAY = 24,
58 IS_DATE_YEAR = 25,IS_DATE_MONTHNAME = 26,IS_DATE_DAYNAME = 27,IS_DIGITS = 28,IS_NUMBER = 29,IS_ONECHAR = 30,IS_PASSWORD = 31,
59 IS_TELEPHONE_FULLTELEPHONENUMBER = 32,IS_TELEPHONE_COUNTRYCODE = 33,IS_TELEPHONE_AREACODE = 34,IS_TELEPHONE_LOCALNUMBER = 35,
60 IS_TIME_FULLTIME = 36,IS_TIME_HOUR = 37,IS_TIME_MINORSEC = 38,IS_NUMBER_FULLWIDTH = 39,IS_ALPHANUMERIC_HALFWIDTH = 40,
61 IS_ALPHANUMERIC_FULLWIDTH = 41,IS_CURRENCY_CHINESE = 42,IS_BOPOMOFO = 43,IS_HIRAGANA = 44,IS_KATAKANA_HALFWIDTH = 45,
62 IS_KATAKANA_FULLWIDTH = 46,IS_HANJA = 47,IS_PHRASELIST = -1,IS_REGULAREXPRESSION = -2,IS_SRGS = -3,IS_XML = -4
63 } InputScope;
64
65 HRESULT WINAPI SetInputScope(HWND hwnd,InputScope inputscope);
66 HRESULT WINAPI SetInputScopes(HWND hwnd,const InputScope *pInputScopes,UINT cInputScopes,WCHAR **ppszPhraseList,UINT cPhrases,WCHAR *pszRegExp,WCHAR *pszSRGS);
67 HRESULT WINAPI SetInputScopeXML(HWND hwnd,WCHAR *pszXML);
68
69 DEFINE_GUID(IID_ITfInputScope,0xfde1eaee,0x6924,0x4cdf,0x91,0xe7,0xda,0x38,0xcf,0xf5,0x55,0x9d);
70 DEFINE_GUID(GUID_PROP_INPUTSCOPE,0x1713dd5a,0x68e7,0x4a5b,0x9a,0xf6,0x59,0x2a,0x59,0x5c,0x77,0x8d);
71
72 #ifdef __cplusplus
73 }
74 #endif
75
76 extern RPC_IF_HANDLE __MIDL_itf_inputscope_0000_v0_0_c_ifspec;
77 extern RPC_IF_HANDLE __MIDL_itf_inputscope_0000_v0_0_s_ifspec;
78
79 #ifndef __ITfInputScope_INTERFACE_DEFINED__
80 #define __ITfInputScope_INTERFACE_DEFINED__
81 EXTERN_C const IID IID_ITfInputScope;
82 #if defined(__cplusplus) && !defined(CINTERFACE)
83 struct ITfInputScope : public IUnknown {
84 public:
85 virtual HRESULT WINAPI GetInputScopes(InputScope **pprgInputScopes,UINT *pcCount) = 0;
86 virtual HRESULT WINAPI GetPhrase(BSTR **ppbstrPhrases,UINT *pcCount) = 0;
87 virtual HRESULT WINAPI GetRegularExpression(BSTR *pbstrRegExp) = 0;
88 virtual HRESULT WINAPI GetSRGS(BSTR *pbstrSRGS) = 0;
89 virtual HRESULT WINAPI GetXML(BSTR *pbstrXML) = 0;
90 };
91 #else
92 typedef struct ITfInputScopeVtbl {
93 BEGIN_INTERFACE
94 HRESULT (WINAPI *QueryInterface)(ITfInputScope *This,REFIID riid,void **ppvObject);
95 ULONG (WINAPI *AddRef)(ITfInputScope *This);
96 ULONG (WINAPI *Release)(ITfInputScope *This);
97 HRESULT (WINAPI *GetInputScopes)(ITfInputScope *This,InputScope **pprgInputScopes,UINT *pcCount);
98 HRESULT (WINAPI *GetPhrase)(ITfInputScope *This,BSTR **ppbstrPhrases,UINT *pcCount);
99 HRESULT (WINAPI *GetRegularExpression)(ITfInputScope *This,BSTR *pbstrRegExp);
100 HRESULT (WINAPI *GetSRGS)(ITfInputScope *This,BSTR *pbstrSRGS);
101 HRESULT (WINAPI *GetXML)(ITfInputScope *This,BSTR *pbstrXML);
102 END_INTERFACE
103 } ITfInputScopeVtbl;
104 struct ITfInputScope {
105 CONST_VTBL struct ITfInputScopeVtbl *lpVtbl;
106 };
107 #ifdef COBJMACROS
108 #define ITfInputScope_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
109 #define ITfInputScope_AddRef(This) (This)->lpVtbl->AddRef(This)
110 #define ITfInputScope_Release(This) (This)->lpVtbl->Release(This)
111 #define ITfInputScope_GetInputScopes(This,pprgInputScopes,pcCount) (This)->lpVtbl->GetInputScopes(This,pprgInputScopes,pcCount)
112 #define ITfInputScope_GetPhrase(This,ppbstrPhrases,pcCount) (This)->lpVtbl->GetPhrase(This,ppbstrPhrases,pcCount)
113 #define ITfInputScope_GetRegularExpression(This,pbstrRegExp) (This)->lpVtbl->GetRegularExpression(This,pbstrRegExp)
114 #define ITfInputScope_GetSRGS(This,pbstrSRGS) (This)->lpVtbl->GetSRGS(This,pbstrSRGS)
115 #define ITfInputScope_GetXML(This,pbstrXML) (This)->lpVtbl->GetXML(This,pbstrXML)
116 #endif
117 #endif
118 HRESULT WINAPI ITfInputScope_GetInputScopes_Proxy(ITfInputScope *This,InputScope **pprgInputScopes,UINT *pcCount);
119 void __RPC_STUB ITfInputScope_GetInputScopes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
120 HRESULT WINAPI ITfInputScope_GetPhrase_Proxy(ITfInputScope *This,BSTR **ppbstrPhrases,UINT *pcCount);
121 void __RPC_STUB ITfInputScope_GetPhrase_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
122 HRESULT WINAPI ITfInputScope_GetRegularExpression_Proxy(ITfInputScope *This,BSTR *pbstrRegExp);
123 void __RPC_STUB ITfInputScope_GetRegularExpression_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
124 HRESULT WINAPI ITfInputScope_GetSRGS_Proxy(ITfInputScope *This,BSTR *pbstrSRGS);
125 void __RPC_STUB ITfInputScope_GetSRGS_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
126 HRESULT WINAPI ITfInputScope_GetXML_Proxy(ITfInputScope *This,BSTR *pbstrXML);
127 void __RPC_STUB ITfInputScope_GetXML_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
128 #endif
129 #endif
130
131 extern RPC_IF_HANDLE __MIDL_itf_inputscope_0262_v0_0_c_ifspec;
132 extern RPC_IF_HANDLE __MIDL_itf_inputscope_0262_v0_0_s_ifspec;
133
134 unsigned long __RPC_API BSTR_UserSize(unsigned long *,unsigned long,BSTR *);
135 unsigned char *__RPC_API BSTR_UserMarshal(unsigned long *,unsigned char *,BSTR *);
136 unsigned char *__RPC_API BSTR_UserUnmarshal(unsigned long *,unsigned char *,BSTR *);
137 void __RPC_API BSTR_UserFree(unsigned long *,BSTR *);
138
139 #ifdef __cplusplus
140 }
141 #endif
142 #endif