sapiddk.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:136k
- #pragma warning( disable: 4049 ) /* more than 64k source lines */
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
- /* File created by MIDL compiler version 6.00.0347 */
- /* Compiler settings for sapiddk.idl:
- Oicf, W1, Zp8, env=Win32 (32b run)
- protocol : dce , ms_ext, c_ext
- error checks: allocation ref bounds_check enum stub_data
- VC __declspec() decoration level:
- __declspec(uuid()), __declspec(selectany), __declspec(novtable)
- DECLSPEC_UUID(), MIDL_INTERFACE()
- */
- //@@MIDL_FILE_HEADING( )
- /* verify that the <rpcndr.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCNDR_H_VERSION__
- #define __REQUIRED_RPCNDR_H_VERSION__ 440
- #endif
- #include "rpc.h"
- #include "rpcndr.h"
- #ifndef __RPCNDR_H_VERSION__
- #error this stub requires an updated version of <rpcndr.h>
- #endif // __RPCNDR_H_VERSION__
- #ifndef COM_NO_WINDOWS_H
- #include "windows.h"
- #include "ole2.h"
- #endif /*COM_NO_WINDOWS_H*/
- #ifndef __sapiddk_h__
- #define __sapiddk_h__
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- #pragma once
- #endif
- /* Forward Declarations */
- #ifndef __ISpTokenUI_FWD_DEFINED__
- #define __ISpTokenUI_FWD_DEFINED__
- typedef interface ISpTokenUI ISpTokenUI;
- #endif /* __ISpTokenUI_FWD_DEFINED__ */
- #ifndef __ISpObjectTokenEnumBuilder_FWD_DEFINED__
- #define __ISpObjectTokenEnumBuilder_FWD_DEFINED__
- typedef interface ISpObjectTokenEnumBuilder ISpObjectTokenEnumBuilder;
- #endif /* __ISpObjectTokenEnumBuilder_FWD_DEFINED__ */
- #ifndef __ISpErrorLog_FWD_DEFINED__
- #define __ISpErrorLog_FWD_DEFINED__
- typedef interface ISpErrorLog ISpErrorLog;
- #endif /* __ISpErrorLog_FWD_DEFINED__ */
- #ifndef __ISpGrammarCompiler_FWD_DEFINED__
- #define __ISpGrammarCompiler_FWD_DEFINED__
- typedef interface ISpGrammarCompiler ISpGrammarCompiler;
- #endif /* __ISpGrammarCompiler_FWD_DEFINED__ */
- #ifndef __ISpGramCompBackend_FWD_DEFINED__
- #define __ISpGramCompBackend_FWD_DEFINED__
- typedef interface ISpGramCompBackend ISpGramCompBackend;
- #endif /* __ISpGramCompBackend_FWD_DEFINED__ */
- #ifndef __ISpITNProcessor_FWD_DEFINED__
- #define __ISpITNProcessor_FWD_DEFINED__
- typedef interface ISpITNProcessor ISpITNProcessor;
- #endif /* __ISpITNProcessor_FWD_DEFINED__ */
- #ifndef __ISpPhraseBuilder_FWD_DEFINED__
- #define __ISpPhraseBuilder_FWD_DEFINED__
- typedef interface ISpPhraseBuilder ISpPhraseBuilder;
- #endif /* __ISpPhraseBuilder_FWD_DEFINED__ */
- #ifndef __ISpThreadControl_FWD_DEFINED__
- #define __ISpThreadControl_FWD_DEFINED__
- typedef interface ISpThreadControl ISpThreadControl;
- #endif /* __ISpThreadControl_FWD_DEFINED__ */
- #ifndef __ISpTaskManager_FWD_DEFINED__
- #define __ISpTaskManager_FWD_DEFINED__
- typedef interface ISpTaskManager ISpTaskManager;
- #endif /* __ISpTaskManager_FWD_DEFINED__ */
- #ifndef __ISpTTSEngineSite_FWD_DEFINED__
- #define __ISpTTSEngineSite_FWD_DEFINED__
- typedef interface ISpTTSEngineSite ISpTTSEngineSite;
- #endif /* __ISpTTSEngineSite_FWD_DEFINED__ */
- #ifndef __ISpTTSEngine_FWD_DEFINED__
- #define __ISpTTSEngine_FWD_DEFINED__
- typedef interface ISpTTSEngine ISpTTSEngine;
- #endif /* __ISpTTSEngine_FWD_DEFINED__ */
- #ifndef __ISpCFGInterpreterSite_FWD_DEFINED__
- #define __ISpCFGInterpreterSite_FWD_DEFINED__
- typedef interface ISpCFGInterpreterSite ISpCFGInterpreterSite;
- #endif /* __ISpCFGInterpreterSite_FWD_DEFINED__ */
- #ifndef __ISpCFGInterpreter_FWD_DEFINED__
- #define __ISpCFGInterpreter_FWD_DEFINED__
- typedef interface ISpCFGInterpreter ISpCFGInterpreter;
- #endif /* __ISpCFGInterpreter_FWD_DEFINED__ */
- #ifndef __ISpSREngineSite_FWD_DEFINED__
- #define __ISpSREngineSite_FWD_DEFINED__
- typedef interface ISpSREngineSite ISpSREngineSite;
- #endif /* __ISpSREngineSite_FWD_DEFINED__ */
- #ifndef __ISpSREngine_FWD_DEFINED__
- #define __ISpSREngine_FWD_DEFINED__
- typedef interface ISpSREngine ISpSREngine;
- #endif /* __ISpSREngine_FWD_DEFINED__ */
- #ifndef __ISpSRAlternates_FWD_DEFINED__
- #define __ISpSRAlternates_FWD_DEFINED__
- typedef interface ISpSRAlternates ISpSRAlternates;
- #endif /* __ISpSRAlternates_FWD_DEFINED__ */
- #ifndef ___ISpPrivateEngineCall_FWD_DEFINED__
- #define ___ISpPrivateEngineCall_FWD_DEFINED__
- typedef interface _ISpPrivateEngineCall _ISpPrivateEngineCall;
- #endif /* ___ISpPrivateEngineCall_FWD_DEFINED__ */
- #ifndef __SpDataKey_FWD_DEFINED__
- #define __SpDataKey_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class SpDataKey SpDataKey;
- #else
- typedef struct SpDataKey SpDataKey;
- #endif /* __cplusplus */
- #endif /* __SpDataKey_FWD_DEFINED__ */
- #ifndef __SpObjectTokenEnum_FWD_DEFINED__
- #define __SpObjectTokenEnum_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class SpObjectTokenEnum SpObjectTokenEnum;
- #else
- typedef struct SpObjectTokenEnum SpObjectTokenEnum;
- #endif /* __cplusplus */
- #endif /* __SpObjectTokenEnum_FWD_DEFINED__ */
- #ifndef __SpPhraseBuilder_FWD_DEFINED__
- #define __SpPhraseBuilder_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class SpPhraseBuilder SpPhraseBuilder;
- #else
- typedef struct SpPhraseBuilder SpPhraseBuilder;
- #endif /* __cplusplus */
- #endif /* __SpPhraseBuilder_FWD_DEFINED__ */
- #ifndef __SpITNProcessor_FWD_DEFINED__
- #define __SpITNProcessor_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class SpITNProcessor SpITNProcessor;
- #else
- typedef struct SpITNProcessor SpITNProcessor;
- #endif /* __cplusplus */
- #endif /* __SpITNProcessor_FWD_DEFINED__ */
- #ifndef __SpGrammarCompiler_FWD_DEFINED__
- #define __SpGrammarCompiler_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class SpGrammarCompiler SpGrammarCompiler;
- #else
- typedef struct SpGrammarCompiler SpGrammarCompiler;
- #endif /* __cplusplus */
- #endif /* __SpGrammarCompiler_FWD_DEFINED__ */
- #ifndef __SpGramCompBackend_FWD_DEFINED__
- #define __SpGramCompBackend_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class SpGramCompBackend SpGramCompBackend;
- #else
- typedef struct SpGramCompBackend SpGramCompBackend;
- #endif /* __cplusplus */
- #endif /* __SpGramCompBackend_FWD_DEFINED__ */
- /* header files for imported files */
- #include "oaidl.h"
- #include "ocidl.h"
- #include "sapi.h"
- #ifdef __cplusplus
- extern "C"{
- #endif
- void * __RPC_USER MIDL_user_allocate(size_t);
- void __RPC_USER MIDL_user_free( void * );
- /* interface __MIDL_itf_sapiddk_0000 */
- /* [local] */
- #define SPRECOEXTENSION L"RecoExtension"
- #define SPALTERNATESCLSID L"AlternatesCLSID"
- extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0000_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0000_v0_0_s_ifspec;
- #ifndef __ISpTokenUI_INTERFACE_DEFINED__
- #define __ISpTokenUI_INTERFACE_DEFINED__
- /* interface ISpTokenUI */
- /* [restricted][unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_ISpTokenUI;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("F8E690F0-39CB-4843-B8D7-C84696E1119D")
- ISpTokenUI : public IUnknown
- {
- public:
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE IsUISupported(
- /* [in] */ const WCHAR *pszTypeOfUI,
- /* [in] */ void *pvExtraData,
- /* [in] */ ULONG cbExtraData,
- /* [in] */ IUnknown *punkObject,
- /* [out] */ BOOL *pfSupported) = 0;
-
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE DisplayUI(
- /* [in] */ HWND hwndParent,
- /* [in] */ const WCHAR *pszTitle,
- /* [in] */ const WCHAR *pszTypeOfUI,
- /* [in] */ void *pvExtraData,
- /* [in] */ ULONG cbExtraData,
- /* [in] */ ISpObjectToken *pToken,
- /* [in] */ IUnknown *punkObject) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpTokenUIVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpTokenUI * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpTokenUI * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpTokenUI * This);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *IsUISupported )(
- ISpTokenUI * This,
- /* [in] */ const WCHAR *pszTypeOfUI,
- /* [in] */ void *pvExtraData,
- /* [in] */ ULONG cbExtraData,
- /* [in] */ IUnknown *punkObject,
- /* [out] */ BOOL *pfSupported);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *DisplayUI )(
- ISpTokenUI * This,
- /* [in] */ HWND hwndParent,
- /* [in] */ const WCHAR *pszTitle,
- /* [in] */ const WCHAR *pszTypeOfUI,
- /* [in] */ void *pvExtraData,
- /* [in] */ ULONG cbExtraData,
- /* [in] */ ISpObjectToken *pToken,
- /* [in] */ IUnknown *punkObject);
-
- END_INTERFACE
- } ISpTokenUIVtbl;
- interface ISpTokenUI
- {
- CONST_VTBL struct ISpTokenUIVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpTokenUI_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpTokenUI_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpTokenUI_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpTokenUI_IsUISupported(This,pszTypeOfUI,pvExtraData,cbExtraData,punkObject,pfSupported)
- (This)->lpVtbl -> IsUISupported(This,pszTypeOfUI,pvExtraData,cbExtraData,punkObject,pfSupported)
- #define ISpTokenUI_DisplayUI(This,hwndParent,pszTitle,pszTypeOfUI,pvExtraData,cbExtraData,pToken,punkObject)
- (This)->lpVtbl -> DisplayUI(This,hwndParent,pszTitle,pszTypeOfUI,pvExtraData,cbExtraData,pToken,punkObject)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [local] */ HRESULT STDMETHODCALLTYPE ISpTokenUI_IsUISupported_Proxy(
- ISpTokenUI * This,
- /* [in] */ const WCHAR *pszTypeOfUI,
- /* [in] */ void *pvExtraData,
- /* [in] */ ULONG cbExtraData,
- /* [in] */ IUnknown *punkObject,
- /* [out] */ BOOL *pfSupported);
- void __RPC_STUB ISpTokenUI_IsUISupported_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [local] */ HRESULT STDMETHODCALLTYPE ISpTokenUI_DisplayUI_Proxy(
- ISpTokenUI * This,
- /* [in] */ HWND hwndParent,
- /* [in] */ const WCHAR *pszTitle,
- /* [in] */ const WCHAR *pszTypeOfUI,
- /* [in] */ void *pvExtraData,
- /* [in] */ ULONG cbExtraData,
- /* [in] */ ISpObjectToken *pToken,
- /* [in] */ IUnknown *punkObject);
- void __RPC_STUB ISpTokenUI_DisplayUI_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpTokenUI_INTERFACE_DEFINED__ */
- #ifndef __ISpObjectTokenEnumBuilder_INTERFACE_DEFINED__
- #define __ISpObjectTokenEnumBuilder_INTERFACE_DEFINED__
- /* interface ISpObjectTokenEnumBuilder */
- /* [restricted][unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_ISpObjectTokenEnumBuilder;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("06B64F9F-7FDA-11d2-B4F2-00C04F797396")
- ISpObjectTokenEnumBuilder : public IEnumSpObjectTokens
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE SetAttribs(
- const WCHAR *pszReqAttribs,
- const WCHAR *pszOptAttribs) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AddTokens(
- ULONG cTokens,
- ISpObjectToken **pToken) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AddTokensFromDataKey(
- ISpDataKey *pDataKey,
- const WCHAR *pszSubKey,
- const WCHAR *pszCategoryId) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AddTokensFromTokenEnum(
- IEnumSpObjectTokens *pTokenEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Sort(
- const WCHAR *pszTokenIdToListFirst) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpObjectTokenEnumBuilderVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpObjectTokenEnumBuilder * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpObjectTokenEnumBuilder * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpObjectTokenEnumBuilder * This);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- ISpObjectTokenEnumBuilder * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ ISpObjectToken **pelt,
- /* [out] */ ULONG *pceltFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- ISpObjectTokenEnumBuilder * This,
- /* [in] */ ULONG celt);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- ISpObjectTokenEnumBuilder * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- ISpObjectTokenEnumBuilder * This,
- /* [out] */ IEnumSpObjectTokens **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *Item )(
- ISpObjectTokenEnumBuilder * This,
- /* [in] */ ULONG Index,
- /* [out] */ ISpObjectToken **ppToken);
-
- HRESULT ( STDMETHODCALLTYPE *GetCount )(
- ISpObjectTokenEnumBuilder * This,
- /* [out] */ ULONG *pCount);
-
- HRESULT ( STDMETHODCALLTYPE *SetAttribs )(
- ISpObjectTokenEnumBuilder * This,
- const WCHAR *pszReqAttribs,
- const WCHAR *pszOptAttribs);
-
- HRESULT ( STDMETHODCALLTYPE *AddTokens )(
- ISpObjectTokenEnumBuilder * This,
- ULONG cTokens,
- ISpObjectToken **pToken);
-
- HRESULT ( STDMETHODCALLTYPE *AddTokensFromDataKey )(
- ISpObjectTokenEnumBuilder * This,
- ISpDataKey *pDataKey,
- const WCHAR *pszSubKey,
- const WCHAR *pszCategoryId);
-
- HRESULT ( STDMETHODCALLTYPE *AddTokensFromTokenEnum )(
- ISpObjectTokenEnumBuilder * This,
- IEnumSpObjectTokens *pTokenEnum);
-
- HRESULT ( STDMETHODCALLTYPE *Sort )(
- ISpObjectTokenEnumBuilder * This,
- const WCHAR *pszTokenIdToListFirst);
-
- END_INTERFACE
- } ISpObjectTokenEnumBuilderVtbl;
- interface ISpObjectTokenEnumBuilder
- {
- CONST_VTBL struct ISpObjectTokenEnumBuilderVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpObjectTokenEnumBuilder_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpObjectTokenEnumBuilder_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpObjectTokenEnumBuilder_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpObjectTokenEnumBuilder_Next(This,celt,pelt,pceltFetched)
- (This)->lpVtbl -> Next(This,celt,pelt,pceltFetched)
- #define ISpObjectTokenEnumBuilder_Skip(This,celt)
- (This)->lpVtbl -> Skip(This,celt)
- #define ISpObjectTokenEnumBuilder_Reset(This)
- (This)->lpVtbl -> Reset(This)
- #define ISpObjectTokenEnumBuilder_Clone(This,ppEnum)
- (This)->lpVtbl -> Clone(This,ppEnum)
- #define ISpObjectTokenEnumBuilder_Item(This,Index,ppToken)
- (This)->lpVtbl -> Item(This,Index,ppToken)
- #define ISpObjectTokenEnumBuilder_GetCount(This,pCount)
- (This)->lpVtbl -> GetCount(This,pCount)
- #define ISpObjectTokenEnumBuilder_SetAttribs(This,pszReqAttribs,pszOptAttribs)
- (This)->lpVtbl -> SetAttribs(This,pszReqAttribs,pszOptAttribs)
- #define ISpObjectTokenEnumBuilder_AddTokens(This,cTokens,pToken)
- (This)->lpVtbl -> AddTokens(This,cTokens,pToken)
- #define ISpObjectTokenEnumBuilder_AddTokensFromDataKey(This,pDataKey,pszSubKey,pszCategoryId)
- (This)->lpVtbl -> AddTokensFromDataKey(This,pDataKey,pszSubKey,pszCategoryId)
- #define ISpObjectTokenEnumBuilder_AddTokensFromTokenEnum(This,pTokenEnum)
- (This)->lpVtbl -> AddTokensFromTokenEnum(This,pTokenEnum)
- #define ISpObjectTokenEnumBuilder_Sort(This,pszTokenIdToListFirst)
- (This)->lpVtbl -> Sort(This,pszTokenIdToListFirst)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ISpObjectTokenEnumBuilder_SetAttribs_Proxy(
- ISpObjectTokenEnumBuilder * This,
- const WCHAR *pszReqAttribs,
- const WCHAR *pszOptAttribs);
- void __RPC_STUB ISpObjectTokenEnumBuilder_SetAttribs_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpObjectTokenEnumBuilder_AddTokens_Proxy(
- ISpObjectTokenEnumBuilder * This,
- ULONG cTokens,
- ISpObjectToken **pToken);
- void __RPC_STUB ISpObjectTokenEnumBuilder_AddTokens_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpObjectTokenEnumBuilder_AddTokensFromDataKey_Proxy(
- ISpObjectTokenEnumBuilder * This,
- ISpDataKey *pDataKey,
- const WCHAR *pszSubKey,
- const WCHAR *pszCategoryId);
- void __RPC_STUB ISpObjectTokenEnumBuilder_AddTokensFromDataKey_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpObjectTokenEnumBuilder_AddTokensFromTokenEnum_Proxy(
- ISpObjectTokenEnumBuilder * This,
- IEnumSpObjectTokens *pTokenEnum);
- void __RPC_STUB ISpObjectTokenEnumBuilder_AddTokensFromTokenEnum_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpObjectTokenEnumBuilder_Sort_Proxy(
- ISpObjectTokenEnumBuilder * This,
- const WCHAR *pszTokenIdToListFirst);
- void __RPC_STUB ISpObjectTokenEnumBuilder_Sort_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpObjectTokenEnumBuilder_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_sapiddk_0339 */
- /* [local] */
- #if 0
- typedef void *SPWORDHANDLE;
- typedef void *SPRULEHANDLE;
- typedef void *SPGRAMMARHANDLE;
- typedef void *SPRECOCONTEXTHANDLE;
- typedef void *SPPHRASERULEHANDLE;
- typedef void *SPPHRASEPROPERTYHANDLE;
- typedef void *SPTRANSITIONID;
- #else
- DECLARE_HANDLE(SPWORDHANDLE);
- DECLARE_HANDLE(SPRULEHANDLE);
- DECLARE_HANDLE(SPGRAMMARHANDLE);
- DECLARE_HANDLE(SPRECOCONTEXTHANDLE);
- DECLARE_HANDLE(SPPHRASERULEHANDLE);
- DECLARE_HANDLE(SPPHRASEPROPERTYHANDLE);
- DECLARE_HANDLE(SPTRANSITIONID);
- #endif
- extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0339_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0339_v0_0_s_ifspec;
- #ifndef __ISpErrorLog_INTERFACE_DEFINED__
- #define __ISpErrorLog_INTERFACE_DEFINED__
- /* interface ISpErrorLog */
- /* [restricted][unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_ISpErrorLog;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("F4711347-E608-11d2-A086-00C04F8EF9B5")
- ISpErrorLog : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE AddError(
- const long lLineNumber,
- HRESULT hr,
- const WCHAR *pszDescription,
- const WCHAR *pszHelpFile,
- DWORD dwHelpContext) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpErrorLogVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpErrorLog * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpErrorLog * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpErrorLog * This);
-
- HRESULT ( STDMETHODCALLTYPE *AddError )(
- ISpErrorLog * This,
- const long lLineNumber,
- HRESULT hr,
- const WCHAR *pszDescription,
- const WCHAR *pszHelpFile,
- DWORD dwHelpContext);
-
- END_INTERFACE
- } ISpErrorLogVtbl;
- interface ISpErrorLog
- {
- CONST_VTBL struct ISpErrorLogVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpErrorLog_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpErrorLog_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpErrorLog_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpErrorLog_AddError(This,lLineNumber,hr,pszDescription,pszHelpFile,dwHelpContext)
- (This)->lpVtbl -> AddError(This,lLineNumber,hr,pszDescription,pszHelpFile,dwHelpContext)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ISpErrorLog_AddError_Proxy(
- ISpErrorLog * This,
- const long lLineNumber,
- HRESULT hr,
- const WCHAR *pszDescription,
- const WCHAR *pszHelpFile,
- DWORD dwHelpContext);
- void __RPC_STUB ISpErrorLog_AddError_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpErrorLog_INTERFACE_DEFINED__ */
- #ifndef __ISpGrammarCompiler_INTERFACE_DEFINED__
- #define __ISpGrammarCompiler_INTERFACE_DEFINED__
- /* interface ISpGrammarCompiler */
- /* [restricted][unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_ISpGrammarCompiler;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("B1E29D58-A675-11D2-8302-00C04F8EE6C0")
- ISpGrammarCompiler : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE CompileStream(
- IStream *pSource,
- IStream *pDest,
- IStream *pHeader,
- IUnknown *pReserved,
- ISpErrorLog *pErrorLog,
- /* [in] */ DWORD dwFlags) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpGrammarCompilerVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpGrammarCompiler * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpGrammarCompiler * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpGrammarCompiler * This);
-
- HRESULT ( STDMETHODCALLTYPE *CompileStream )(
- ISpGrammarCompiler * This,
- IStream *pSource,
- IStream *pDest,
- IStream *pHeader,
- IUnknown *pReserved,
- ISpErrorLog *pErrorLog,
- /* [in] */ DWORD dwFlags);
-
- END_INTERFACE
- } ISpGrammarCompilerVtbl;
- interface ISpGrammarCompiler
- {
- CONST_VTBL struct ISpGrammarCompilerVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpGrammarCompiler_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpGrammarCompiler_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpGrammarCompiler_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpGrammarCompiler_CompileStream(This,pSource,pDest,pHeader,pReserved,pErrorLog,dwFlags)
- (This)->lpVtbl -> CompileStream(This,pSource,pDest,pHeader,pReserved,pErrorLog,dwFlags)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ISpGrammarCompiler_CompileStream_Proxy(
- ISpGrammarCompiler * This,
- IStream *pSource,
- IStream *pDest,
- IStream *pHeader,
- IUnknown *pReserved,
- ISpErrorLog *pErrorLog,
- /* [in] */ DWORD dwFlags);
- void __RPC_STUB ISpGrammarCompiler_CompileStream_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpGrammarCompiler_INTERFACE_DEFINED__ */
- #ifndef __ISpGramCompBackend_INTERFACE_DEFINED__
- #define __ISpGramCompBackend_INTERFACE_DEFINED__
- /* interface ISpGramCompBackend */
- /* [restricted][unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_ISpGramCompBackend;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("3DDCA27C-665C-4786-9F97-8C90C3488B61")
- ISpGramCompBackend : public ISpGrammarBuilder
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE SetSaveObjects(
- IStream *pStream,
- ISpErrorLog *pErrorLog) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE InitFromBinaryGrammar(
- const SPBINARYGRAMMAR *pBinaryData) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpGramCompBackendVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpGramCompBackend * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpGramCompBackend * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpGramCompBackend * This);
-
- HRESULT ( STDMETHODCALLTYPE *ResetGrammar )(
- ISpGramCompBackend * This,
- /* [in] */ WORD NewLanguage);
-
- HRESULT ( STDMETHODCALLTYPE *GetRule )(
- ISpGramCompBackend * This,
- /* [in] */ const WCHAR *pszRuleName,
- /* [in] */ DWORD dwRuleId,
- /* [in] */ DWORD dwAttributes,
- /* [in] */ BOOL fCreateIfNotExist,
- /* [out] */ SPSTATEHANDLE *phInitialState);
-
- HRESULT ( STDMETHODCALLTYPE *ClearRule )(
- ISpGramCompBackend * This,
- SPSTATEHANDLE hState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateNewState )(
- ISpGramCompBackend * This,
- SPSTATEHANDLE hState,
- SPSTATEHANDLE *phState);
-
- HRESULT ( STDMETHODCALLTYPE *AddWordTransition )(
- ISpGramCompBackend * This,
- SPSTATEHANDLE hFromState,
- SPSTATEHANDLE hToState,
- const WCHAR *psz,
- const WCHAR *pszSeparators,
- SPGRAMMARWORDTYPE eWordType,
- float Weight,
- const SPPROPERTYINFO *pPropInfo);
-
- HRESULT ( STDMETHODCALLTYPE *AddRuleTransition )(
- ISpGramCompBackend * This,
- SPSTATEHANDLE hFromState,
- SPSTATEHANDLE hToState,
- SPSTATEHANDLE hRule,
- float Weight,
- const SPPROPERTYINFO *pPropInfo);
-
- HRESULT ( STDMETHODCALLTYPE *AddResource )(
- ISpGramCompBackend * This,
- /* [in] */ SPSTATEHANDLE hRuleState,
- /* [in] */ const WCHAR *pszResourceName,
- /* [in] */ const WCHAR *pszResourceValue);
-
- HRESULT ( STDMETHODCALLTYPE *Commit )(
- ISpGramCompBackend * This,
- DWORD dwReserved);
-
- HRESULT ( STDMETHODCALLTYPE *SetSaveObjects )(
- ISpGramCompBackend * This,
- IStream *pStream,
- ISpErrorLog *pErrorLog);
-
- HRESULT ( STDMETHODCALLTYPE *InitFromBinaryGrammar )(
- ISpGramCompBackend * This,
- const SPBINARYGRAMMAR *pBinaryData);
-
- END_INTERFACE
- } ISpGramCompBackendVtbl;
- interface ISpGramCompBackend
- {
- CONST_VTBL struct ISpGramCompBackendVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpGramCompBackend_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpGramCompBackend_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpGramCompBackend_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpGramCompBackend_ResetGrammar(This,NewLanguage)
- (This)->lpVtbl -> ResetGrammar(This,NewLanguage)
- #define ISpGramCompBackend_GetRule(This,pszRuleName,dwRuleId,dwAttributes,fCreateIfNotExist,phInitialState)
- (This)->lpVtbl -> GetRule(This,pszRuleName,dwRuleId,dwAttributes,fCreateIfNotExist,phInitialState)
- #define ISpGramCompBackend_ClearRule(This,hState)
- (This)->lpVtbl -> ClearRule(This,hState)
- #define ISpGramCompBackend_CreateNewState(This,hState,phState)
- (This)->lpVtbl -> CreateNewState(This,hState,phState)
- #define ISpGramCompBackend_AddWordTransition(This,hFromState,hToState,psz,pszSeparators,eWordType,Weight,pPropInfo)
- (This)->lpVtbl -> AddWordTransition(This,hFromState,hToState,psz,pszSeparators,eWordType,Weight,pPropInfo)
- #define ISpGramCompBackend_AddRuleTransition(This,hFromState,hToState,hRule,Weight,pPropInfo)
- (This)->lpVtbl -> AddRuleTransition(This,hFromState,hToState,hRule,Weight,pPropInfo)
- #define ISpGramCompBackend_AddResource(This,hRuleState,pszResourceName,pszResourceValue)
- (This)->lpVtbl -> AddResource(This,hRuleState,pszResourceName,pszResourceValue)
- #define ISpGramCompBackend_Commit(This,dwReserved)
- (This)->lpVtbl -> Commit(This,dwReserved)
- #define ISpGramCompBackend_SetSaveObjects(This,pStream,pErrorLog)
- (This)->lpVtbl -> SetSaveObjects(This,pStream,pErrorLog)
- #define ISpGramCompBackend_InitFromBinaryGrammar(This,pBinaryData)
- (This)->lpVtbl -> InitFromBinaryGrammar(This,pBinaryData)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ISpGramCompBackend_SetSaveObjects_Proxy(
- ISpGramCompBackend * This,
- IStream *pStream,
- ISpErrorLog *pErrorLog);
- void __RPC_STUB ISpGramCompBackend_SetSaveObjects_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpGramCompBackend_InitFromBinaryGrammar_Proxy(
- ISpGramCompBackend * This,
- const SPBINARYGRAMMAR *pBinaryData);
- void __RPC_STUB ISpGramCompBackend_InitFromBinaryGrammar_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpGramCompBackend_INTERFACE_DEFINED__ */
- #ifndef __ISpITNProcessor_INTERFACE_DEFINED__
- #define __ISpITNProcessor_INTERFACE_DEFINED__
- /* interface ISpITNProcessor */
- /* [restricted][local][unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_ISpITNProcessor;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("12D7360F-A1C9-11d3-BC90-00C04F72DF9F")
- ISpITNProcessor : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE LoadITNGrammar(
- WCHAR *pszCLSID) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ITNPhrase(
- ISpPhraseBuilder *pPhrase) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpITNProcessorVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpITNProcessor * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpITNProcessor * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpITNProcessor * This);
-
- HRESULT ( STDMETHODCALLTYPE *LoadITNGrammar )(
- ISpITNProcessor * This,
- WCHAR *pszCLSID);
-
- HRESULT ( STDMETHODCALLTYPE *ITNPhrase )(
- ISpITNProcessor * This,
- ISpPhraseBuilder *pPhrase);
-
- END_INTERFACE
- } ISpITNProcessorVtbl;
- interface ISpITNProcessor
- {
- CONST_VTBL struct ISpITNProcessorVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpITNProcessor_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpITNProcessor_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpITNProcessor_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpITNProcessor_LoadITNGrammar(This,pszCLSID)
- (This)->lpVtbl -> LoadITNGrammar(This,pszCLSID)
- #define ISpITNProcessor_ITNPhrase(This,pPhrase)
- (This)->lpVtbl -> ITNPhrase(This,pPhrase)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ISpITNProcessor_LoadITNGrammar_Proxy(
- ISpITNProcessor * This,
- WCHAR *pszCLSID);
- void __RPC_STUB ISpITNProcessor_LoadITNGrammar_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpITNProcessor_ITNPhrase_Proxy(
- ISpITNProcessor * This,
- ISpPhraseBuilder *pPhrase);
- void __RPC_STUB ISpITNProcessor_ITNPhrase_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpITNProcessor_INTERFACE_DEFINED__ */
- #ifndef __ISpPhraseBuilder_INTERFACE_DEFINED__
- #define __ISpPhraseBuilder_INTERFACE_DEFINED__
- /* interface ISpPhraseBuilder */
- /* [restricted][unique][helpstring][local][uuid][object] */
- EXTERN_C const IID IID_ISpPhraseBuilder;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("88A3342A-0BED-4834-922B-88D43173162F")
- ISpPhraseBuilder : public ISpPhrase
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE InitFromPhrase(
- const SPPHRASE *pPhrase) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE InitFromSerializedPhrase(
- const SPSERIALIZEDPHRASE *pPhrase) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AddElements(
- ULONG cElements,
- const SPPHRASEELEMENT *pElement) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AddRules(
- const SPPHRASERULEHANDLE hParent,
- const SPPHRASERULE *pRule,
- SPPHRASERULEHANDLE *phNewRule) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AddProperties(
- const SPPHRASEPROPERTYHANDLE hParent,
- const SPPHRASEPROPERTY *pProperty,
- SPPHRASEPROPERTYHANDLE *phNewProperty) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AddReplacements(
- ULONG cReplacements,
- const SPPHRASEREPLACEMENT *pReplacements) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpPhraseBuilderVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpPhraseBuilder * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpPhraseBuilder * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpPhraseBuilder * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetPhrase )(
- ISpPhraseBuilder * This,
- /* [out] */ SPPHRASE **ppCoMemPhrase);
-
- HRESULT ( STDMETHODCALLTYPE *GetSerializedPhrase )(
- ISpPhraseBuilder * This,
- /* [out] */ SPSERIALIZEDPHRASE **ppCoMemPhrase);
-
- HRESULT ( STDMETHODCALLTYPE *GetText )(
- ISpPhraseBuilder * This,
- /* [in] */ ULONG ulStart,
- /* [in] */ ULONG ulCount,
- /* [in] */ BOOL fUseTextReplacements,
- /* [out] */ WCHAR **ppszCoMemText,
- /* [out] */ BYTE *pbDisplayAttributes);
-
- HRESULT ( STDMETHODCALLTYPE *Discard )(
- ISpPhraseBuilder * This,
- /* [in] */ DWORD dwValueTypes);
-
- HRESULT ( STDMETHODCALLTYPE *InitFromPhrase )(
- ISpPhraseBuilder * This,
- const SPPHRASE *pPhrase);
-
- HRESULT ( STDMETHODCALLTYPE *InitFromSerializedPhrase )(
- ISpPhraseBuilder * This,
- const SPSERIALIZEDPHRASE *pPhrase);
-
- HRESULT ( STDMETHODCALLTYPE *AddElements )(
- ISpPhraseBuilder * This,
- ULONG cElements,
- const SPPHRASEELEMENT *pElement);
-
- HRESULT ( STDMETHODCALLTYPE *AddRules )(
- ISpPhraseBuilder * This,
- const SPPHRASERULEHANDLE hParent,
- const SPPHRASERULE *pRule,
- SPPHRASERULEHANDLE *phNewRule);
-
- HRESULT ( STDMETHODCALLTYPE *AddProperties )(
- ISpPhraseBuilder * This,
- const SPPHRASEPROPERTYHANDLE hParent,
- const SPPHRASEPROPERTY *pProperty,
- SPPHRASEPROPERTYHANDLE *phNewProperty);
-
- HRESULT ( STDMETHODCALLTYPE *AddReplacements )(
- ISpPhraseBuilder * This,
- ULONG cReplacements,
- const SPPHRASEREPLACEMENT *pReplacements);
-
- END_INTERFACE
- } ISpPhraseBuilderVtbl;
- interface ISpPhraseBuilder
- {
- CONST_VTBL struct ISpPhraseBuilderVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpPhraseBuilder_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpPhraseBuilder_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpPhraseBuilder_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpPhraseBuilder_GetPhrase(This,ppCoMemPhrase)
- (This)->lpVtbl -> GetPhrase(This,ppCoMemPhrase)
- #define ISpPhraseBuilder_GetSerializedPhrase(This,ppCoMemPhrase)
- (This)->lpVtbl -> GetSerializedPhrase(This,ppCoMemPhrase)
- #define ISpPhraseBuilder_GetText(This,ulStart,ulCount,fUseTextReplacements,ppszCoMemText,pbDisplayAttributes)
- (This)->lpVtbl -> GetText(This,ulStart,ulCount,fUseTextReplacements,ppszCoMemText,pbDisplayAttributes)
- #define ISpPhraseBuilder_Discard(This,dwValueTypes)
- (This)->lpVtbl -> Discard(This,dwValueTypes)
- #define ISpPhraseBuilder_InitFromPhrase(This,pPhrase)
- (This)->lpVtbl -> InitFromPhrase(This,pPhrase)
- #define ISpPhraseBuilder_InitFromSerializedPhrase(This,pPhrase)
- (This)->lpVtbl -> InitFromSerializedPhrase(This,pPhrase)
- #define ISpPhraseBuilder_AddElements(This,cElements,pElement)
- (This)->lpVtbl -> AddElements(This,cElements,pElement)
- #define ISpPhraseBuilder_AddRules(This,hParent,pRule,phNewRule)
- (This)->lpVtbl -> AddRules(This,hParent,pRule,phNewRule)
- #define ISpPhraseBuilder_AddProperties(This,hParent,pProperty,phNewProperty)
- (This)->lpVtbl -> AddProperties(This,hParent,pProperty,phNewProperty)
- #define ISpPhraseBuilder_AddReplacements(This,cReplacements,pReplacements)
- (This)->lpVtbl -> AddReplacements(This,cReplacements,pReplacements)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ISpPhraseBuilder_InitFromPhrase_Proxy(
- ISpPhraseBuilder * This,
- const SPPHRASE *pPhrase);
- void __RPC_STUB ISpPhraseBuilder_InitFromPhrase_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpPhraseBuilder_InitFromSerializedPhrase_Proxy(
- ISpPhraseBuilder * This,
- const SPSERIALIZEDPHRASE *pPhrase);
- void __RPC_STUB ISpPhraseBuilder_InitFromSerializedPhrase_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpPhraseBuilder_AddElements_Proxy(
- ISpPhraseBuilder * This,
- ULONG cElements,
- const SPPHRASEELEMENT *pElement);
- void __RPC_STUB ISpPhraseBuilder_AddElements_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpPhraseBuilder_AddRules_Proxy(
- ISpPhraseBuilder * This,
- const SPPHRASERULEHANDLE hParent,
- const SPPHRASERULE *pRule,
- SPPHRASERULEHANDLE *phNewRule);
- void __RPC_STUB ISpPhraseBuilder_AddRules_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpPhraseBuilder_AddProperties_Proxy(
- ISpPhraseBuilder * This,
- const SPPHRASEPROPERTYHANDLE hParent,
- const SPPHRASEPROPERTY *pProperty,
- SPPHRASEPROPERTYHANDLE *phNewProperty);
- void __RPC_STUB ISpPhraseBuilder_AddProperties_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpPhraseBuilder_AddReplacements_Proxy(
- ISpPhraseBuilder * This,
- ULONG cReplacements,
- const SPPHRASEREPLACEMENT *pReplacements);
- void __RPC_STUB ISpPhraseBuilder_AddReplacements_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpPhraseBuilder_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_sapiddk_0344 */
- /* [local] */
- #if defined(__cplusplus)
- interface ISpTask
- {
- virtual HRESULT STDMETHODCALLTYPE Execute(
- void *pvTaskData,
- volatile const BOOL* pfContinueProcessing) = 0;
- };
- #else
- typedef void *ISpTask;
- #endif
- #if defined(__cplusplus)
- interface ISpThreadTask
- {
- virtual HRESULT STDMETHODCALLTYPE InitThread(
- void * pvTaskData,
- HWND hwnd) = 0;
- virtual HRESULT STDMETHODCALLTYPE ThreadProc(
- void *pvTaskData,
- HANDLE hExitThreadEvent,
- HANDLE hNotifyEvent,
- HWND hwndWorker,
- volatile const BOOL * pfContinueProcessing) = 0;
- virtual LRESULT STDMETHODCALLTYPE WindowMessage(
- void *pvTaskData,
- HWND hWnd,
- UINT Msg,
- WPARAM wParam,
- LPARAM lParam) = 0;
- };
- #else
- typedef void *ISpThreadTask;
- #endif
- extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0344_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0344_v0_0_s_ifspec;
- #ifndef __ISpThreadControl_INTERFACE_DEFINED__
- #define __ISpThreadControl_INTERFACE_DEFINED__
- /* interface ISpThreadControl */
- /* [restricted][local][unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_ISpThreadControl;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("A6BE4D73-4403-4358-B22D-0346E23B1764")
- ISpThreadControl : public ISpNotifySink
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE StartThread(
- DWORD dwFlags,
- HWND *phwnd) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE WaitForThreadDone(
- BOOL fForceStop,
- HRESULT *phrThreadResult,
- ULONG msTimeOut) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE TerminateThread( void) = 0;
-
- virtual HANDLE STDMETHODCALLTYPE ThreadHandle( void) = 0;
-
- virtual DWORD STDMETHODCALLTYPE ThreadId( void) = 0;
-
- virtual HANDLE STDMETHODCALLTYPE NotifyEvent( void) = 0;
-
- virtual HWND STDMETHODCALLTYPE WindowHandle( void) = 0;
-
- virtual HANDLE STDMETHODCALLTYPE ThreadCompleteEvent( void) = 0;
-
- virtual HANDLE STDMETHODCALLTYPE ExitThreadEvent( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpThreadControlVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpThreadControl * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpThreadControl * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpThreadControl * This);
-
- HRESULT ( STDMETHODCALLTYPE *Notify )(
- ISpThreadControl * This);
-
- HRESULT ( STDMETHODCALLTYPE *StartThread )(
- ISpThreadControl * This,
- DWORD dwFlags,
- HWND *phwnd);
-
- HRESULT ( STDMETHODCALLTYPE *WaitForThreadDone )(
- ISpThreadControl * This,
- BOOL fForceStop,
- HRESULT *phrThreadResult,
- ULONG msTimeOut);
-
- HRESULT ( STDMETHODCALLTYPE *TerminateThread )(
- ISpThreadControl * This);
-
- HANDLE ( STDMETHODCALLTYPE *ThreadHandle )(
- ISpThreadControl * This);
-
- DWORD ( STDMETHODCALLTYPE *ThreadId )(
- ISpThreadControl * This);
-
- HANDLE ( STDMETHODCALLTYPE *NotifyEvent )(
- ISpThreadControl * This);
-
- HWND ( STDMETHODCALLTYPE *WindowHandle )(
- ISpThreadControl * This);
-
- HANDLE ( STDMETHODCALLTYPE *ThreadCompleteEvent )(
- ISpThreadControl * This);
-
- HANDLE ( STDMETHODCALLTYPE *ExitThreadEvent )(
- ISpThreadControl * This);
-
- END_INTERFACE
- } ISpThreadControlVtbl;
- interface ISpThreadControl
- {
- CONST_VTBL struct ISpThreadControlVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpThreadControl_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpThreadControl_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpThreadControl_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpThreadControl_Notify(This)
- (This)->lpVtbl -> Notify(This)
- #define ISpThreadControl_StartThread(This,dwFlags,phwnd)
- (This)->lpVtbl -> StartThread(This,dwFlags,phwnd)
- #define ISpThreadControl_WaitForThreadDone(This,fForceStop,phrThreadResult,msTimeOut)
- (This)->lpVtbl -> WaitForThreadDone(This,fForceStop,phrThreadResult,msTimeOut)
- #define ISpThreadControl_TerminateThread(This)
- (This)->lpVtbl -> TerminateThread(This)
- #define ISpThreadControl_ThreadHandle(This)
- (This)->lpVtbl -> ThreadHandle(This)
- #define ISpThreadControl_ThreadId(This)
- (This)->lpVtbl -> ThreadId(This)
- #define ISpThreadControl_NotifyEvent(This)
- (This)->lpVtbl -> NotifyEvent(This)
- #define ISpThreadControl_WindowHandle(This)
- (This)->lpVtbl -> WindowHandle(This)
- #define ISpThreadControl_ThreadCompleteEvent(This)
- (This)->lpVtbl -> ThreadCompleteEvent(This)
- #define ISpThreadControl_ExitThreadEvent(This)
- (This)->lpVtbl -> ExitThreadEvent(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ISpThreadControl_StartThread_Proxy(
- ISpThreadControl * This,
- DWORD dwFlags,
- HWND *phwnd);
- void __RPC_STUB ISpThreadControl_StartThread_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpThreadControl_WaitForThreadDone_Proxy(
- ISpThreadControl * This,
- BOOL fForceStop,
- HRESULT *phrThreadResult,
- ULONG msTimeOut);
- void __RPC_STUB ISpThreadControl_WaitForThreadDone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpThreadControl_TerminateThread_Proxy(
- ISpThreadControl * This);
- void __RPC_STUB ISpThreadControl_TerminateThread_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HANDLE STDMETHODCALLTYPE ISpThreadControl_ThreadHandle_Proxy(
- ISpThreadControl * This);
- void __RPC_STUB ISpThreadControl_ThreadHandle_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- DWORD STDMETHODCALLTYPE ISpThreadControl_ThreadId_Proxy(
- ISpThreadControl * This);
- void __RPC_STUB ISpThreadControl_ThreadId_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HANDLE STDMETHODCALLTYPE ISpThreadControl_NotifyEvent_Proxy(
- ISpThreadControl * This);
- void __RPC_STUB ISpThreadControl_NotifyEvent_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HWND STDMETHODCALLTYPE ISpThreadControl_WindowHandle_Proxy(
- ISpThreadControl * This);
- void __RPC_STUB ISpThreadControl_WindowHandle_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HANDLE STDMETHODCALLTYPE ISpThreadControl_ThreadCompleteEvent_Proxy(
- ISpThreadControl * This);
- void __RPC_STUB ISpThreadControl_ThreadCompleteEvent_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HANDLE STDMETHODCALLTYPE ISpThreadControl_ExitThreadEvent_Proxy(
- ISpThreadControl * This);
- void __RPC_STUB ISpThreadControl_ExitThreadEvent_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpThreadControl_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_sapiddk_0345 */
- /* [local] */
- typedef /* [restricted] */ struct SPTMTHREADINFO
- {
- long lPoolSize;
- long lPriority;
- ULONG ulConcurrencyLimit;
- ULONG ulMaxQuickAllocThreads;
- } SPTMTHREADINFO;
- extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0345_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0345_v0_0_s_ifspec;
- #ifndef __ISpTaskManager_INTERFACE_DEFINED__
- #define __ISpTaskManager_INTERFACE_DEFINED__
- /* interface ISpTaskManager */
- /* [object][restricted][unique][helpstring][uuid][local] */
- EXTERN_C const IID IID_ISpTaskManager;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("2BAEEF81-2CA3-4331-98F3-26EC5ABEFB03")
- ISpTaskManager : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE SetThreadPoolInfo(
- /* [in] */ const SPTMTHREADINFO *pPoolInfo) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetThreadPoolInfo(
- /* [out] */ SPTMTHREADINFO *pPoolInfo) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE QueueTask(
- /* [in] */ ISpTask *pTask,
- /* [in] */ void *pvTaskData,
- /* [in] */ HANDLE hCompEvent,
- /* [out][in] */ DWORD *pdwGroupId,
- /* [out] */ DWORD *pTaskID) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateReoccurringTask(
- /* [in] */ ISpTask *pTask,
- /* [in] */ void *pvTaskData,
- /* [in] */ HANDLE hCompEvent,
- /* [out] */ ISpNotifySink **ppTaskCtrl) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateThreadControl(
- /* [in] */ ISpThreadTask *pTask,
- /* [in] */ void *pvTaskData,
- /* [in] */ long nPriority,
- /* [out] */ ISpThreadControl **ppTaskCtrl) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE TerminateTask(
- /* [in] */ DWORD dwTaskId,
- /* [in] */ ULONG ulWaitPeriod) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE TerminateTaskGroup(
- /* [in] */ DWORD dwGroupId,
- /* [in] */ ULONG ulWaitPeriod) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpTaskManagerVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpTaskManager * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpTaskManager * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpTaskManager * This);
-
- HRESULT ( STDMETHODCALLTYPE *SetThreadPoolInfo )(
- ISpTaskManager * This,
- /* [in] */ const SPTMTHREADINFO *pPoolInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetThreadPoolInfo )(
- ISpTaskManager * This,
- /* [out] */ SPTMTHREADINFO *pPoolInfo);
-
- HRESULT ( STDMETHODCALLTYPE *QueueTask )(
- ISpTaskManager * This,
- /* [in] */ ISpTask *pTask,
- /* [in] */ void *pvTaskData,
- /* [in] */ HANDLE hCompEvent,
- /* [out][in] */ DWORD *pdwGroupId,
- /* [out] */ DWORD *pTaskID);
-
- HRESULT ( STDMETHODCALLTYPE *CreateReoccurringTask )(
- ISpTaskManager * This,
- /* [in] */ ISpTask *pTask,
- /* [in] */ void *pvTaskData,
- /* [in] */ HANDLE hCompEvent,
- /* [out] */ ISpNotifySink **ppTaskCtrl);
-
- HRESULT ( STDMETHODCALLTYPE *CreateThreadControl )(
- ISpTaskManager * This,
- /* [in] */ ISpThreadTask *pTask,
- /* [in] */ void *pvTaskData,
- /* [in] */ long nPriority,
- /* [out] */ ISpThreadControl **ppTaskCtrl);
-
- HRESULT ( STDMETHODCALLTYPE *TerminateTask )(
- ISpTaskManager * This,
- /* [in] */ DWORD dwTaskId,
- /* [in] */ ULONG ulWaitPeriod);
-
- HRESULT ( STDMETHODCALLTYPE *TerminateTaskGroup )(
- ISpTaskManager * This,
- /* [in] */ DWORD dwGroupId,
- /* [in] */ ULONG ulWaitPeriod);
-
- END_INTERFACE
- } ISpTaskManagerVtbl;
- interface ISpTaskManager
- {
- CONST_VTBL struct ISpTaskManagerVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpTaskManager_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpTaskManager_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpTaskManager_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpTaskManager_SetThreadPoolInfo(This,pPoolInfo)
- (This)->lpVtbl -> SetThreadPoolInfo(This,pPoolInfo)
- #define ISpTaskManager_GetThreadPoolInfo(This,pPoolInfo)
- (This)->lpVtbl -> GetThreadPoolInfo(This,pPoolInfo)
- #define ISpTaskManager_QueueTask(This,pTask,pvTaskData,hCompEvent,pdwGroupId,pTaskID)
- (This)->lpVtbl -> QueueTask(This,pTask,pvTaskData,hCompEvent,pdwGroupId,pTaskID)
- #define ISpTaskManager_CreateReoccurringTask(This,pTask,pvTaskData,hCompEvent,ppTaskCtrl)
- (This)->lpVtbl -> CreateReoccurringTask(This,pTask,pvTaskData,hCompEvent,ppTaskCtrl)
- #define ISpTaskManager_CreateThreadControl(This,pTask,pvTaskData,nPriority,ppTaskCtrl)
- (This)->lpVtbl -> CreateThreadControl(This,pTask,pvTaskData,nPriority,ppTaskCtrl)
- #define ISpTaskManager_TerminateTask(This,dwTaskId,ulWaitPeriod)
- (This)->lpVtbl -> TerminateTask(This,dwTaskId,ulWaitPeriod)
- #define ISpTaskManager_TerminateTaskGroup(This,dwGroupId,ulWaitPeriod)
- (This)->lpVtbl -> TerminateTaskGroup(This,dwGroupId,ulWaitPeriod)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ISpTaskManager_SetThreadPoolInfo_Proxy(
- ISpTaskManager * This,
- /* [in] */ const SPTMTHREADINFO *pPoolInfo);
- void __RPC_STUB ISpTaskManager_SetThreadPoolInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpTaskManager_GetThreadPoolInfo_Proxy(
- ISpTaskManager * This,
- /* [out] */ SPTMTHREADINFO *pPoolInfo);
- void __RPC_STUB ISpTaskManager_GetThreadPoolInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpTaskManager_QueueTask_Proxy(
- ISpTaskManager * This,
- /* [in] */ ISpTask *pTask,
- /* [in] */ void *pvTaskData,
- /* [in] */ HANDLE hCompEvent,
- /* [out][in] */ DWORD *pdwGroupId,
- /* [out] */ DWORD *pTaskID);
- void __RPC_STUB ISpTaskManager_QueueTask_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpTaskManager_CreateReoccurringTask_Proxy(
- ISpTaskManager * This,
- /* [in] */ ISpTask *pTask,
- /* [in] */ void *pvTaskData,
- /* [in] */ HANDLE hCompEvent,
- /* [out] */ ISpNotifySink **ppTaskCtrl);
- void __RPC_STUB ISpTaskManager_CreateReoccurringTask_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpTaskManager_CreateThreadControl_Proxy(
- ISpTaskManager * This,
- /* [in] */ ISpThreadTask *pTask,
- /* [in] */ void *pvTaskData,
- /* [in] */ long nPriority,
- /* [out] */ ISpThreadControl **ppTaskCtrl);
- void __RPC_STUB ISpTaskManager_CreateThreadControl_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpTaskManager_TerminateTask_Proxy(
- ISpTaskManager * This,
- /* [in] */ DWORD dwTaskId,
- /* [in] */ ULONG ulWaitPeriod);
- void __RPC_STUB ISpTaskManager_TerminateTask_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpTaskManager_TerminateTaskGroup_Proxy(
- ISpTaskManager * This,
- /* [in] */ DWORD dwGroupId,
- /* [in] */ ULONG ulWaitPeriod);
- void __RPC_STUB ISpTaskManager_TerminateTaskGroup_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpTaskManager_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_sapiddk_0346 */
- /* [local] */
- typedef
- enum SPVSKIPTYPE
- { SPVST_SENTENCE = 1L << 0
- } SPVSKIPTYPE;
- typedef
- enum SPVESACTIONS
- { SPVES_CONTINUE = 0,
- SPVES_ABORT = 1L << 0,
- SPVES_SKIP = 1L << 1,
- SPVES_RATE = 1L << 2,
- SPVES_VOLUME = 1L << 3
- } SPVESACTIONS;
- extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0346_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0346_v0_0_s_ifspec;
- #ifndef __ISpTTSEngineSite_INTERFACE_DEFINED__
- #define __ISpTTSEngineSite_INTERFACE_DEFINED__
- /* interface ISpTTSEngineSite */
- /* [unique][helpstring][uuid][local][object] */
- EXTERN_C const IID IID_ISpTTSEngineSite;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9880499B-CCE9-11d2-B503-00C04F797396")
- ISpTTSEngineSite : public ISpEventSink
- {
- public:
- virtual DWORD STDMETHODCALLTYPE GetActions( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Write(
- /* [in] */ const void *pBuff,
- /* [in] */ ULONG cb,
- /* [out] */ ULONG *pcbWritten) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetRate(
- /* [out] */ long *pRateAdjust) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetVolume(
- /* [out] */ USHORT *pusVolume) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetSkipInfo(
- /* [out] */ SPVSKIPTYPE *peType,
- /* [out] */ long *plNumItems) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CompleteSkip(
- /* [in] */ long ulNumSkipped) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISpTTSEngineSiteVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISpTTSEngineSite * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISpTTSEngineSite * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISpTTSEngineSite * This);
-
- HRESULT ( STDMETHODCALLTYPE *AddEvents )(
- ISpTTSEngineSite * This,
- /* [in] */ const SPEVENT *pEventArray,
- /* [in] */ ULONG ulCount);
-
- HRESULT ( STDMETHODCALLTYPE *GetEventInterest )(
- ISpTTSEngineSite * This,
- /* [out] */ ULONGLONG *pullEventInterest);
-
- DWORD ( STDMETHODCALLTYPE *GetActions )(
- ISpTTSEngineSite * This);
-
- HRESULT ( STDMETHODCALLTYPE *Write )(
- ISpTTSEngineSite * This,
- /* [in] */ const void *pBuff,
- /* [in] */ ULONG cb,
- /* [out] */ ULONG *pcbWritten);
-
- HRESULT ( STDMETHODCALLTYPE *GetRate )(
- ISpTTSEngineSite * This,
- /* [out] */ long *pRateAdjust);
-
- HRESULT ( STDMETHODCALLTYPE *GetVolume )(
- ISpTTSEngineSite * This,
- /* [out] */ USHORT *pusVolume);
-
- HRESULT ( STDMETHODCALLTYPE *GetSkipInfo )(
- ISpTTSEngineSite * This,
- /* [out] */ SPVSKIPTYPE *peType,
- /* [out] */ long *plNumItems);
-
- HRESULT ( STDMETHODCALLTYPE *CompleteSkip )(
- ISpTTSEngineSite * This,
- /* [in] */ long ulNumSkipped);
-
- END_INTERFACE
- } ISpTTSEngineSiteVtbl;
- interface ISpTTSEngineSite
- {
- CONST_VTBL struct ISpTTSEngineSiteVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISpTTSEngineSite_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISpTTSEngineSite_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISpTTSEngineSite_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISpTTSEngineSite_AddEvents(This,pEventArray,ulCount)
- (This)->lpVtbl -> AddEvents(This,pEventArray,ulCount)
- #define ISpTTSEngineSite_GetEventInterest(This,pullEventInterest)
- (This)->lpVtbl -> GetEventInterest(This,pullEventInterest)
- #define ISpTTSEngineSite_GetActions(This)
- (This)->lpVtbl -> GetActions(This)
- #define ISpTTSEngineSite_Write(This,pBuff,cb,pcbWritten)
- (This)->lpVtbl -> Write(This,pBuff,cb,pcbWritten)
- #define ISpTTSEngineSite_GetRate(This,pRateAdjust)
- (This)->lpVtbl -> GetRate(This,pRateAdjust)
- #define ISpTTSEngineSite_GetVolume(This,pusVolume)
- (This)->lpVtbl -> GetVolume(This,pusVolume)
- #define ISpTTSEngineSite_GetSkipInfo(This,peType,plNumItems)
- (This)->lpVtbl -> GetSkipInfo(This,peType,plNumItems)
- #define ISpTTSEngineSite_CompleteSkip(This,ulNumSkipped)
- (This)->lpVtbl -> CompleteSkip(This,ulNumSkipped)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- DWORD STDMETHODCALLTYPE ISpTTSEngineSite_GetActions_Proxy(
- ISpTTSEngineSite * This);
- void __RPC_STUB ISpTTSEngineSite_GetActions_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpTTSEngineSite_Write_Proxy(
- ISpTTSEngineSite * This,
- /* [in] */ const void *pBuff,
- /* [in] */ ULONG cb,
- /* [out] */ ULONG *pcbWritten);
- void __RPC_STUB ISpTTSEngineSite_Write_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpTTSEngineSite_GetRate_Proxy(
- ISpTTSEngineSite * This,
- /* [out] */ long *pRateAdjust);
- void __RPC_STUB ISpTTSEngineSite_GetRate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpTTSEngineSite_GetVolume_Proxy(
- ISpTTSEngineSite * This,
- /* [out] */ USHORT *pusVolume);
- void __RPC_STUB ISpTTSEngineSite_GetVolume_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpTTSEngineSite_GetSkipInfo_Proxy(
- ISpTTSEngineSite * This,
- /* [out] */ SPVSKIPTYPE *peType,
- /* [out] */ long *plNumItems);
- void __RPC_STUB ISpTTSEngineSite_GetSkipInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISpTTSEngineSite_CompleteSkip_Proxy(
- ISpTTSEngineSite * This,
- /* [in] */ long ulNumSkipped);
- void __RPC_STUB ISpTTSEngineSite_CompleteSkip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISpTTSEngineSite_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_sapiddk_0347 */
- /* [local] */
- typedef struct SPVTEXTFRAG
- {
- struct SPVTEXTFRAG *pNext;
- SPVSTATE State;
- LPCWSTR pTextStart;
- ULONG ulTextLen;
- ULONG ulTextSrcOffset;
- } SPVTEXTFRAG;
- extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0347_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_sapiddk_0347_v0_0_s_ifspec;
- #ifndef __ISpTTSEngine_INTERFACE_DEFINED__
- #define __ISpTTSEngine_INTERFACE_DEFINED__
- /* interface ISpTTSEngine */
- /* [unique][helpstring][uuid][local][object] */
- EXTERN_C const IID IID_ISpTTSEngine;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("A74D7C8E-4CC5-4f2f-A6EB-804DEE18500E")
- ISpTTSEngine : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Speak(
- /* [in] */ DWORD dwSpeakFlags,
- /* [in] */ REFGUID rguidFormatId,
- /* [in] */ const WAVEFORMATEX *pWaveFormatEx,
- /* [in] */ const SPVTEXTFRAG *pTextFragList,
- /* [in] */ ISpTTSEngineSite *pOutputSite) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetOutputFormat(
- /* [in] */ const GUID *pTargetFmtId,
- /* [in] */ const WAVEFORMATEX *pTargetWaveFormatEx,
- /* [out] */ GUID *pOutputFormatId,
- /* [out] */ WAVEFORMATEX **ppCoMemOutputWaveFormatEx) = 0;
-