1 /*** Autogenerated by WIDL 1.5.25 from include/inputscope.idl - Do not edit ***/ 2 3 #ifndef __REQUIRED_RPCNDR_H_VERSION__ 4 #define __REQUIRED_RPCNDR_H_VERSION__ 475 5 #endif 6 7 #include <rpc.h> 8 #include <rpcndr.h> 9 10 #ifndef COM_NO_WINDOWS_H 11 #include <windows.h> 12 #include <ole2.h> 13 #endif 14 15 #ifndef __inputscope_h__ 16 #define __inputscope_h__ 17 18 /* Forward declarations */ 19 20 #ifndef __ITfInputScope_FWD_DEFINED__ 21 #define __ITfInputScope_FWD_DEFINED__ 22 typedef interface ITfInputScope ITfInputScope; 23 #endif 24 25 /* Headers for imported files */ 26 27 #include <oaidl.h> 28 #include <ocidl.h> 29 30 #ifdef __cplusplus 31 extern "C" { 32 #endif 33 34 typedef enum __WIDL_inputscope_generated_name_00000000 { 35 IS_DEFAULT = 0, 36 IS_URL = 1, 37 IS_FILE_FULLFILEPATH = 2, 38 IS_FILE_FILENAME = 3, 39 IS_EMAIL_USERNAME = 4, 40 IS_EMAIL_SMTPEMAILADDRESS = 5, 41 IS_LOGINNAME = 6, 42 IS_PERSONALNAME_FULLNAME = 7, 43 IS_PERSONALNAME_PREFIX = 8, 44 IS_PERSONALNAME_GIVENNAME = 9, 45 IS_PERSONALNAME_MIDDLENAME = 10, 46 IS_PERSONALNAME_SURNAME = 11, 47 IS_PERSONALNAME_SUFFIX = 12, 48 IS_ADDRESS_FULLPOSTALADDRESS = 13, 49 IS_ADDRESS_POSTALCODE = 14, 50 IS_ADDRESS_STREET = 15, 51 IS_ADDRESS_STATEORPROVINCE = 16, 52 IS_ADDRESS_CITY = 17, 53 IS_ADDRESS_COUNTRYNAME = 18, 54 IS_ADDRESS_COUNTRYSHORTNAME = 19, 55 IS_CURRENCY_AMOUNTANDSYMBOL = 20, 56 IS_CURRENCY_AMOUNT = 21, 57 IS_DATE_FULLDATE = 22, 58 IS_DATE_MONTH = 23, 59 IS_DATE_DAY = 24, 60 IS_DATE_YEAR = 25, 61 IS_DATE_MONTHNAME = 26, 62 IS_DATE_DAYNAME = 27, 63 IS_DIGITS = 28, 64 IS_NUMBER = 29, 65 IS_ONECHAR = 30, 66 IS_PASSWORD = 31, 67 IS_TELEPHONE_FULLTELEPHONENUMBER = 32, 68 IS_TELEPHONE_COUNTRYCODE = 33, 69 IS_TELEPHONE_AREACODE = 34, 70 IS_TELEPHONE_LOCALNUMBER = 35, 71 IS_TIME_FULLTIME = 36, 72 IS_TIME_HOUR = 37, 73 IS_TIME_MINORSEC = 38, 74 IS_NUMBER_FULLWIDTH = 39, 75 IS_ALPHANUMERIC_HALFWIDTH = 40, 76 IS_ALPHANUMERIC_FULLWIDTH = 41, 77 IS_CURRENCY_CHINESE = 42, 78 IS_BOPOMOFO = 43, 79 IS_HIRAGANA = 44, 80 IS_KATAKANA_HALFWIDTH = 45, 81 IS_KATAKANA_FULLWIDTH = 46, 82 IS_HANJA = 47, 83 IS_HANGUL_HALFWIDTH = 48, 84 IS_HANGUL_FULLWIDTH = 49, 85 IS_SEARCH = 50, 86 IS_FORMULA = 51, 87 IS_SEARCH_INCREMENTAL = 52, 88 IS_CHINESE_HALFWIDTH = 53, 89 IS_CHINESE_FULLWIDTH = 54, 90 IS_NATIVE_SCRIPT = 55, 91 IS_PHRASELIST = -1, 92 IS_REGULAREXPRESSION = -2, 93 IS_SRGS = -3, 94 IS_XML = -4, 95 IS_ENUMSTRING = -5 96 } InputScope; 97 HRESULT WINAPI SetInputScope(HWND hwnd,InputScope inputscope); 98 HRESULT WINAPI SetInputScopes(HWND hwnd,const InputScope *pInputScopes,UINT cInputScopes,WCHAR **ppszPhraseList,UINT cPhrases,WCHAR *pszRegExp,WCHAR *pszSRGS); 99 HRESULT WINAPI SetInputScopeXML(HWND hwnd,WCHAR *pszXML); 100 DEFINE_GUID(GUID_PROP_INPUTSCOPE,0x1713dd5a,0x68e7,0x4a5b,0x9a,0xf6,0x59,0x2a,0x59,0x5c,0x77,0x8d); 101 /***************************************************************************** 102 * ITfInputScope interface 103 */ 104 #ifndef __ITfInputScope_INTERFACE_DEFINED__ 105 #define __ITfInputScope_INTERFACE_DEFINED__ 106 107 DEFINE_GUID(IID_ITfInputScope, 0xfde1eaee, 0x6924, 0x4cdf, 0x91,0xe7, 0xda,0x38,0xcf,0xf5,0x55,0x9d); 108 #if defined(__cplusplus) && !defined(CINTERFACE) 109 MIDL_INTERFACE("fde1eaee-6924-4cdf-91e7-da38cff5559d") 110 ITfInputScope : public IUnknown 111 { 112 virtual HRESULT STDMETHODCALLTYPE GetInputScopes( 113 InputScope **pprgInputScopes, 114 UINT *pcCount) = 0; 115 116 virtual HRESULT STDMETHODCALLTYPE GetPhrase( 117 BSTR **ppbstrPhrases, 118 UINT *pcCount) = 0; 119 120 virtual HRESULT STDMETHODCALLTYPE GetRegularExpression( 121 BSTR *pbstrRegExp) = 0; 122 123 virtual HRESULT STDMETHODCALLTYPE GetSRGS( 124 BSTR *pbstrSRGS) = 0; 125 126 virtual HRESULT STDMETHODCALLTYPE GetXML( 127 BSTR *pbstrXML) = 0; 128 129 }; 130 #ifdef __CRT_UUID_DECL 131 __CRT_UUID_DECL(ITfInputScope, 0xfde1eaee, 0x6924, 0x4cdf, 0x91,0xe7, 0xda,0x38,0xcf,0xf5,0x55,0x9d) 132 #endif 133 #else 134 typedef struct ITfInputScopeVtbl { 135 BEGIN_INTERFACE 136 137 /*** IUnknown methods ***/ 138 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 139 ITfInputScope* This, 140 REFIID riid, 141 void **ppvObject); 142 143 ULONG (STDMETHODCALLTYPE *AddRef)( 144 ITfInputScope* This); 145 146 ULONG (STDMETHODCALLTYPE *Release)( 147 ITfInputScope* This); 148 149 /*** ITfInputScope methods ***/ 150 HRESULT (STDMETHODCALLTYPE *GetInputScopes)( 151 ITfInputScope* This, 152 InputScope **pprgInputScopes, 153 UINT *pcCount); 154 155 HRESULT (STDMETHODCALLTYPE *GetPhrase)( 156 ITfInputScope* This, 157 BSTR **ppbstrPhrases, 158 UINT *pcCount); 159 160 HRESULT (STDMETHODCALLTYPE *GetRegularExpression)( 161 ITfInputScope* This, 162 BSTR *pbstrRegExp); 163 164 HRESULT (STDMETHODCALLTYPE *GetSRGS)( 165 ITfInputScope* This, 166 BSTR *pbstrSRGS); 167 168 HRESULT (STDMETHODCALLTYPE *GetXML)( 169 ITfInputScope* This, 170 BSTR *pbstrXML); 171 172 END_INTERFACE 173 } ITfInputScopeVtbl; 174 interface ITfInputScope { 175 CONST_VTBL ITfInputScopeVtbl* lpVtbl; 176 }; 177 178 #ifdef COBJMACROS 179 #ifndef WIDL_C_INLINE_WRAPPERS 180 /*** IUnknown methods ***/ 181 #define ITfInputScope_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 182 #define ITfInputScope_AddRef(This) (This)->lpVtbl->AddRef(This) 183 #define ITfInputScope_Release(This) (This)->lpVtbl->Release(This) 184 /*** ITfInputScope methods ***/ 185 #define ITfInputScope_GetInputScopes(This,pprgInputScopes,pcCount) (This)->lpVtbl->GetInputScopes(This,pprgInputScopes,pcCount) 186 #define ITfInputScope_GetPhrase(This,ppbstrPhrases,pcCount) (This)->lpVtbl->GetPhrase(This,ppbstrPhrases,pcCount) 187 #define ITfInputScope_GetRegularExpression(This,pbstrRegExp) (This)->lpVtbl->GetRegularExpression(This,pbstrRegExp) 188 #define ITfInputScope_GetSRGS(This,pbstrSRGS) (This)->lpVtbl->GetSRGS(This,pbstrSRGS) 189 #define ITfInputScope_GetXML(This,pbstrXML) (This)->lpVtbl->GetXML(This,pbstrXML) 190 #else 191 /*** IUnknown methods ***/ 192 static FORCEINLINE HRESULT ITfInputScope_QueryInterface(ITfInputScope* This,REFIID riid,void **ppvObject) { 193 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 194 } 195 static FORCEINLINE ULONG ITfInputScope_AddRef(ITfInputScope* This) { 196 return This->lpVtbl->AddRef(This); 197 } 198 static FORCEINLINE ULONG ITfInputScope_Release(ITfInputScope* This) { 199 return This->lpVtbl->Release(This); 200 } 201 /*** ITfInputScope methods ***/ 202 static FORCEINLINE HRESULT ITfInputScope_GetInputScopes(ITfInputScope* This,InputScope **pprgInputScopes,UINT *pcCount) { 203 return This->lpVtbl->GetInputScopes(This,pprgInputScopes,pcCount); 204 } 205 static FORCEINLINE HRESULT ITfInputScope_GetPhrase(ITfInputScope* This,BSTR **ppbstrPhrases,UINT *pcCount) { 206 return This->lpVtbl->GetPhrase(This,ppbstrPhrases,pcCount); 207 } 208 static FORCEINLINE HRESULT ITfInputScope_GetRegularExpression(ITfInputScope* This,BSTR *pbstrRegExp) { 209 return This->lpVtbl->GetRegularExpression(This,pbstrRegExp); 210 } 211 static FORCEINLINE HRESULT ITfInputScope_GetSRGS(ITfInputScope* This,BSTR *pbstrSRGS) { 212 return This->lpVtbl->GetSRGS(This,pbstrSRGS); 213 } 214 static FORCEINLINE HRESULT ITfInputScope_GetXML(ITfInputScope* This,BSTR *pbstrXML) { 215 return This->lpVtbl->GetXML(This,pbstrXML); 216 } 217 #endif 218 #endif 219 220 #endif 221 222 HRESULT STDMETHODCALLTYPE ITfInputScope_GetInputScopes_Proxy( 223 ITfInputScope* This, 224 InputScope **pprgInputScopes, 225 UINT *pcCount); 226 void __RPC_STUB ITfInputScope_GetInputScopes_Stub( 227 IRpcStubBuffer* This, 228 IRpcChannelBuffer* pRpcChannelBuffer, 229 PRPC_MESSAGE pRpcMessage, 230 DWORD* pdwStubPhase); 231 HRESULT STDMETHODCALLTYPE ITfInputScope_GetPhrase_Proxy( 232 ITfInputScope* This, 233 BSTR **ppbstrPhrases, 234 UINT *pcCount); 235 void __RPC_STUB ITfInputScope_GetPhrase_Stub( 236 IRpcStubBuffer* This, 237 IRpcChannelBuffer* pRpcChannelBuffer, 238 PRPC_MESSAGE pRpcMessage, 239 DWORD* pdwStubPhase); 240 HRESULT STDMETHODCALLTYPE ITfInputScope_GetRegularExpression_Proxy( 241 ITfInputScope* This, 242 BSTR *pbstrRegExp); 243 void __RPC_STUB ITfInputScope_GetRegularExpression_Stub( 244 IRpcStubBuffer* This, 245 IRpcChannelBuffer* pRpcChannelBuffer, 246 PRPC_MESSAGE pRpcMessage, 247 DWORD* pdwStubPhase); 248 HRESULT STDMETHODCALLTYPE ITfInputScope_GetSRGS_Proxy( 249 ITfInputScope* This, 250 BSTR *pbstrSRGS); 251 void __RPC_STUB ITfInputScope_GetSRGS_Stub( 252 IRpcStubBuffer* This, 253 IRpcChannelBuffer* pRpcChannelBuffer, 254 PRPC_MESSAGE pRpcMessage, 255 DWORD* pdwStubPhase); 256 HRESULT STDMETHODCALLTYPE ITfInputScope_GetXML_Proxy( 257 ITfInputScope* This, 258 BSTR *pbstrXML); 259 void __RPC_STUB ITfInputScope_GetXML_Stub( 260 IRpcStubBuffer* This, 261 IRpcChannelBuffer* pRpcChannelBuffer, 262 PRPC_MESSAGE pRpcMessage, 263 DWORD* pdwStubPhase); 264 265 #endif /* __ITfInputScope_INTERFACE_DEFINED__ */ 266 267 /* Begin additional prototypes for all interfaces */ 268 269 ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); 270 unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); 271 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); 272 void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); 273 274 /* End additional prototypes */ 275 276 #ifdef __cplusplus 277 } 278 #endif 279 280 #endif /* __inputscope_h__ */ 281