/*** Autogenerated by WIDL 1.5.25 from include/inputscope.idl - Do not edit ***/ #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 475 #endif #include <rpc.h> #include <rpcndr.h> #ifndef COM_NO_WINDOWS_H #include <windows.h> #include <ole2.h> #endif #ifndef __inputscope_h__ #define __inputscope_h__ /* Forward declarations */ #ifndef __ITfInputScope_FWD_DEFINED__ #define __ITfInputScope_FWD_DEFINED__ typedef interface ITfInputScope ITfInputScope; #endif /* Headers for imported files */ #include <oaidl.h> #include <ocidl.h> #ifdef __cplusplus extern "C" { #endif typedef enum __WIDL_inputscope_generated_name_00000000 { IS_DEFAULT = 0, IS_URL = 1, IS_FILE_FULLFILEPATH = 2, IS_FILE_FILENAME = 3, IS_EMAIL_USERNAME = 4, IS_EMAIL_SMTPEMAILADDRESS = 5, IS_LOGINNAME = 6, IS_PERSONALNAME_FULLNAME = 7, IS_PERSONALNAME_PREFIX = 8, IS_PERSONALNAME_GIVENNAME = 9, IS_PERSONALNAME_MIDDLENAME = 10, IS_PERSONALNAME_SURNAME = 11, IS_PERSONALNAME_SUFFIX = 12, IS_ADDRESS_FULLPOSTALADDRESS = 13, IS_ADDRESS_POSTALCODE = 14, IS_ADDRESS_STREET = 15, IS_ADDRESS_STATEORPROVINCE = 16, IS_ADDRESS_CITY = 17, IS_ADDRESS_COUNTRYNAME = 18, IS_ADDRESS_COUNTRYSHORTNAME = 19, IS_CURRENCY_AMOUNTANDSYMBOL = 20, IS_CURRENCY_AMOUNT = 21, IS_DATE_FULLDATE = 22, IS_DATE_MONTH = 23, IS_DATE_DAY = 24, IS_DATE_YEAR = 25, IS_DATE_MONTHNAME = 26, IS_DATE_DAYNAME = 27, IS_DIGITS = 28, IS_NUMBER = 29, IS_ONECHAR = 30, IS_PASSWORD = 31, IS_TELEPHONE_FULLTELEPHONENUMBER = 32, IS_TELEPHONE_COUNTRYCODE = 33, IS_TELEPHONE_AREACODE = 34, IS_TELEPHONE_LOCALNUMBER = 35, IS_TIME_FULLTIME = 36, IS_TIME_HOUR = 37, IS_TIME_MINORSEC = 38, IS_NUMBER_FULLWIDTH = 39, IS_ALPHANUMERIC_HALFWIDTH = 40, IS_ALPHANUMERIC_FULLWIDTH = 41, IS_CURRENCY_CHINESE = 42, IS_BOPOMOFO = 43, IS_HIRAGANA = 44, IS_KATAKANA_HALFWIDTH = 45, IS_KATAKANA_FULLWIDTH = 46, IS_HANJA = 47, IS_HANGUL_HALFWIDTH = 48, IS_HANGUL_FULLWIDTH = 49, IS_SEARCH = 50, IS_FORMULA = 51, IS_SEARCH_INCREMENTAL = 52, IS_CHINESE_HALFWIDTH = 53, IS_CHINESE_FULLWIDTH = 54, IS_NATIVE_SCRIPT = 55, IS_PHRASELIST = -1, IS_REGULAREXPRESSION = -2, IS_SRGS = -3, IS_XML = -4, IS_ENUMSTRING = -5 } InputScope; HRESULT WINAPI SetInputScope(HWND hwnd,InputScope inputscope); HRESULT WINAPI SetInputScopes(HWND hwnd,const InputScope *pInputScopes,UINT cInputScopes,WCHAR **ppszPhraseList,UINT cPhrases,WCHAR *pszRegExp,WCHAR *pszSRGS); HRESULT WINAPI SetInputScopeXML(HWND hwnd,WCHAR *pszXML); DEFINE_GUID(GUID_PROP_INPUTSCOPE,0x1713dd5a,0x68e7,0x4a5b,0x9a,0xf6,0x59,0x2a,0x59,0x5c,0x77,0x8d); /***************************************************************************** * ITfInputScope interface */ #ifndef __ITfInputScope_INTERFACE_DEFINED__ #define __ITfInputScope_INTERFACE_DEFINED__ DEFINE_GUID(IID_ITfInputScope, 0xfde1eaee, 0x6924, 0x4cdf, 0x91,0xe7, 0xda,0x38,0xcf,0xf5,0x55,0x9d); #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("fde1eaee-6924-4cdf-91e7-da38cff5559d") ITfInputScope : public IUnknown { virtual HRESULT STDMETHODCALLTYPE GetInputScopes( InputScope **pprgInputScopes, UINT *pcCount) = 0; virtual HRESULT STDMETHODCALLTYPE GetPhrase( BSTR **ppbstrPhrases, UINT *pcCount) = 0; virtual HRESULT STDMETHODCALLTYPE GetRegularExpression( BSTR *pbstrRegExp) = 0; virtual HRESULT STDMETHODCALLTYPE GetSRGS( BSTR *pbstrSRGS) = 0; virtual HRESULT STDMETHODCALLTYPE GetXML( BSTR *pbstrXML) = 0; }; #ifdef __CRT_UUID_DECL __CRT_UUID_DECL(ITfInputScope, 0xfde1eaee, 0x6924, 0x4cdf, 0x91,0xe7, 0xda,0x38,0xcf,0xf5,0x55,0x9d) #endif #else typedef struct ITfInputScopeVtbl { BEGIN_INTERFACE /*** IUnknown methods ***/ HRESULT (STDMETHODCALLTYPE *QueryInterface)( ITfInputScope* This, REFIID riid, void **ppvObject); ULONG (STDMETHODCALLTYPE *AddRef)( ITfInputScope* This); ULONG (STDMETHODCALLTYPE *Release)( ITfInputScope* This); /*** ITfInputScope methods ***/ HRESULT (STDMETHODCALLTYPE *GetInputScopes)( ITfInputScope* This, InputScope **pprgInputScopes, UINT *pcCount); HRESULT (STDMETHODCALLTYPE *GetPhrase)( ITfInputScope* This, BSTR **ppbstrPhrases, UINT *pcCount); HRESULT (STDMETHODCALLTYPE *GetRegularExpression)( ITfInputScope* This, BSTR *pbstrRegExp); HRESULT (STDMETHODCALLTYPE *GetSRGS)( ITfInputScope* This, BSTR *pbstrSRGS); HRESULT (STDMETHODCALLTYPE *GetXML)( ITfInputScope* This, BSTR *pbstrXML); END_INTERFACE } ITfInputScopeVtbl; interface ITfInputScope { CONST_VTBL ITfInputScopeVtbl* lpVtbl; }; #ifdef COBJMACROS #ifndef WIDL_C_INLINE_WRAPPERS /*** IUnknown methods ***/ #define ITfInputScope_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) #define ITfInputScope_AddRef(This) (This)->lpVtbl->AddRef(This) #define ITfInputScope_Release(This) (This)->lpVtbl->Release(This) /*** ITfInputScope methods ***/ #define ITfInputScope_GetInputScopes(This,pprgInputScopes,pcCount) (This)->lpVtbl->GetInputScopes(This,pprgInputScopes,pcCount) #define ITfInputScope_GetPhrase(This,ppbstrPhrases,pcCount) (This)->lpVtbl->GetPhrase(This,ppbstrPhrases,pcCount) #define ITfInputScope_GetRegularExpression(This,pbstrRegExp) (This)->lpVtbl->GetRegularExpression(This,pbstrRegExp) #define ITfInputScope_GetSRGS(This,pbstrSRGS) (This)->lpVtbl->GetSRGS(This,pbstrSRGS) #define ITfInputScope_GetXML(This,pbstrXML) (This)->lpVtbl->GetXML(This,pbstrXML) #else /*** IUnknown methods ***/ static FORCEINLINE HRESULT ITfInputScope_QueryInterface(ITfInputScope* This,REFIID riid,void **ppvObject) { return This->lpVtbl->QueryInterface(This,riid,ppvObject); } static FORCEINLINE ULONG ITfInputScope_AddRef(ITfInputScope* This) { return This->lpVtbl->AddRef(This); } static FORCEINLINE ULONG ITfInputScope_Release(ITfInputScope* This) { return This->lpVtbl->Release(This); } /*** ITfInputScope methods ***/ static FORCEINLINE HRESULT ITfInputScope_GetInputScopes(ITfInputScope* This,InputScope **pprgInputScopes,UINT *pcCount) { return This->lpVtbl->GetInputScopes(This,pprgInputScopes,pcCount); } static FORCEINLINE HRESULT ITfInputScope_GetPhrase(ITfInputScope* This,BSTR **ppbstrPhrases,UINT *pcCount) { return This->lpVtbl->GetPhrase(This,ppbstrPhrases,pcCount); } static FORCEINLINE HRESULT ITfInputScope_GetRegularExpression(ITfInputScope* This,BSTR *pbstrRegExp) { return This->lpVtbl->GetRegularExpression(This,pbstrRegExp); } static FORCEINLINE HRESULT ITfInputScope_GetSRGS(ITfInputScope* This,BSTR *pbstrSRGS) { return This->lpVtbl->GetSRGS(This,pbstrSRGS); } static FORCEINLINE HRESULT ITfInputScope_GetXML(ITfInputScope* This,BSTR *pbstrXML) { return This->lpVtbl->GetXML(This,pbstrXML); } #endif #endif #endif HRESULT STDMETHODCALLTYPE ITfInputScope_GetInputScopes_Proxy( ITfInputScope* This, InputScope **pprgInputScopes, UINT *pcCount); void __RPC_STUB ITfInputScope_GetInputScopes_Stub( IRpcStubBuffer* This, IRpcChannelBuffer* pRpcChannelBuffer, PRPC_MESSAGE pRpcMessage, DWORD* pdwStubPhase); HRESULT STDMETHODCALLTYPE ITfInputScope_GetPhrase_Proxy( ITfInputScope* This, BSTR **ppbstrPhrases, UINT *pcCount); void __RPC_STUB ITfInputScope_GetPhrase_Stub( IRpcStubBuffer* This, IRpcChannelBuffer* pRpcChannelBuffer, PRPC_MESSAGE pRpcMessage, DWORD* pdwStubPhase); HRESULT STDMETHODCALLTYPE ITfInputScope_GetRegularExpression_Proxy( ITfInputScope* This, BSTR *pbstrRegExp); void __RPC_STUB ITfInputScope_GetRegularExpression_Stub( IRpcStubBuffer* This, IRpcChannelBuffer* pRpcChannelBuffer, PRPC_MESSAGE pRpcMessage, DWORD* pdwStubPhase); HRESULT STDMETHODCALLTYPE ITfInputScope_GetSRGS_Proxy( ITfInputScope* This, BSTR *pbstrSRGS); void __RPC_STUB ITfInputScope_GetSRGS_Stub( IRpcStubBuffer* This, IRpcChannelBuffer* pRpcChannelBuffer, PRPC_MESSAGE pRpcMessage, DWORD* pdwStubPhase); HRESULT STDMETHODCALLTYPE ITfInputScope_GetXML_Proxy( ITfInputScope* This, BSTR *pbstrXML); void __RPC_STUB ITfInputScope_GetXML_Stub( IRpcStubBuffer* This, IRpcChannelBuffer* pRpcChannelBuffer, PRPC_MESSAGE pRpcMessage, DWORD* pdwStubPhase); #endif /* __ITfInputScope_INTERFACE_DEFINED__ */ /* Begin additional prototypes for all interfaces */ ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); /* End additional prototypes */ #ifdef __cplusplus } #endif #endif /* __inputscope_h__ */