Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

259 lines
6.6 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for ctfspui.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __ctfspui_h__
  27. #define __ctfspui_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ITfSpeechUIServer_FWD_DEFINED__
  33. #define __ITfSpeechUIServer_FWD_DEFINED__
  34. typedef interface ITfSpeechUIServer ITfSpeechUIServer;
  35. #endif /* __ITfSpeechUIServer_FWD_DEFINED__ */
  36. /* header files for imported files */
  37. #include "oaidl.h"
  38. #include "ocidl.h"
  39. #include "msctf.h"
  40. #ifdef __cplusplus
  41. extern "C"{
  42. #endif
  43. void * __RPC_USER MIDL_user_allocate(size_t);
  44. void __RPC_USER MIDL_user_free( void * );
  45. /* interface __MIDL_itf_ctfspui_0000 */
  46. /* [local] */
  47. //=--------------------------------------------------------------------------=
  48. // ctfspui.h
  49. // Speech UI declarations.
  50. //=--------------------------------------------------------------------------=
  51. // (C) Copyright 1995-2001 Microsoft Corporation. All Rights Reserved.
  52. //
  53. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  54. // ANY KIND, EITHER EXPRESSED OR TFPLIED, INCLUDING BUT NOT LIMITED TO
  55. // THE TFPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  56. // PARTICULAR PURPOSE.
  57. //=--------------------------------------------------------------------------=
  58. #ifndef CTFSPUI_DEFINED
  59. #define CTFSPUI_DEFINED
  60. #include <windows.h>
  61. #ifdef __cplusplus
  62. extern "C" {
  63. #endif /* __cplusplus */
  64. #ifdef __cplusplus
  65. }
  66. #endif /* __cplusplus */
  67. EXTERN_C const CLSID CLSID_SpeechUIServer;
  68. extern RPC_IF_HANDLE __MIDL_itf_ctfspui_0000_v0_0_c_ifspec;
  69. extern RPC_IF_HANDLE __MIDL_itf_ctfspui_0000_v0_0_s_ifspec;
  70. #ifndef __ITfSpeechUIServer_INTERFACE_DEFINED__
  71. #define __ITfSpeechUIServer_INTERFACE_DEFINED__
  72. /* interface ITfSpeechUIServer */
  73. /* [unique][uuid][object] */
  74. EXTERN_C const IID IID_ITfSpeechUIServer;
  75. #if defined(__cplusplus) && !defined(CINTERFACE)
  76. MIDL_INTERFACE("90e9a944-9244-489f-a78f-de67afc013a7")
  77. ITfSpeechUIServer : public IUnknown
  78. {
  79. public:
  80. virtual HRESULT STDMETHODCALLTYPE Initialize( void) = 0;
  81. virtual HRESULT STDMETHODCALLTYPE ShowUI(
  82. /* [in] */ BOOL fShow) = 0;
  83. virtual HRESULT STDMETHODCALLTYPE UpdateBalloon(
  84. /* [in] */ TfLBBalloonStyle style,
  85. /* [size_is][in] */ const WCHAR *pch,
  86. /* [in] */ ULONG cch) = 0;
  87. };
  88. #else /* C style interface */
  89. typedef struct ITfSpeechUIServerVtbl
  90. {
  91. BEGIN_INTERFACE
  92. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  93. ITfSpeechUIServer * This,
  94. /* [in] */ REFIID riid,
  95. /* [iid_is][out] */ void **ppvObject);
  96. ULONG ( STDMETHODCALLTYPE *AddRef )(
  97. ITfSpeechUIServer * This);
  98. ULONG ( STDMETHODCALLTYPE *Release )(
  99. ITfSpeechUIServer * This);
  100. HRESULT ( STDMETHODCALLTYPE *Initialize )(
  101. ITfSpeechUIServer * This);
  102. HRESULT ( STDMETHODCALLTYPE *ShowUI )(
  103. ITfSpeechUIServer * This,
  104. /* [in] */ BOOL fShow);
  105. HRESULT ( STDMETHODCALLTYPE *UpdateBalloon )(
  106. ITfSpeechUIServer * This,
  107. /* [in] */ TfLBBalloonStyle style,
  108. /* [size_is][in] */ const WCHAR *pch,
  109. /* [in] */ ULONG cch);
  110. END_INTERFACE
  111. } ITfSpeechUIServerVtbl;
  112. interface ITfSpeechUIServer
  113. {
  114. CONST_VTBL struct ITfSpeechUIServerVtbl *lpVtbl;
  115. };
  116. #ifdef COBJMACROS
  117. #define ITfSpeechUIServer_QueryInterface(This,riid,ppvObject) \
  118. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  119. #define ITfSpeechUIServer_AddRef(This) \
  120. (This)->lpVtbl -> AddRef(This)
  121. #define ITfSpeechUIServer_Release(This) \
  122. (This)->lpVtbl -> Release(This)
  123. #define ITfSpeechUIServer_Initialize(This) \
  124. (This)->lpVtbl -> Initialize(This)
  125. #define ITfSpeechUIServer_ShowUI(This,fShow) \
  126. (This)->lpVtbl -> ShowUI(This,fShow)
  127. #define ITfSpeechUIServer_UpdateBalloon(This,style,pch,cch) \
  128. (This)->lpVtbl -> UpdateBalloon(This,style,pch,cch)
  129. #endif /* COBJMACROS */
  130. #endif /* C style interface */
  131. HRESULT STDMETHODCALLTYPE ITfSpeechUIServer_Initialize_Proxy(
  132. ITfSpeechUIServer * This);
  133. void __RPC_STUB ITfSpeechUIServer_Initialize_Stub(
  134. IRpcStubBuffer *This,
  135. IRpcChannelBuffer *_pRpcChannelBuffer,
  136. PRPC_MESSAGE _pRpcMessage,
  137. DWORD *_pdwStubPhase);
  138. HRESULT STDMETHODCALLTYPE ITfSpeechUIServer_ShowUI_Proxy(
  139. ITfSpeechUIServer * This,
  140. /* [in] */ BOOL fShow);
  141. void __RPC_STUB ITfSpeechUIServer_ShowUI_Stub(
  142. IRpcStubBuffer *This,
  143. IRpcChannelBuffer *_pRpcChannelBuffer,
  144. PRPC_MESSAGE _pRpcMessage,
  145. DWORD *_pdwStubPhase);
  146. HRESULT STDMETHODCALLTYPE ITfSpeechUIServer_UpdateBalloon_Proxy(
  147. ITfSpeechUIServer * This,
  148. /* [in] */ TfLBBalloonStyle style,
  149. /* [size_is][in] */ const WCHAR *pch,
  150. /* [in] */ ULONG cch);
  151. void __RPC_STUB ITfSpeechUIServer_UpdateBalloon_Stub(
  152. IRpcStubBuffer *This,
  153. IRpcChannelBuffer *_pRpcChannelBuffer,
  154. PRPC_MESSAGE _pRpcMessage,
  155. DWORD *_pdwStubPhase);
  156. #endif /* __ITfSpeechUIServer_INTERFACE_DEFINED__ */
  157. /* interface __MIDL_itf_ctfspui_0362 */
  158. /* [local] */
  159. DEFINE_GUID(IID_ITfSpeechUIServer, 0x90e9a944, 0x9244, 0x489f, 0xa7, 0x8f, 0xde, 0x67, 0xaf, 0xc0, 0x13, 0xa7 );
  160. #endif // CTFSPUI_DEFINED
  161. extern RPC_IF_HANDLE __MIDL_itf_ctfspui_0362_v0_0_c_ifspec;
  162. extern RPC_IF_HANDLE __MIDL_itf_ctfspui_0362_v0_0_s_ifspec;
  163. /* Additional Prototypes for ALL interfaces */
  164. /* end of Additional Prototypes */
  165. #ifdef __cplusplus
  166. }
  167. #endif
  168. #endif