AgtSvr.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:507k
源码类别:

模拟服务器

开发平台:

C/C++

  1. /**************************************************************************
  2. *                                                                         *
  3. * AgtSvr.h - Microsoft Agent Server                                       *
  4. *                                                                         *
  5. * Copyright (c) 1996-1999, Microsoft Corp. All rights reserved.           *
  6. *                                                                         *
  7. **************************************************************************/
  8. #if _MSC_VER < 1200
  9. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  10. /* File created by MIDL compiler version 3.01.75 */
  11. /* at Mon Aug 31 17:00:38 1998
  12.  */
  13. /* Compiler settings for AgentServer.idl:
  14.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  15.     error checks: none
  16. */
  17. //@@MIDL_FILE_HEADING(  )
  18. #include "rpc.h"
  19. #include "rpcndr.h"
  20. #ifndef COM_NO_WINDOWS_H
  21. #include "windows.h"
  22. #include "ole2.h"
  23. #endif /*COM_NO_WINDOWS_H*/
  24. #ifndef __AgtSvrV5_h__
  25. #define __AgtSvrV5_h__
  26. #ifdef __cplusplus
  27. extern "C"{
  28. #endif 
  29. /* Forward Declarations */ 
  30. #ifndef __IAgentUserInput_FWD_DEFINED__
  31. #define __IAgentUserInput_FWD_DEFINED__
  32. typedef interface IAgentUserInput IAgentUserInput;
  33. #endif  /* __IAgentUserInput_FWD_DEFINED__ */
  34. #ifndef __IAgentCommand_FWD_DEFINED__
  35. #define __IAgentCommand_FWD_DEFINED__
  36. typedef interface IAgentCommand IAgentCommand;
  37. #endif  /* __IAgentCommand_FWD_DEFINED__ */
  38. #ifndef __IAgentCommandEx_FWD_DEFINED__
  39. #define __IAgentCommandEx_FWD_DEFINED__
  40. typedef interface IAgentCommandEx IAgentCommandEx;
  41. #endif  /* __IAgentCommandEx_FWD_DEFINED__ */
  42. #ifndef __IAgentCommands_FWD_DEFINED__
  43. #define __IAgentCommands_FWD_DEFINED__
  44. typedef interface IAgentCommands IAgentCommands;
  45. #endif  /* __IAgentCommands_FWD_DEFINED__ */
  46. #ifndef __IAgentCommandsEx_FWD_DEFINED__
  47. #define __IAgentCommandsEx_FWD_DEFINED__
  48. typedef interface IAgentCommandsEx IAgentCommandsEx;
  49. #endif  /* __IAgentCommandsEx_FWD_DEFINED__ */
  50. #ifndef __IAgentCommandWindow_FWD_DEFINED__
  51. #define __IAgentCommandWindow_FWD_DEFINED__
  52. typedef interface IAgentCommandWindow IAgentCommandWindow;
  53. #endif  /* __IAgentCommandWindow_FWD_DEFINED__ */
  54. #ifndef __IAgentSpeechInputProperties_FWD_DEFINED__
  55. #define __IAgentSpeechInputProperties_FWD_DEFINED__
  56. typedef interface IAgentSpeechInputProperties IAgentSpeechInputProperties;
  57. #endif  /* __IAgentSpeechInputProperties_FWD_DEFINED__ */
  58. #ifndef __IAgentAudioOutputProperties_FWD_DEFINED__
  59. #define __IAgentAudioOutputProperties_FWD_DEFINED__
  60. typedef interface IAgentAudioOutputProperties IAgentAudioOutputProperties;
  61. #endif  /* __IAgentAudioOutputProperties_FWD_DEFINED__ */
  62. #ifndef __IAgentAudioOutputPropertiesEx_FWD_DEFINED__
  63. #define __IAgentAudioOutputPropertiesEx_FWD_DEFINED__
  64. typedef interface IAgentAudioOutputPropertiesEx IAgentAudioOutputPropertiesEx;
  65. #endif  /* __IAgentAudioOutputPropertiesEx_FWD_DEFINED__ */
  66. #ifndef __IAgentPropertySheet_FWD_DEFINED__
  67. #define __IAgentPropertySheet_FWD_DEFINED__
  68. typedef interface IAgentPropertySheet IAgentPropertySheet;
  69. #endif  /* __IAgentPropertySheet_FWD_DEFINED__ */
  70. #ifndef __IAgentBalloon_FWD_DEFINED__
  71. #define __IAgentBalloon_FWD_DEFINED__
  72. typedef interface IAgentBalloon IAgentBalloon;
  73. #endif  /* __IAgentBalloon_FWD_DEFINED__ */
  74. #ifndef __IAgentBalloonEx_FWD_DEFINED__
  75. #define __IAgentBalloonEx_FWD_DEFINED__
  76. typedef interface IAgentBalloonEx IAgentBalloonEx;
  77. #endif  /* __IAgentBalloonEx_FWD_DEFINED__ */
  78. #ifndef __IAgentCharacter_FWD_DEFINED__
  79. #define __IAgentCharacter_FWD_DEFINED__
  80. typedef interface IAgentCharacter IAgentCharacter;
  81. #endif  /* __IAgentCharacter_FWD_DEFINED__ */
  82. #ifndef __IAgentCharacterEx_FWD_DEFINED__
  83. #define __IAgentCharacterEx_FWD_DEFINED__
  84. typedef interface IAgentCharacterEx IAgentCharacterEx;
  85. #endif  /* __IAgentCharacterEx_FWD_DEFINED__ */
  86. #ifndef __IAgent_FWD_DEFINED__
  87. #define __IAgent_FWD_DEFINED__
  88. typedef interface IAgent IAgent;
  89. #endif  /* __IAgent_FWD_DEFINED__ */
  90. #ifndef __IAgentEx_FWD_DEFINED__
  91. #define __IAgentEx_FWD_DEFINED__
  92. typedef interface IAgentEx IAgentEx;
  93. #endif  /* __IAgentEx_FWD_DEFINED__ */
  94. #ifndef __IAgentNotifySink_FWD_DEFINED__
  95. #define __IAgentNotifySink_FWD_DEFINED__
  96. typedef interface IAgentNotifySink IAgentNotifySink;
  97. #endif  /* __IAgentNotifySink_FWD_DEFINED__ */
  98. #ifndef __IAgentNotifySinkEx_FWD_DEFINED__
  99. #define __IAgentNotifySinkEx_FWD_DEFINED__
  100. typedef interface IAgentNotifySinkEx IAgentNotifySinkEx;
  101. #endif  /* __IAgentNotifySinkEx_FWD_DEFINED__ */
  102. #ifndef __IAgentPrivateNotifySink_FWD_DEFINED__
  103. #define __IAgentPrivateNotifySink_FWD_DEFINED__
  104. typedef interface IAgentPrivateNotifySink IAgentPrivateNotifySink;
  105. #endif  /* __IAgentPrivateNotifySink_FWD_DEFINED__ */
  106. #ifndef __IAgentCustomMarshalMaker_FWD_DEFINED__
  107. #define __IAgentCustomMarshalMaker_FWD_DEFINED__
  108. typedef interface IAgentCustomMarshalMaker IAgentCustomMarshalMaker;
  109. #endif  /* __IAgentCustomMarshalMaker_FWD_DEFINED__ */
  110. #ifndef __IAgentClientStatus_FWD_DEFINED__
  111. #define __IAgentClientStatus_FWD_DEFINED__
  112. typedef interface IAgentClientStatus IAgentClientStatus;
  113. #endif  /* __IAgentClientStatus_FWD_DEFINED__ */
  114. #ifndef __AgentServer_FWD_DEFINED__
  115. #define __AgentServer_FWD_DEFINED__
  116. #ifdef __cplusplus
  117. typedef class AgentServer AgentServer;
  118. #else
  119. typedef struct AgentServer AgentServer;
  120. #endif /* __cplusplus */
  121. #endif  /* __AgentServer_FWD_DEFINED__ */
  122. #ifndef __IAgentUserInput_FWD_DEFINED__
  123. #define __IAgentUserInput_FWD_DEFINED__
  124. typedef interface IAgentUserInput IAgentUserInput;
  125. #endif  /* __IAgentUserInput_FWD_DEFINED__ */
  126. #ifndef __IAgentCommand_FWD_DEFINED__
  127. #define __IAgentCommand_FWD_DEFINED__
  128. typedef interface IAgentCommand IAgentCommand;
  129. #endif  /* __IAgentCommand_FWD_DEFINED__ */
  130. #ifndef __IAgentCommandEx_FWD_DEFINED__
  131. #define __IAgentCommandEx_FWD_DEFINED__
  132. typedef interface IAgentCommandEx IAgentCommandEx;
  133. #endif  /* __IAgentCommandEx_FWD_DEFINED__ */
  134. #ifndef __IAgentCommands_FWD_DEFINED__
  135. #define __IAgentCommands_FWD_DEFINED__
  136. typedef interface IAgentCommands IAgentCommands;
  137. #endif  /* __IAgentCommands_FWD_DEFINED__ */
  138. #ifndef __IAgentCommandsEx_FWD_DEFINED__
  139. #define __IAgentCommandsEx_FWD_DEFINED__
  140. typedef interface IAgentCommandsEx IAgentCommandsEx;
  141. #endif  /* __IAgentCommandsEx_FWD_DEFINED__ */
  142. #ifndef __IAgentSpeechInputProperties_FWD_DEFINED__
  143. #define __IAgentSpeechInputProperties_FWD_DEFINED__
  144. typedef interface IAgentSpeechInputProperties IAgentSpeechInputProperties;
  145. #endif  /* __IAgentSpeechInputProperties_FWD_DEFINED__ */
  146. #ifndef __IAgentAudioOutputProperties_FWD_DEFINED__
  147. #define __IAgentAudioOutputProperties_FWD_DEFINED__
  148. typedef interface IAgentAudioOutputProperties IAgentAudioOutputProperties;
  149. #endif  /* __IAgentAudioOutputProperties_FWD_DEFINED__ */
  150. #ifndef __IAgentAudioOutputPropertiesEx_FWD_DEFINED__
  151. #define __IAgentAudioOutputPropertiesEx_FWD_DEFINED__
  152. typedef interface IAgentAudioOutputPropertiesEx IAgentAudioOutputPropertiesEx;
  153. #endif  /* __IAgentAudioOutputPropertiesEx_FWD_DEFINED__ */
  154. #ifndef __IAgentPropertySheet_FWD_DEFINED__
  155. #define __IAgentPropertySheet_FWD_DEFINED__
  156. typedef interface IAgentPropertySheet IAgentPropertySheet;
  157. #endif  /* __IAgentPropertySheet_FWD_DEFINED__ */
  158. #ifndef __IAgentBalloon_FWD_DEFINED__
  159. #define __IAgentBalloon_FWD_DEFINED__
  160. typedef interface IAgentBalloon IAgentBalloon;
  161. #endif  /* __IAgentBalloon_FWD_DEFINED__ */
  162. #ifndef __IAgentBalloonEx_FWD_DEFINED__
  163. #define __IAgentBalloonEx_FWD_DEFINED__
  164. typedef interface IAgentBalloonEx IAgentBalloonEx;
  165. #endif  /* __IAgentBalloonEx_FWD_DEFINED__ */
  166. #ifndef __IAgentCharacter_FWD_DEFINED__
  167. #define __IAgentCharacter_FWD_DEFINED__
  168. typedef interface IAgentCharacter IAgentCharacter;
  169. #endif  /* __IAgentCharacter_FWD_DEFINED__ */
  170. #ifndef __IAgentCharacterEx_FWD_DEFINED__
  171. #define __IAgentCharacterEx_FWD_DEFINED__
  172. typedef interface IAgentCharacterEx IAgentCharacterEx;
  173. #endif  /* __IAgentCharacterEx_FWD_DEFINED__ */
  174. #ifndef __IAgent_FWD_DEFINED__
  175. #define __IAgent_FWD_DEFINED__
  176. typedef interface IAgent IAgent;
  177. #endif  /* __IAgent_FWD_DEFINED__ */
  178. #ifndef __IAgentEx_FWD_DEFINED__
  179. #define __IAgentEx_FWD_DEFINED__
  180. typedef interface IAgentEx IAgentEx;
  181. #endif  /* __IAgentEx_FWD_DEFINED__ */
  182. #ifndef __IAgentNotifySink_FWD_DEFINED__
  183. #define __IAgentNotifySink_FWD_DEFINED__
  184. typedef interface IAgentNotifySink IAgentNotifySink;
  185. #endif  /* __IAgentNotifySink_FWD_DEFINED__ */
  186. #ifndef __IAgentNotifySinkEx_FWD_DEFINED__
  187. #define __IAgentNotifySinkEx_FWD_DEFINED__
  188. typedef interface IAgentNotifySinkEx IAgentNotifySinkEx;
  189. #endif  /* __IAgentNotifySinkEx_FWD_DEFINED__ */
  190. #ifndef __IAgentCommandWindow_FWD_DEFINED__
  191. #define __IAgentCommandWindow_FWD_DEFINED__
  192. typedef interface IAgentCommandWindow IAgentCommandWindow;
  193. #endif  /* __IAgentCommandWindow_FWD_DEFINED__ */
  194. /* header files for imported files */
  195. #include "oaidl.h"
  196. #include "ocidl.h"
  197. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  198. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  199. /****************************************
  200.  * Generated header for interface: __MIDL_itf_AgentServer_0000
  201.  * at Mon Aug 31 17:00:38 1998
  202.  * using MIDL 3.01.75
  203.  ****************************************/
  204. /* [local] */ 
  205. #define NeverMoved ( 0 )
  206. #define UserMoved ( 1 )
  207. #define ProgramMoved ( 2 )
  208. #define OtherProgramMoved ( 3 )
  209. #define SystemMoved ( 4 )
  210. #define NeverShown ( 0 )
  211. #define UserHid ( 1 )
  212. #define UserShowed ( 2 )
  213. #define ProgramHid ( 3 )
  214. #define ProgramShowed ( 4 )
  215. #define OtherProgramHid ( 5 )
  216. #define OtherProgramShowed ( 6 )
  217. #define UserHidViaCharacterMenu ( 7 )
  218. #define UserHidViaTaskbarIcon ( UserHid )
  219. #define CSHELPCAUSE_COMMAND ( 1 )
  220. #define CSHELPCAUSE_OTHERPROGRAM ( 2 )
  221. #define CSHELPCAUSE_OPENCOMMANDSWINDOW ( 3 )
  222. #define CSHELPCAUSE_CLOSECOMMANDSWINDOW ( 4 )
  223. #define CSHELPCAUSE_SHOWCHARACTER ( 5 )
  224. #define CSHELPCAUSE_HIDECHARACTER ( 6 )
  225. #define CSHELPCAUSE_CHARACTER ( 7 )
  226. #define ACTIVATE_NOTTOPMOST ( 0 )
  227. #define ACTIVATE_TOPMOST ( 1 )
  228. #define ACTIVATE_NOTACTIVE ( 0 )
  229. #define ACTIVATE_ACTIVE ( 1 )
  230. #define ACTIVATE_INPUTACTIVE ( 2 )
  231. #define PREPARE_ANIMATION ( 0 )
  232. #define PREPARE_STATE ( 1 )
  233. #define PREPARE_WAVE ( 2 )
  234. #define STOP_TYPE_PLAY ( 0x1 )
  235. #define STOP_TYPE_MOVE ( 0x2 )
  236. #define STOP_TYPE_SPEAK ( 0x4 )
  237. #define STOP_TYPE_PREPARE ( 0x8 )
  238. #define STOP_TYPE_NONQUEUEDPREPARE ( 0x10 )
  239. #define STOP_TYPE_VISIBLE ( 0x20 )
  240. #define STOP_TYPE_ALL ( 0xffffffff )
  241. #define BALLOON_STYLE_BALLOON_ON ( 0x1 )
  242. #define BALLOON_STYLE_SIZETOTEXT ( 0x2 )
  243. #define BALLOON_STYLE_AUTOHIDE ( 0x4 )
  244. #define BALLOON_STYLE_AUTOPACE ( 0x8 )
  245. #define AUDIO_STATUS_AVAILABLE ( 0 )
  246. #define AUDIO_STATUS_NOAUDIO ( 1 )
  247. #define AUDIO_STATUS_CANTOPENAUDIO ( 2 )
  248. #define AUDIO_STATUS_USERSPEAKING ( 3 )
  249. #define AUDIO_STATUS_CHARACTERSPEAKING ( 4 )
  250. #define AUDIO_STATUS_SROVERRIDEABLE ( 5 )
  251. #define AUDIO_STATUS_ERROR ( 6 )
  252. #define LISTEN_STATUS_CANLISTEN ( 0 )
  253. #define LISTEN_STATUS_NOAUDIO ( 1 )
  254. #define LISTEN_STATUS_NOTACTIVE ( 2 )
  255. #define LISTEN_STATUS_CANTOPENAUDIO ( 3 )
  256. #define LISTEN_STATUS_COULDNTINITIALIZESPEECH ( 4 )
  257. #define LISTEN_STATUS_SPEECHDISABLED ( 5 )
  258. #define LISTEN_STATUS_ERROR ( 6 )
  259. #define MK_ICON ( 0x1000 )
  260. #define LSCOMPLETE_CAUSE_PROGRAMDISABLED ( 1 )
  261. #define LSCOMPLETE_CAUSE_PROGRAMTIMEDOUT ( 2 )
  262. #define LSCOMPLETE_CAUSE_USERTIMEDOUT ( 3 )
  263. #define LSCOMPLETE_CAUSE_USERRELEASEDKEY ( 4 )
  264. #define LSCOMPLETE_CAUSE_USERUTTERANCEENDED ( 5 )
  265. #define LSCOMPLETE_CAUSE_CLIENTDEACTIVATED ( 6 )
  266. #define LSCOMPLETE_CAUSE_DEFAULTCHARCHANGE ( 7 )
  267. #define LSCOMPLETE_CAUSE_USERDISABLED ( 8 )
  268. extern RPC_IF_HANDLE __MIDL_itf_AgentServer_0000_v0_0_c_ifspec;
  269. extern RPC_IF_HANDLE __MIDL_itf_AgentServer_0000_v0_0_s_ifspec;
  270. #ifndef __IAgentUserInput_INTERFACE_DEFINED__
  271. #define __IAgentUserInput_INTERFACE_DEFINED__
  272. /****************************************
  273.  * Generated header for interface: IAgentUserInput
  274.  * at Mon Aug 31 17:00:38 1998
  275.  * using MIDL 3.01.75
  276.  ****************************************/
  277. /* [unique][helpstring][dual][uuid][object] */ 
  278. EXTERN_C const IID IID_IAgentUserInput;
  279. #if defined(__cplusplus) && !defined(CINTERFACE)
  280.     
  281.     interface DECLSPEC_UUID("A7B93C80-7B81-11D0-AC5F-00C04FD97575")
  282.     IAgentUserInput : public IDispatch
  283.     {
  284.     public:
  285.         virtual HRESULT STDMETHODCALLTYPE GetCount( 
  286.             /* [out] */ long __RPC_FAR *pdwCount) = 0;
  287.         
  288.         virtual HRESULT STDMETHODCALLTYPE GetItemID( 
  289.             /* [in] */ long dwItemIndex,
  290.             /* [out] */ long __RPC_FAR *pdwCommandID) = 0;
  291.         
  292.         virtual HRESULT STDMETHODCALLTYPE GetItemConfidence( 
  293.             /* [in] */ long dwItemIndex,
  294.             /* [out] */ long __RPC_FAR *plConfidence) = 0;
  295.         
  296.         virtual HRESULT STDMETHODCALLTYPE GetItemText( 
  297.             /* [in] */ long dwItemIndex,
  298.             /* [out] */ BSTR __RPC_FAR *pbszText) = 0;
  299.         
  300.         virtual HRESULT STDMETHODCALLTYPE GetAllItemData( 
  301.             /* [out] */ VARIANT __RPC_FAR *pdwItemIndices,
  302.             /* [out] */ VARIANT __RPC_FAR *plConfidences,
  303.             /* [out] */ VARIANT __RPC_FAR *pbszText) = 0;
  304.         
  305.     };
  306.     
  307. #else  /* C style interface */
  308.     typedef struct IAgentUserInputVtbl
  309.     {
  310.         BEGIN_INTERFACE
  311.         
  312.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  313.             IAgentUserInput __RPC_FAR * This,
  314.             /* [in] */ REFIID riid,
  315.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  316.         
  317.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  318.             IAgentUserInput __RPC_FAR * This);
  319.         
  320.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  321.             IAgentUserInput __RPC_FAR * This);
  322.         
  323.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  324.             IAgentUserInput __RPC_FAR * This,
  325.             /* [out] */ UINT __RPC_FAR *pctinfo);
  326.         
  327.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  328.             IAgentUserInput __RPC_FAR * This,
  329.             /* [in] */ UINT iTInfo,
  330.             /* [in] */ LCID lcid,
  331.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  332.         
  333.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  334.             IAgentUserInput __RPC_FAR * This,
  335.             /* [in] */ REFIID riid,
  336.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  337.             /* [in] */ UINT cNames,
  338.             /* [in] */ LCID lcid,
  339.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  340.         
  341.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  342.             IAgentUserInput __RPC_FAR * This,
  343.             /* [in] */ DISPID dispIdMember,
  344.             /* [in] */ REFIID riid,
  345.             /* [in] */ LCID lcid,
  346.             /* [in] */ WORD wFlags,
  347.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  348.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  349.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  350.             /* [out] */ UINT __RPC_FAR *puArgErr);
  351.         
  352.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCount )( 
  353.             IAgentUserInput __RPC_FAR * This,
  354.             /* [out] */ long __RPC_FAR *pdwCount);
  355.         
  356.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetItemID )( 
  357.             IAgentUserInput __RPC_FAR * This,
  358.             /* [in] */ long dwItemIndex,
  359.             /* [out] */ long __RPC_FAR *pdwCommandID);
  360.         
  361.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetItemConfidence )( 
  362.             IAgentUserInput __RPC_FAR * This,
  363.             /* [in] */ long dwItemIndex,
  364.             /* [out] */ long __RPC_FAR *plConfidence);
  365.         
  366.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetItemText )( 
  367.             IAgentUserInput __RPC_FAR * This,
  368.             /* [in] */ long dwItemIndex,
  369.             /* [out] */ BSTR __RPC_FAR *pbszText);
  370.         
  371.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAllItemData )( 
  372.             IAgentUserInput __RPC_FAR * This,
  373.             /* [out] */ VARIANT __RPC_FAR *pdwItemIndices,
  374.             /* [out] */ VARIANT __RPC_FAR *plConfidences,
  375.             /* [out] */ VARIANT __RPC_FAR *pbszText);
  376.         
  377.         END_INTERFACE
  378.     } IAgentUserInputVtbl;
  379.     interface IAgentUserInput
  380.     {
  381.         CONST_VTBL struct IAgentUserInputVtbl __RPC_FAR *lpVtbl;
  382.     };
  383.     
  384. #ifdef COBJMACROS
  385. #define IAgentUserInput_QueryInterface(This,riid,ppvObject)
  386.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  387. #define IAgentUserInput_AddRef(This)
  388.     (This)->lpVtbl -> AddRef(This)
  389. #define IAgentUserInput_Release(This)
  390.     (This)->lpVtbl -> Release(This)
  391. #define IAgentUserInput_GetTypeInfoCount(This,pctinfo)
  392.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  393. #define IAgentUserInput_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  394.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  395. #define IAgentUserInput_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  396.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  397. #define IAgentUserInput_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  398.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  399. #define IAgentUserInput_GetCount(This,pdwCount)
  400.     (This)->lpVtbl -> GetCount(This,pdwCount)
  401. #define IAgentUserInput_GetItemID(This,dwItemIndex,pdwCommandID)
  402.     (This)->lpVtbl -> GetItemID(This,dwItemIndex,pdwCommandID)
  403. #define IAgentUserInput_GetItemConfidence(This,dwItemIndex,plConfidence)
  404.     (This)->lpVtbl -> GetItemConfidence(This,dwItemIndex,plConfidence)
  405. #define IAgentUserInput_GetItemText(This,dwItemIndex,pbszText)
  406.     (This)->lpVtbl -> GetItemText(This,dwItemIndex,pbszText)
  407. #define IAgentUserInput_GetAllItemData(This,pdwItemIndices,plConfidences,pbszText)
  408.     (This)->lpVtbl -> GetAllItemData(This,pdwItemIndices,plConfidences,pbszText)
  409. #endif /* COBJMACROS */
  410. #endif  /* C style interface */
  411. HRESULT STDMETHODCALLTYPE IAgentUserInput_GetCount_Proxy( 
  412.     IAgentUserInput __RPC_FAR * This,
  413.     /* [out] */ long __RPC_FAR *pdwCount);
  414. void __RPC_STUB IAgentUserInput_GetCount_Stub(
  415.     IRpcStubBuffer *This,
  416.     IRpcChannelBuffer *_pRpcChannelBuffer,
  417.     PRPC_MESSAGE _pRpcMessage,
  418.     DWORD *_pdwStubPhase);
  419. HRESULT STDMETHODCALLTYPE IAgentUserInput_GetItemID_Proxy( 
  420.     IAgentUserInput __RPC_FAR * This,
  421.     /* [in] */ long dwItemIndex,
  422.     /* [out] */ long __RPC_FAR *pdwCommandID);
  423. void __RPC_STUB IAgentUserInput_GetItemID_Stub(
  424.     IRpcStubBuffer *This,
  425.     IRpcChannelBuffer *_pRpcChannelBuffer,
  426.     PRPC_MESSAGE _pRpcMessage,
  427.     DWORD *_pdwStubPhase);
  428. HRESULT STDMETHODCALLTYPE IAgentUserInput_GetItemConfidence_Proxy( 
  429.     IAgentUserInput __RPC_FAR * This,
  430.     /* [in] */ long dwItemIndex,
  431.     /* [out] */ long __RPC_FAR *plConfidence);
  432. void __RPC_STUB IAgentUserInput_GetItemConfidence_Stub(
  433.     IRpcStubBuffer *This,
  434.     IRpcChannelBuffer *_pRpcChannelBuffer,
  435.     PRPC_MESSAGE _pRpcMessage,
  436.     DWORD *_pdwStubPhase);
  437. HRESULT STDMETHODCALLTYPE IAgentUserInput_GetItemText_Proxy( 
  438.     IAgentUserInput __RPC_FAR * This,
  439.     /* [in] */ long dwItemIndex,
  440.     /* [out] */ BSTR __RPC_FAR *pbszText);
  441. void __RPC_STUB IAgentUserInput_GetItemText_Stub(
  442.     IRpcStubBuffer *This,
  443.     IRpcChannelBuffer *_pRpcChannelBuffer,
  444.     PRPC_MESSAGE _pRpcMessage,
  445.     DWORD *_pdwStubPhase);
  446. HRESULT STDMETHODCALLTYPE IAgentUserInput_GetAllItemData_Proxy( 
  447.     IAgentUserInput __RPC_FAR * This,
  448.     /* [out] */ VARIANT __RPC_FAR *pdwItemIndices,
  449.     /* [out] */ VARIANT __RPC_FAR *plConfidences,
  450.     /* [out] */ VARIANT __RPC_FAR *pbszText);
  451. void __RPC_STUB IAgentUserInput_GetAllItemData_Stub(
  452.     IRpcStubBuffer *This,
  453.     IRpcChannelBuffer *_pRpcChannelBuffer,
  454.     PRPC_MESSAGE _pRpcMessage,
  455.     DWORD *_pdwStubPhase);
  456. #endif  /* __IAgentUserInput_INTERFACE_DEFINED__ */
  457. #ifndef __IAgentCommand_INTERFACE_DEFINED__
  458. #define __IAgentCommand_INTERFACE_DEFINED__
  459. /****************************************
  460.  * Generated header for interface: IAgentCommand
  461.  * at Mon Aug 31 17:00:38 1998
  462.  * using MIDL 3.01.75
  463.  ****************************************/
  464. /* [unique][helpstring][dual][uuid][object] */ 
  465. EXTERN_C const IID IID_IAgentCommand;
  466. #if defined(__cplusplus) && !defined(CINTERFACE)
  467.     
  468.     interface DECLSPEC_UUID("A7B93C83-7B81-11D0-AC5F-00C04FD97575")
  469.     IAgentCommand : public IDispatch
  470.     {
  471.     public:
  472.         virtual HRESULT STDMETHODCALLTYPE SetCaption( 
  473.             /* [in] */ BSTR bszCaption) = 0;
  474.         
  475.         virtual HRESULT STDMETHODCALLTYPE GetCaption( 
  476.             /* [out] */ BSTR __RPC_FAR *pbszCaption) = 0;
  477.         
  478.         virtual HRESULT STDMETHODCALLTYPE SetVoice( 
  479.             /* [in] */ BSTR bszVoice) = 0;
  480.         
  481.         virtual HRESULT STDMETHODCALLTYPE GetVoice( 
  482.             /* [out] */ BSTR __RPC_FAR *pbszVoice) = 0;
  483.         
  484.         virtual HRESULT STDMETHODCALLTYPE SetEnabled( 
  485.             /* [in] */ long bEnabled) = 0;
  486.         
  487.         virtual HRESULT STDMETHODCALLTYPE GetEnabled( 
  488.             /* [out] */ long __RPC_FAR *pbEnabled) = 0;
  489.         
  490.         virtual HRESULT STDMETHODCALLTYPE SetVisible( 
  491.             /* [in] */ long bVisible) = 0;
  492.         
  493.         virtual HRESULT STDMETHODCALLTYPE GetVisible( 
  494.             /* [out] */ long __RPC_FAR *pbVisible) = 0;
  495.         
  496.         virtual HRESULT STDMETHODCALLTYPE SetConfidenceThreshold( 
  497.             /* [in] */ long lThreshold) = 0;
  498.         
  499.         virtual HRESULT STDMETHODCALLTYPE GetConfidenceThreshold( 
  500.             /* [out] */ long __RPC_FAR *plThreshold) = 0;
  501.         
  502.         virtual HRESULT STDMETHODCALLTYPE SetConfidenceText( 
  503.             /* [in] */ BSTR bszTipText) = 0;
  504.         
  505.         virtual HRESULT STDMETHODCALLTYPE GetConfidenceText( 
  506.             /* [out] */ BSTR __RPC_FAR *pbszTipText) = 0;
  507.         
  508.         virtual HRESULT STDMETHODCALLTYPE GetID( 
  509.             /* [out] */ long __RPC_FAR *pdwID) = 0;
  510.         
  511.     };
  512.     
  513. #else  /* C style interface */
  514.     typedef struct IAgentCommandVtbl
  515.     {
  516.         BEGIN_INTERFACE
  517.         
  518.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  519.             IAgentCommand __RPC_FAR * This,
  520.             /* [in] */ REFIID riid,
  521.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  522.         
  523.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  524.             IAgentCommand __RPC_FAR * This);
  525.         
  526.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  527.             IAgentCommand __RPC_FAR * This);
  528.         
  529.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  530.             IAgentCommand __RPC_FAR * This,
  531.             /* [out] */ UINT __RPC_FAR *pctinfo);
  532.         
  533.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  534.             IAgentCommand __RPC_FAR * This,
  535.             /* [in] */ UINT iTInfo,
  536.             /* [in] */ LCID lcid,
  537.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  538.         
  539.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  540.             IAgentCommand __RPC_FAR * This,
  541.             /* [in] */ REFIID riid,
  542.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  543.             /* [in] */ UINT cNames,
  544.             /* [in] */ LCID lcid,
  545.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  546.         
  547.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  548.             IAgentCommand __RPC_FAR * This,
  549.             /* [in] */ DISPID dispIdMember,
  550.             /* [in] */ REFIID riid,
  551.             /* [in] */ LCID lcid,
  552.             /* [in] */ WORD wFlags,
  553.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  554.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  555.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  556.             /* [out] */ UINT __RPC_FAR *puArgErr);
  557.         
  558.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetCaption )( 
  559.             IAgentCommand __RPC_FAR * This,
  560.             /* [in] */ BSTR bszCaption);
  561.         
  562.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCaption )( 
  563.             IAgentCommand __RPC_FAR * This,
  564.             /* [out] */ BSTR __RPC_FAR *pbszCaption);
  565.         
  566.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVoice )( 
  567.             IAgentCommand __RPC_FAR * This,
  568.             /* [in] */ BSTR bszVoice);
  569.         
  570.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVoice )( 
  571.             IAgentCommand __RPC_FAR * This,
  572.             /* [out] */ BSTR __RPC_FAR *pbszVoice);
  573.         
  574.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetEnabled )( 
  575.             IAgentCommand __RPC_FAR * This,
  576.             /* [in] */ long bEnabled);
  577.         
  578.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )( 
  579.             IAgentCommand __RPC_FAR * This,
  580.             /* [out] */ long __RPC_FAR *pbEnabled);
  581.         
  582.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )( 
  583.             IAgentCommand __RPC_FAR * This,
  584.             /* [in] */ long bVisible);
  585.         
  586.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )( 
  587.             IAgentCommand __RPC_FAR * This,
  588.             /* [out] */ long __RPC_FAR *pbVisible);
  589.         
  590.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetConfidenceThreshold )( 
  591.             IAgentCommand __RPC_FAR * This,
  592.             /* [in] */ long lThreshold);
  593.         
  594.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetConfidenceThreshold )( 
  595.             IAgentCommand __RPC_FAR * This,
  596.             /* [out] */ long __RPC_FAR *plThreshold);
  597.         
  598.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetConfidenceText )( 
  599.             IAgentCommand __RPC_FAR * This,
  600.             /* [in] */ BSTR bszTipText);
  601.         
  602.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetConfidenceText )( 
  603.             IAgentCommand __RPC_FAR * This,
  604.             /* [out] */ BSTR __RPC_FAR *pbszTipText);
  605.         
  606.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetID )( 
  607.             IAgentCommand __RPC_FAR * This,
  608.             /* [out] */ long __RPC_FAR *pdwID);
  609.         
  610.         END_INTERFACE
  611.     } IAgentCommandVtbl;
  612.     interface IAgentCommand
  613.     {
  614.         CONST_VTBL struct IAgentCommandVtbl __RPC_FAR *lpVtbl;
  615.     };
  616.     
  617. #ifdef COBJMACROS
  618. #define IAgentCommand_QueryInterface(This,riid,ppvObject)
  619.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  620. #define IAgentCommand_AddRef(This)
  621.     (This)->lpVtbl -> AddRef(This)
  622. #define IAgentCommand_Release(This)
  623.     (This)->lpVtbl -> Release(This)
  624. #define IAgentCommand_GetTypeInfoCount(This,pctinfo)
  625.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  626. #define IAgentCommand_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  627.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  628. #define IAgentCommand_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  629.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  630. #define IAgentCommand_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  631.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  632. #define IAgentCommand_SetCaption(This,bszCaption)
  633.     (This)->lpVtbl -> SetCaption(This,bszCaption)
  634. #define IAgentCommand_GetCaption(This,pbszCaption)
  635.     (This)->lpVtbl -> GetCaption(This,pbszCaption)
  636. #define IAgentCommand_SetVoice(This,bszVoice)
  637.     (This)->lpVtbl -> SetVoice(This,bszVoice)
  638. #define IAgentCommand_GetVoice(This,pbszVoice)
  639.     (This)->lpVtbl -> GetVoice(This,pbszVoice)
  640. #define IAgentCommand_SetEnabled(This,bEnabled)
  641.     (This)->lpVtbl -> SetEnabled(This,bEnabled)
  642. #define IAgentCommand_GetEnabled(This,pbEnabled)
  643.     (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  644. #define IAgentCommand_SetVisible(This,bVisible)
  645.     (This)->lpVtbl -> SetVisible(This,bVisible)
  646. #define IAgentCommand_GetVisible(This,pbVisible)
  647.     (This)->lpVtbl -> GetVisible(This,pbVisible)
  648. #define IAgentCommand_SetConfidenceThreshold(This,lThreshold)
  649.     (This)->lpVtbl -> SetConfidenceThreshold(This,lThreshold)
  650. #define IAgentCommand_GetConfidenceThreshold(This,plThreshold)
  651.     (This)->lpVtbl -> GetConfidenceThreshold(This,plThreshold)
  652. #define IAgentCommand_SetConfidenceText(This,bszTipText)
  653.     (This)->lpVtbl -> SetConfidenceText(This,bszTipText)
  654. #define IAgentCommand_GetConfidenceText(This,pbszTipText)
  655.     (This)->lpVtbl -> GetConfidenceText(This,pbszTipText)
  656. #define IAgentCommand_GetID(This,pdwID)
  657.     (This)->lpVtbl -> GetID(This,pdwID)
  658. #endif /* COBJMACROS */
  659. #endif  /* C style interface */
  660. HRESULT STDMETHODCALLTYPE IAgentCommand_SetCaption_Proxy( 
  661.     IAgentCommand __RPC_FAR * This,
  662.     /* [in] */ BSTR bszCaption);
  663. void __RPC_STUB IAgentCommand_SetCaption_Stub(
  664.     IRpcStubBuffer *This,
  665.     IRpcChannelBuffer *_pRpcChannelBuffer,
  666.     PRPC_MESSAGE _pRpcMessage,
  667.     DWORD *_pdwStubPhase);
  668. HRESULT STDMETHODCALLTYPE IAgentCommand_GetCaption_Proxy( 
  669.     IAgentCommand __RPC_FAR * This,
  670.     /* [out] */ BSTR __RPC_FAR *pbszCaption);
  671. void __RPC_STUB IAgentCommand_GetCaption_Stub(
  672.     IRpcStubBuffer *This,
  673.     IRpcChannelBuffer *_pRpcChannelBuffer,
  674.     PRPC_MESSAGE _pRpcMessage,
  675.     DWORD *_pdwStubPhase);
  676. HRESULT STDMETHODCALLTYPE IAgentCommand_SetVoice_Proxy( 
  677.     IAgentCommand __RPC_FAR * This,
  678.     /* [in] */ BSTR bszVoice);
  679. void __RPC_STUB IAgentCommand_SetVoice_Stub(
  680.     IRpcStubBuffer *This,
  681.     IRpcChannelBuffer *_pRpcChannelBuffer,
  682.     PRPC_MESSAGE _pRpcMessage,
  683.     DWORD *_pdwStubPhase);
  684. HRESULT STDMETHODCALLTYPE IAgentCommand_GetVoice_Proxy( 
  685.     IAgentCommand __RPC_FAR * This,
  686.     /* [out] */ BSTR __RPC_FAR *pbszVoice);
  687. void __RPC_STUB IAgentCommand_GetVoice_Stub(
  688.     IRpcStubBuffer *This,
  689.     IRpcChannelBuffer *_pRpcChannelBuffer,
  690.     PRPC_MESSAGE _pRpcMessage,
  691.     DWORD *_pdwStubPhase);
  692. HRESULT STDMETHODCALLTYPE IAgentCommand_SetEnabled_Proxy( 
  693.     IAgentCommand __RPC_FAR * This,
  694.     /* [in] */ long bEnabled);
  695. void __RPC_STUB IAgentCommand_SetEnabled_Stub(
  696.     IRpcStubBuffer *This,
  697.     IRpcChannelBuffer *_pRpcChannelBuffer,
  698.     PRPC_MESSAGE _pRpcMessage,
  699.     DWORD *_pdwStubPhase);
  700. HRESULT STDMETHODCALLTYPE IAgentCommand_GetEnabled_Proxy( 
  701.     IAgentCommand __RPC_FAR * This,
  702.     /* [out] */ long __RPC_FAR *pbEnabled);
  703. void __RPC_STUB IAgentCommand_GetEnabled_Stub(
  704.     IRpcStubBuffer *This,
  705.     IRpcChannelBuffer *_pRpcChannelBuffer,
  706.     PRPC_MESSAGE _pRpcMessage,
  707.     DWORD *_pdwStubPhase);
  708. HRESULT STDMETHODCALLTYPE IAgentCommand_SetVisible_Proxy( 
  709.     IAgentCommand __RPC_FAR * This,
  710.     /* [in] */ long bVisible);
  711. void __RPC_STUB IAgentCommand_SetVisible_Stub(
  712.     IRpcStubBuffer *This,
  713.     IRpcChannelBuffer *_pRpcChannelBuffer,
  714.     PRPC_MESSAGE _pRpcMessage,
  715.     DWORD *_pdwStubPhase);
  716. HRESULT STDMETHODCALLTYPE IAgentCommand_GetVisible_Proxy( 
  717.     IAgentCommand __RPC_FAR * This,
  718.     /* [out] */ long __RPC_FAR *pbVisible);
  719. void __RPC_STUB IAgentCommand_GetVisible_Stub(
  720.     IRpcStubBuffer *This,
  721.     IRpcChannelBuffer *_pRpcChannelBuffer,
  722.     PRPC_MESSAGE _pRpcMessage,
  723.     DWORD *_pdwStubPhase);
  724. HRESULT STDMETHODCALLTYPE IAgentCommand_SetConfidenceThreshold_Proxy( 
  725.     IAgentCommand __RPC_FAR * This,
  726.     /* [in] */ long lThreshold);
  727. void __RPC_STUB IAgentCommand_SetConfidenceThreshold_Stub(
  728.     IRpcStubBuffer *This,
  729.     IRpcChannelBuffer *_pRpcChannelBuffer,
  730.     PRPC_MESSAGE _pRpcMessage,
  731.     DWORD *_pdwStubPhase);
  732. HRESULT STDMETHODCALLTYPE IAgentCommand_GetConfidenceThreshold_Proxy( 
  733.     IAgentCommand __RPC_FAR * This,
  734.     /* [out] */ long __RPC_FAR *plThreshold);
  735. void __RPC_STUB IAgentCommand_GetConfidenceThreshold_Stub(
  736.     IRpcStubBuffer *This,
  737.     IRpcChannelBuffer *_pRpcChannelBuffer,
  738.     PRPC_MESSAGE _pRpcMessage,
  739.     DWORD *_pdwStubPhase);
  740. HRESULT STDMETHODCALLTYPE IAgentCommand_SetConfidenceText_Proxy( 
  741.     IAgentCommand __RPC_FAR * This,
  742.     /* [in] */ BSTR bszTipText);
  743. void __RPC_STUB IAgentCommand_SetConfidenceText_Stub(
  744.     IRpcStubBuffer *This,
  745.     IRpcChannelBuffer *_pRpcChannelBuffer,
  746.     PRPC_MESSAGE _pRpcMessage,
  747.     DWORD *_pdwStubPhase);
  748. HRESULT STDMETHODCALLTYPE IAgentCommand_GetConfidenceText_Proxy( 
  749.     IAgentCommand __RPC_FAR * This,
  750.     /* [out] */ BSTR __RPC_FAR *pbszTipText);
  751. void __RPC_STUB IAgentCommand_GetConfidenceText_Stub(
  752.     IRpcStubBuffer *This,
  753.     IRpcChannelBuffer *_pRpcChannelBuffer,
  754.     PRPC_MESSAGE _pRpcMessage,
  755.     DWORD *_pdwStubPhase);
  756. HRESULT STDMETHODCALLTYPE IAgentCommand_GetID_Proxy( 
  757.     IAgentCommand __RPC_FAR * This,
  758.     /* [out] */ long __RPC_FAR *pdwID);
  759. void __RPC_STUB IAgentCommand_GetID_Stub(
  760.     IRpcStubBuffer *This,
  761.     IRpcChannelBuffer *_pRpcChannelBuffer,
  762.     PRPC_MESSAGE _pRpcMessage,
  763.     DWORD *_pdwStubPhase);
  764. #endif  /* __IAgentCommand_INTERFACE_DEFINED__ */
  765. #ifndef __IAgentCommandEx_INTERFACE_DEFINED__
  766. #define __IAgentCommandEx_INTERFACE_DEFINED__
  767. /****************************************
  768.  * Generated header for interface: IAgentCommandEx
  769.  * at Mon Aug 31 17:00:38 1998
  770.  * using MIDL 3.01.75
  771.  ****************************************/
  772. /* [unique][helpstring][dual][uuid][object] */ 
  773. EXTERN_C const IID IID_IAgentCommandEx;
  774. #if defined(__cplusplus) && !defined(CINTERFACE)
  775.     
  776.     interface DECLSPEC_UUID("B0913412-3B44-11d1-ACBA-00C04FD97575")
  777.     IAgentCommandEx : public IAgentCommand
  778.     {
  779.     public:
  780.         virtual HRESULT STDMETHODCALLTYPE SetHelpContextID( 
  781.             /* [in] */ long ulID) = 0;
  782.         
  783.         virtual HRESULT STDMETHODCALLTYPE GetHelpContextID( 
  784.             /* [out] */ long __RPC_FAR *pulID) = 0;
  785.         
  786.         virtual HRESULT STDMETHODCALLTYPE SetVoiceCaption( 
  787.             /* [in] */ BSTR bszVoiceCaption) = 0;
  788.         
  789.         virtual HRESULT STDMETHODCALLTYPE GetVoiceCaption( 
  790.             /* [out] */ BSTR __RPC_FAR *pbszVoiceCaption) = 0;
  791.         
  792.     };
  793.     
  794. #else  /* C style interface */
  795.     typedef struct IAgentCommandExVtbl
  796.     {
  797.         BEGIN_INTERFACE
  798.         
  799.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  800.             IAgentCommandEx __RPC_FAR * This,
  801.             /* [in] */ REFIID riid,
  802.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  803.         
  804.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  805.             IAgentCommandEx __RPC_FAR * This);
  806.         
  807.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  808.             IAgentCommandEx __RPC_FAR * This);
  809.         
  810.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  811.             IAgentCommandEx __RPC_FAR * This,
  812.             /* [out] */ UINT __RPC_FAR *pctinfo);
  813.         
  814.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  815.             IAgentCommandEx __RPC_FAR * This,
  816.             /* [in] */ UINT iTInfo,
  817.             /* [in] */ LCID lcid,
  818.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  819.         
  820.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  821.             IAgentCommandEx __RPC_FAR * This,
  822.             /* [in] */ REFIID riid,
  823.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  824.             /* [in] */ UINT cNames,
  825.             /* [in] */ LCID lcid,
  826.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  827.         
  828.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  829.             IAgentCommandEx __RPC_FAR * This,
  830.             /* [in] */ DISPID dispIdMember,
  831.             /* [in] */ REFIID riid,
  832.             /* [in] */ LCID lcid,
  833.             /* [in] */ WORD wFlags,
  834.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  835.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  836.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  837.             /* [out] */ UINT __RPC_FAR *puArgErr);
  838.         
  839.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetCaption )( 
  840.             IAgentCommandEx __RPC_FAR * This,
  841.             /* [in] */ BSTR bszCaption);
  842.         
  843.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCaption )( 
  844.             IAgentCommandEx __RPC_FAR * This,
  845.             /* [out] */ BSTR __RPC_FAR *pbszCaption);
  846.         
  847.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVoice )( 
  848.             IAgentCommandEx __RPC_FAR * This,
  849.             /* [in] */ BSTR bszVoice);
  850.         
  851.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVoice )( 
  852.             IAgentCommandEx __RPC_FAR * This,
  853.             /* [out] */ BSTR __RPC_FAR *pbszVoice);
  854.         
  855.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetEnabled )( 
  856.             IAgentCommandEx __RPC_FAR * This,
  857.             /* [in] */ long bEnabled);
  858.         
  859.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )( 
  860.             IAgentCommandEx __RPC_FAR * This,
  861.             /* [out] */ long __RPC_FAR *pbEnabled);
  862.         
  863.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )( 
  864.             IAgentCommandEx __RPC_FAR * This,
  865.             /* [in] */ long bVisible);
  866.         
  867.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )( 
  868.             IAgentCommandEx __RPC_FAR * This,
  869.             /* [out] */ long __RPC_FAR *pbVisible);
  870.         
  871.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetConfidenceThreshold )( 
  872.             IAgentCommandEx __RPC_FAR * This,
  873.             /* [in] */ long lThreshold);
  874.         
  875.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetConfidenceThreshold )( 
  876.             IAgentCommandEx __RPC_FAR * This,
  877.             /* [out] */ long __RPC_FAR *plThreshold);
  878.         
  879.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetConfidenceText )( 
  880.             IAgentCommandEx __RPC_FAR * This,
  881.             /* [in] */ BSTR bszTipText);
  882.         
  883.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetConfidenceText )( 
  884.             IAgentCommandEx __RPC_FAR * This,
  885.             /* [out] */ BSTR __RPC_FAR *pbszTipText);
  886.         
  887.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetID )( 
  888.             IAgentCommandEx __RPC_FAR * This,
  889.             /* [out] */ long __RPC_FAR *pdwID);
  890.         
  891.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetHelpContextID )( 
  892.             IAgentCommandEx __RPC_FAR * This,
  893.             /* [in] */ long ulID);
  894.         
  895.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHelpContextID )( 
  896.             IAgentCommandEx __RPC_FAR * This,
  897.             /* [out] */ long __RPC_FAR *pulID);
  898.         
  899.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVoiceCaption )( 
  900.             IAgentCommandEx __RPC_FAR * This,
  901.             /* [in] */ BSTR bszVoiceCaption);
  902.         
  903.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVoiceCaption )( 
  904.             IAgentCommandEx __RPC_FAR * This,
  905.             /* [out] */ BSTR __RPC_FAR *pbszVoiceCaption);
  906.         
  907.         END_INTERFACE
  908.     } IAgentCommandExVtbl;
  909.     interface IAgentCommandEx
  910.     {
  911.         CONST_VTBL struct IAgentCommandExVtbl __RPC_FAR *lpVtbl;
  912.     };
  913.     
  914. #ifdef COBJMACROS
  915. #define IAgentCommandEx_QueryInterface(This,riid,ppvObject)
  916.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  917. #define IAgentCommandEx_AddRef(This)
  918.     (This)->lpVtbl -> AddRef(This)
  919. #define IAgentCommandEx_Release(This)
  920.     (This)->lpVtbl -> Release(This)
  921. #define IAgentCommandEx_GetTypeInfoCount(This,pctinfo)
  922.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  923. #define IAgentCommandEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  924.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  925. #define IAgentCommandEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  926.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  927. #define IAgentCommandEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  928.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  929. #define IAgentCommandEx_SetCaption(This,bszCaption)
  930.     (This)->lpVtbl -> SetCaption(This,bszCaption)
  931. #define IAgentCommandEx_GetCaption(This,pbszCaption)
  932.     (This)->lpVtbl -> GetCaption(This,pbszCaption)
  933. #define IAgentCommandEx_SetVoice(This,bszVoice)
  934.     (This)->lpVtbl -> SetVoice(This,bszVoice)
  935. #define IAgentCommandEx_GetVoice(This,pbszVoice)
  936.     (This)->lpVtbl -> GetVoice(This,pbszVoice)
  937. #define IAgentCommandEx_SetEnabled(This,bEnabled)
  938.     (This)->lpVtbl -> SetEnabled(This,bEnabled)
  939. #define IAgentCommandEx_GetEnabled(This,pbEnabled)
  940.     (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  941. #define IAgentCommandEx_SetVisible(This,bVisible)
  942.     (This)->lpVtbl -> SetVisible(This,bVisible)
  943. #define IAgentCommandEx_GetVisible(This,pbVisible)
  944.     (This)->lpVtbl -> GetVisible(This,pbVisible)
  945. #define IAgentCommandEx_SetConfidenceThreshold(This,lThreshold)
  946.     (This)->lpVtbl -> SetConfidenceThreshold(This,lThreshold)
  947. #define IAgentCommandEx_GetConfidenceThreshold(This,plThreshold)
  948.     (This)->lpVtbl -> GetConfidenceThreshold(This,plThreshold)
  949. #define IAgentCommandEx_SetConfidenceText(This,bszTipText)
  950.     (This)->lpVtbl -> SetConfidenceText(This,bszTipText)
  951. #define IAgentCommandEx_GetConfidenceText(This,pbszTipText)
  952.     (This)->lpVtbl -> GetConfidenceText(This,pbszTipText)
  953. #define IAgentCommandEx_GetID(This,pdwID)
  954.     (This)->lpVtbl -> GetID(This,pdwID)
  955. #define IAgentCommandEx_SetHelpContextID(This,ulID)
  956.     (This)->lpVtbl -> SetHelpContextID(This,ulID)
  957. #define IAgentCommandEx_GetHelpContextID(This,pulID)
  958.     (This)->lpVtbl -> GetHelpContextID(This,pulID)
  959. #define IAgentCommandEx_SetVoiceCaption(This,bszVoiceCaption)
  960.     (This)->lpVtbl -> SetVoiceCaption(This,bszVoiceCaption)
  961. #define IAgentCommandEx_GetVoiceCaption(This,pbszVoiceCaption)
  962.     (This)->lpVtbl -> GetVoiceCaption(This,pbszVoiceCaption)
  963. #endif /* COBJMACROS */
  964. #endif  /* C style interface */
  965. HRESULT STDMETHODCALLTYPE IAgentCommandEx_SetHelpContextID_Proxy( 
  966.     IAgentCommandEx __RPC_FAR * This,
  967.     /* [in] */ long ulID);
  968. void __RPC_STUB IAgentCommandEx_SetHelpContextID_Stub(
  969.     IRpcStubBuffer *This,
  970.     IRpcChannelBuffer *_pRpcChannelBuffer,
  971.     PRPC_MESSAGE _pRpcMessage,
  972.     DWORD *_pdwStubPhase);
  973. HRESULT STDMETHODCALLTYPE IAgentCommandEx_GetHelpContextID_Proxy( 
  974.     IAgentCommandEx __RPC_FAR * This,
  975.     /* [out] */ long __RPC_FAR *pulID);
  976. void __RPC_STUB IAgentCommandEx_GetHelpContextID_Stub(
  977.     IRpcStubBuffer *This,
  978.     IRpcChannelBuffer *_pRpcChannelBuffer,
  979.     PRPC_MESSAGE _pRpcMessage,
  980.     DWORD *_pdwStubPhase);
  981. HRESULT STDMETHODCALLTYPE IAgentCommandEx_SetVoiceCaption_Proxy( 
  982.     IAgentCommandEx __RPC_FAR * This,
  983.     /* [in] */ BSTR bszVoiceCaption);
  984. void __RPC_STUB IAgentCommandEx_SetVoiceCaption_Stub(
  985.     IRpcStubBuffer *This,
  986.     IRpcChannelBuffer *_pRpcChannelBuffer,
  987.     PRPC_MESSAGE _pRpcMessage,
  988.     DWORD *_pdwStubPhase);
  989. HRESULT STDMETHODCALLTYPE IAgentCommandEx_GetVoiceCaption_Proxy( 
  990.     IAgentCommandEx __RPC_FAR * This,
  991.     /* [out] */ BSTR __RPC_FAR *pbszVoiceCaption);
  992. void __RPC_STUB IAgentCommandEx_GetVoiceCaption_Stub(
  993.     IRpcStubBuffer *This,
  994.     IRpcChannelBuffer *_pRpcChannelBuffer,
  995.     PRPC_MESSAGE _pRpcMessage,
  996.     DWORD *_pdwStubPhase);
  997. #endif  /* __IAgentCommandEx_INTERFACE_DEFINED__ */
  998. #ifndef __IAgentCommands_INTERFACE_DEFINED__
  999. #define __IAgentCommands_INTERFACE_DEFINED__
  1000. /****************************************
  1001.  * Generated header for interface: IAgentCommands
  1002.  * at Mon Aug 31 17:00:38 1998
  1003.  * using MIDL 3.01.75
  1004.  ****************************************/
  1005. /* [unique][helpstring][dual][uuid][object] */ 
  1006. EXTERN_C const IID IID_IAgentCommands;
  1007. #if defined(__cplusplus) && !defined(CINTERFACE)
  1008.     
  1009.     interface DECLSPEC_UUID("A7B93C85-7B81-11D0-AC5F-00C04FD97575")
  1010.     IAgentCommands : public IDispatch
  1011.     {
  1012.     public:
  1013.         virtual HRESULT STDMETHODCALLTYPE GetCommand( 
  1014.             /* [in] */ long dwCommandID,
  1015.             /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkCommand) = 0;
  1016.         
  1017.         virtual HRESULT STDMETHODCALLTYPE GetCount( 
  1018.             /* [out] */ long __RPC_FAR *pdwCount) = 0;
  1019.         
  1020.         virtual HRESULT STDMETHODCALLTYPE SetCaption( 
  1021.             /* [in] */ BSTR bszCaption) = 0;
  1022.         
  1023.         virtual HRESULT STDMETHODCALLTYPE GetCaption( 
  1024.             /* [out] */ BSTR __RPC_FAR *pbszCaption) = 0;
  1025.         
  1026.         virtual HRESULT STDMETHODCALLTYPE SetVoice( 
  1027.             /* [in] */ BSTR bszVoice) = 0;
  1028.         
  1029.         virtual HRESULT STDMETHODCALLTYPE GetVoice( 
  1030.             /* [out] */ BSTR __RPC_FAR *pbszVoice) = 0;
  1031.         
  1032.         virtual HRESULT STDMETHODCALLTYPE SetVisible( 
  1033.             /* [in] */ long bVisible) = 0;
  1034.         
  1035.         virtual HRESULT STDMETHODCALLTYPE GetVisible( 
  1036.             /* [out] */ long __RPC_FAR *pbVisible) = 0;
  1037.         
  1038.         virtual HRESULT STDMETHODCALLTYPE Add( 
  1039.             /* [in] */ BSTR bszCaption,
  1040.             /* [in] */ BSTR bszVoice,
  1041.             /* [in] */ long bEnabled,
  1042.             /* [in] */ long bVisible,
  1043.             /* [out] */ long __RPC_FAR *pdwID) = 0;
  1044.         
  1045.         virtual HRESULT STDMETHODCALLTYPE Insert( 
  1046.             /* [in] */ BSTR bszCaption,
  1047.             /* [in] */ BSTR bszVoice,
  1048.             /* [in] */ long bEnabled,
  1049.             /* [in] */ long bVisible,
  1050.             /* [in] */ long dwRefID,
  1051.             /* [in] */ long bBefore,
  1052.             /* [out] */ long __RPC_FAR *pdwID) = 0;
  1053.         
  1054.         virtual HRESULT STDMETHODCALLTYPE Remove( 
  1055.             /* [in] */ long dwID) = 0;
  1056.         
  1057.         virtual HRESULT STDMETHODCALLTYPE RemoveAll( void) = 0;
  1058.         
  1059.     };
  1060.     
  1061. #else  /* C style interface */
  1062.     typedef struct IAgentCommandsVtbl
  1063.     {
  1064.         BEGIN_INTERFACE
  1065.         
  1066.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1067.             IAgentCommands __RPC_FAR * This,
  1068.             /* [in] */ REFIID riid,
  1069.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1070.         
  1071.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1072.             IAgentCommands __RPC_FAR * This);
  1073.         
  1074.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1075.             IAgentCommands __RPC_FAR * This);
  1076.         
  1077.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  1078.             IAgentCommands __RPC_FAR * This,
  1079.             /* [out] */ UINT __RPC_FAR *pctinfo);
  1080.         
  1081.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  1082.             IAgentCommands __RPC_FAR * This,
  1083.             /* [in] */ UINT iTInfo,
  1084.             /* [in] */ LCID lcid,
  1085.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1086.         
  1087.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  1088.             IAgentCommands __RPC_FAR * This,
  1089.             /* [in] */ REFIID riid,
  1090.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1091.             /* [in] */ UINT cNames,
  1092.             /* [in] */ LCID lcid,
  1093.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1094.         
  1095.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  1096.             IAgentCommands __RPC_FAR * This,
  1097.             /* [in] */ DISPID dispIdMember,
  1098.             /* [in] */ REFIID riid,
  1099.             /* [in] */ LCID lcid,
  1100.             /* [in] */ WORD wFlags,
  1101.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1102.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1103.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1104.             /* [out] */ UINT __RPC_FAR *puArgErr);
  1105.         
  1106.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCommand )( 
  1107.             IAgentCommands __RPC_FAR * This,
  1108.             /* [in] */ long dwCommandID,
  1109.             /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkCommand);
  1110.         
  1111.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCount )( 
  1112.             IAgentCommands __RPC_FAR * This,
  1113.             /* [out] */ long __RPC_FAR *pdwCount);
  1114.         
  1115.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetCaption )( 
  1116.             IAgentCommands __RPC_FAR * This,
  1117.             /* [in] */ BSTR bszCaption);
  1118.         
  1119.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCaption )( 
  1120.             IAgentCommands __RPC_FAR * This,
  1121.             /* [out] */ BSTR __RPC_FAR *pbszCaption);
  1122.         
  1123.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVoice )( 
  1124.             IAgentCommands __RPC_FAR * This,
  1125.             /* [in] */ BSTR bszVoice);
  1126.         
  1127.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVoice )( 
  1128.             IAgentCommands __RPC_FAR * This,
  1129.             /* [out] */ BSTR __RPC_FAR *pbszVoice);
  1130.         
  1131.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )( 
  1132.             IAgentCommands __RPC_FAR * This,
  1133.             /* [in] */ long bVisible);
  1134.         
  1135.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )( 
  1136.             IAgentCommands __RPC_FAR * This,
  1137.             /* [out] */ long __RPC_FAR *pbVisible);
  1138.         
  1139.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Add )( 
  1140.             IAgentCommands __RPC_FAR * This,
  1141.             /* [in] */ BSTR bszCaption,
  1142.             /* [in] */ BSTR bszVoice,
  1143.             /* [in] */ long bEnabled,
  1144.             /* [in] */ long bVisible,
  1145.             /* [out] */ long __RPC_FAR *pdwID);
  1146.         
  1147.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Insert )( 
  1148.             IAgentCommands __RPC_FAR * This,
  1149.             /* [in] */ BSTR bszCaption,
  1150.             /* [in] */ BSTR bszVoice,
  1151.             /* [in] */ long bEnabled,
  1152.             /* [in] */ long bVisible,
  1153.             /* [in] */ long dwRefID,
  1154.             /* [in] */ long bBefore,
  1155.             /* [out] */ long __RPC_FAR *pdwID);
  1156.         
  1157.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Remove )( 
  1158.             IAgentCommands __RPC_FAR * This,
  1159.             /* [in] */ long dwID);
  1160.         
  1161.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RemoveAll )( 
  1162.             IAgentCommands __RPC_FAR * This);
  1163.         
  1164.         END_INTERFACE
  1165.     } IAgentCommandsVtbl;
  1166.     interface IAgentCommands
  1167.     {
  1168.         CONST_VTBL struct IAgentCommandsVtbl __RPC_FAR *lpVtbl;
  1169.     };
  1170.     
  1171. #ifdef COBJMACROS
  1172. #define IAgentCommands_QueryInterface(This,riid,ppvObject)
  1173.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1174. #define IAgentCommands_AddRef(This)
  1175.     (This)->lpVtbl -> AddRef(This)
  1176. #define IAgentCommands_Release(This)
  1177.     (This)->lpVtbl -> Release(This)
  1178. #define IAgentCommands_GetTypeInfoCount(This,pctinfo)
  1179.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1180. #define IAgentCommands_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1181.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1182. #define IAgentCommands_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1183.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1184. #define IAgentCommands_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1185.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1186. #define IAgentCommands_GetCommand(This,dwCommandID,ppunkCommand)
  1187.     (This)->lpVtbl -> GetCommand(This,dwCommandID,ppunkCommand)
  1188. #define IAgentCommands_GetCount(This,pdwCount)
  1189.     (This)->lpVtbl -> GetCount(This,pdwCount)
  1190. #define IAgentCommands_SetCaption(This,bszCaption)
  1191.     (This)->lpVtbl -> SetCaption(This,bszCaption)
  1192. #define IAgentCommands_GetCaption(This,pbszCaption)
  1193.     (This)->lpVtbl -> GetCaption(This,pbszCaption)
  1194. #define IAgentCommands_SetVoice(This,bszVoice)
  1195.     (This)->lpVtbl -> SetVoice(This,bszVoice)
  1196. #define IAgentCommands_GetVoice(This,pbszVoice)
  1197.     (This)->lpVtbl -> GetVoice(This,pbszVoice)
  1198. #define IAgentCommands_SetVisible(This,bVisible)
  1199.     (This)->lpVtbl -> SetVisible(This,bVisible)
  1200. #define IAgentCommands_GetVisible(This,pbVisible)
  1201.     (This)->lpVtbl -> GetVisible(This,pbVisible)
  1202. #define IAgentCommands_Add(This,bszCaption,bszVoice,bEnabled,bVisible,pdwID)
  1203.     (This)->lpVtbl -> Add(This,bszCaption,bszVoice,bEnabled,bVisible,pdwID)
  1204. #define IAgentCommands_Insert(This,bszCaption,bszVoice,bEnabled,bVisible,dwRefID,bBefore,pdwID)
  1205.     (This)->lpVtbl -> Insert(This,bszCaption,bszVoice,bEnabled,bVisible,dwRefID,bBefore,pdwID)
  1206. #define IAgentCommands_Remove(This,dwID)
  1207.     (This)->lpVtbl -> Remove(This,dwID)
  1208. #define IAgentCommands_RemoveAll(This)
  1209.     (This)->lpVtbl -> RemoveAll(This)
  1210. #endif /* COBJMACROS */
  1211. #endif  /* C style interface */
  1212. HRESULT STDMETHODCALLTYPE IAgentCommands_GetCommand_Proxy( 
  1213.     IAgentCommands __RPC_FAR * This,
  1214.     /* [in] */ long dwCommandID,
  1215.     /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkCommand);
  1216. void __RPC_STUB IAgentCommands_GetCommand_Stub(
  1217.     IRpcStubBuffer *This,
  1218.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1219.     PRPC_MESSAGE _pRpcMessage,
  1220.     DWORD *_pdwStubPhase);
  1221. HRESULT STDMETHODCALLTYPE IAgentCommands_GetCount_Proxy( 
  1222.     IAgentCommands __RPC_FAR * This,
  1223.     /* [out] */ long __RPC_FAR *pdwCount);
  1224. void __RPC_STUB IAgentCommands_GetCount_Stub(
  1225.     IRpcStubBuffer *This,
  1226.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1227.     PRPC_MESSAGE _pRpcMessage,
  1228.     DWORD *_pdwStubPhase);
  1229. HRESULT STDMETHODCALLTYPE IAgentCommands_SetCaption_Proxy( 
  1230.     IAgentCommands __RPC_FAR * This,
  1231.     /* [in] */ BSTR bszCaption);
  1232. void __RPC_STUB IAgentCommands_SetCaption_Stub(
  1233.     IRpcStubBuffer *This,
  1234.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1235.     PRPC_MESSAGE _pRpcMessage,
  1236.     DWORD *_pdwStubPhase);
  1237. HRESULT STDMETHODCALLTYPE IAgentCommands_GetCaption_Proxy( 
  1238.     IAgentCommands __RPC_FAR * This,
  1239.     /* [out] */ BSTR __RPC_FAR *pbszCaption);
  1240. void __RPC_STUB IAgentCommands_GetCaption_Stub(
  1241.     IRpcStubBuffer *This,
  1242.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1243.     PRPC_MESSAGE _pRpcMessage,
  1244.     DWORD *_pdwStubPhase);
  1245. HRESULT STDMETHODCALLTYPE IAgentCommands_SetVoice_Proxy( 
  1246.     IAgentCommands __RPC_FAR * This,
  1247.     /* [in] */ BSTR bszVoice);
  1248. void __RPC_STUB IAgentCommands_SetVoice_Stub(
  1249.     IRpcStubBuffer *This,
  1250.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1251.     PRPC_MESSAGE _pRpcMessage,
  1252.     DWORD *_pdwStubPhase);
  1253. HRESULT STDMETHODCALLTYPE IAgentCommands_GetVoice_Proxy( 
  1254.     IAgentCommands __RPC_FAR * This,
  1255.     /* [out] */ BSTR __RPC_FAR *pbszVoice);
  1256. void __RPC_STUB IAgentCommands_GetVoice_Stub(
  1257.     IRpcStubBuffer *This,
  1258.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1259.     PRPC_MESSAGE _pRpcMessage,
  1260.     DWORD *_pdwStubPhase);
  1261. HRESULT STDMETHODCALLTYPE IAgentCommands_SetVisible_Proxy( 
  1262.     IAgentCommands __RPC_FAR * This,
  1263.     /* [in] */ long bVisible);
  1264. void __RPC_STUB IAgentCommands_SetVisible_Stub(
  1265.     IRpcStubBuffer *This,
  1266.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1267.     PRPC_MESSAGE _pRpcMessage,
  1268.     DWORD *_pdwStubPhase);
  1269. HRESULT STDMETHODCALLTYPE IAgentCommands_GetVisible_Proxy( 
  1270.     IAgentCommands __RPC_FAR * This,
  1271.     /* [out] */ long __RPC_FAR *pbVisible);
  1272. void __RPC_STUB IAgentCommands_GetVisible_Stub(
  1273.     IRpcStubBuffer *This,
  1274.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1275.     PRPC_MESSAGE _pRpcMessage,
  1276.     DWORD *_pdwStubPhase);
  1277. HRESULT STDMETHODCALLTYPE IAgentCommands_Add_Proxy( 
  1278.     IAgentCommands __RPC_FAR * This,
  1279.     /* [in] */ BSTR bszCaption,
  1280.     /* [in] */ BSTR bszVoice,
  1281.     /* [in] */ long bEnabled,
  1282.     /* [in] */ long bVisible,
  1283.     /* [out] */ long __RPC_FAR *pdwID);
  1284. void __RPC_STUB IAgentCommands_Add_Stub(
  1285.     IRpcStubBuffer *This,
  1286.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1287.     PRPC_MESSAGE _pRpcMessage,
  1288.     DWORD *_pdwStubPhase);
  1289. HRESULT STDMETHODCALLTYPE IAgentCommands_Insert_Proxy( 
  1290.     IAgentCommands __RPC_FAR * This,
  1291.     /* [in] */ BSTR bszCaption,
  1292.     /* [in] */ BSTR bszVoice,
  1293.     /* [in] */ long bEnabled,
  1294.     /* [in] */ long bVisible,
  1295.     /* [in] */ long dwRefID,
  1296.     /* [in] */ long bBefore,
  1297.     /* [out] */ long __RPC_FAR *pdwID);
  1298. void __RPC_STUB IAgentCommands_Insert_Stub(
  1299.     IRpcStubBuffer *This,
  1300.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1301.     PRPC_MESSAGE _pRpcMessage,
  1302.     DWORD *_pdwStubPhase);
  1303. HRESULT STDMETHODCALLTYPE IAgentCommands_Remove_Proxy( 
  1304.     IAgentCommands __RPC_FAR * This,
  1305.     /* [in] */ long dwID);
  1306. void __RPC_STUB IAgentCommands_Remove_Stub(
  1307.     IRpcStubBuffer *This,
  1308.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1309.     PRPC_MESSAGE _pRpcMessage,
  1310.     DWORD *_pdwStubPhase);
  1311. HRESULT STDMETHODCALLTYPE IAgentCommands_RemoveAll_Proxy( 
  1312.     IAgentCommands __RPC_FAR * This);
  1313. void __RPC_STUB IAgentCommands_RemoveAll_Stub(
  1314.     IRpcStubBuffer *This,
  1315.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1316.     PRPC_MESSAGE _pRpcMessage,
  1317.     DWORD *_pdwStubPhase);
  1318. #endif  /* __IAgentCommands_INTERFACE_DEFINED__ */
  1319. #ifndef __IAgentCommandsEx_INTERFACE_DEFINED__
  1320. #define __IAgentCommandsEx_INTERFACE_DEFINED__
  1321. /****************************************
  1322.  * Generated header for interface: IAgentCommandsEx
  1323.  * at Mon Aug 31 17:00:38 1998
  1324.  * using MIDL 3.01.75
  1325.  ****************************************/
  1326. /* [unique][helpstring][dual][uuid][object] */ 
  1327. EXTERN_C const IID IID_IAgentCommandsEx;
  1328. #if defined(__cplusplus) && !defined(CINTERFACE)
  1329.     
  1330.     interface DECLSPEC_UUID("6BA90C00-3910-11d1-ACB3-00C04FD97575")
  1331.     IAgentCommandsEx : public IAgentCommands
  1332.     {
  1333.     public:
  1334.         virtual HRESULT STDMETHODCALLTYPE GetCommandEx( 
  1335.             /* [in] */ long dwCommandID,
  1336.             /* [out] */ IAgentCommandEx __RPC_FAR *__RPC_FAR *ppCommandEx) = 0;
  1337.         
  1338.         virtual HRESULT STDMETHODCALLTYPE SetDefaultID( 
  1339.             /* [in] */ long dwID) = 0;
  1340.         
  1341.         virtual HRESULT STDMETHODCALLTYPE GetDefaultID( 
  1342.             /* [out] */ long __RPC_FAR *pdwID) = 0;
  1343.         
  1344.         virtual HRESULT STDMETHODCALLTYPE SetHelpContextID( 
  1345.             /* [in] */ long ulHelpID) = 0;
  1346.         
  1347.         virtual HRESULT STDMETHODCALLTYPE GetHelpContextID( 
  1348.             /* [out] */ long __RPC_FAR *pulHelpID) = 0;
  1349.         
  1350.         virtual HRESULT STDMETHODCALLTYPE SetFontName( 
  1351.             /* [in] */ BSTR bszFontName) = 0;
  1352.         
  1353.         virtual HRESULT STDMETHODCALLTYPE GetFontName( 
  1354.             /* [out] */ BSTR __RPC_FAR *pbszFontName) = 0;
  1355.         
  1356.         virtual HRESULT STDMETHODCALLTYPE SetFontSize( 
  1357.             /* [in] */ long lFontSize) = 0;
  1358.         
  1359.         virtual HRESULT STDMETHODCALLTYPE GetFontSize( 
  1360.             /* [out] */ long __RPC_FAR *lFontSize) = 0;
  1361.         
  1362.         virtual HRESULT STDMETHODCALLTYPE SetVoiceCaption( 
  1363.             /* [in] */ BSTR bszVoiceCaption) = 0;
  1364.         
  1365.         virtual HRESULT STDMETHODCALLTYPE GetVoiceCaption( 
  1366.             /* [out] */ BSTR __RPC_FAR *bszVoiceCaption) = 0;
  1367.         
  1368.         virtual HRESULT STDMETHODCALLTYPE AddEx( 
  1369.             /* [in] */ BSTR bszCaption,
  1370.             /* [in] */ BSTR bszVoice,
  1371.             /* [in] */ BSTR bszVoiceCaption,
  1372.             /* [in] */ long bEnabled,
  1373.             /* [in] */ long bVisible,
  1374.             /* [in] */ long ulHelpId,
  1375.             /* [out] */ long __RPC_FAR *pdwID) = 0;
  1376.         
  1377.         virtual HRESULT STDMETHODCALLTYPE InsertEx( 
  1378.             /* [in] */ BSTR bszCaption,
  1379.             /* [in] */ BSTR bszVoice,
  1380.             /* [in] */ BSTR bszVoiceCaption,
  1381.             /* [in] */ long bEnabled,
  1382.             /* [in] */ long bVisible,
  1383.             /* [in] */ long ulHelpId,
  1384.             /* [in] */ long dwRefID,
  1385.             /* [in] */ long bBefore,
  1386.             /* [out] */ long __RPC_FAR *pdwID) = 0;
  1387.         
  1388.         virtual HRESULT STDMETHODCALLTYPE SetGlobalVoiceCommandsEnabled( 
  1389.             /* [in] */ long bEnable) = 0;
  1390.         
  1391.         virtual HRESULT STDMETHODCALLTYPE GetGlobalVoiceCommandsEnabled( 
  1392.             /* [out] */ long __RPC_FAR *pbEnabled) = 0;
  1393.         
  1394.     };
  1395.     
  1396. #else  /* C style interface */
  1397.     typedef struct IAgentCommandsExVtbl
  1398.     {
  1399.         BEGIN_INTERFACE
  1400.         
  1401.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1402.             IAgentCommandsEx __RPC_FAR * This,
  1403.             /* [in] */ REFIID riid,
  1404.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1405.         
  1406.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1407.             IAgentCommandsEx __RPC_FAR * This);
  1408.         
  1409.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1410.             IAgentCommandsEx __RPC_FAR * This);
  1411.         
  1412.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  1413.             IAgentCommandsEx __RPC_FAR * This,
  1414.             /* [out] */ UINT __RPC_FAR *pctinfo);
  1415.         
  1416.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  1417.             IAgentCommandsEx __RPC_FAR * This,
  1418.             /* [in] */ UINT iTInfo,
  1419.             /* [in] */ LCID lcid,
  1420.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1421.         
  1422.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  1423.             IAgentCommandsEx __RPC_FAR * This,
  1424.             /* [in] */ REFIID riid,
  1425.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1426.             /* [in] */ UINT cNames,
  1427.             /* [in] */ LCID lcid,
  1428.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1429.         
  1430.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  1431.             IAgentCommandsEx __RPC_FAR * This,
  1432.             /* [in] */ DISPID dispIdMember,
  1433.             /* [in] */ REFIID riid,
  1434.             /* [in] */ LCID lcid,
  1435.             /* [in] */ WORD wFlags,
  1436.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1437.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1438.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1439.             /* [out] */ UINT __RPC_FAR *puArgErr);
  1440.         
  1441.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCommand )( 
  1442.             IAgentCommandsEx __RPC_FAR * This,
  1443.             /* [in] */ long dwCommandID,
  1444.             /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkCommand);
  1445.         
  1446.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCount )( 
  1447.             IAgentCommandsEx __RPC_FAR * This,
  1448.             /* [out] */ long __RPC_FAR *pdwCount);
  1449.         
  1450.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetCaption )( 
  1451.             IAgentCommandsEx __RPC_FAR * This,
  1452.             /* [in] */ BSTR bszCaption);
  1453.         
  1454.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCaption )( 
  1455.             IAgentCommandsEx __RPC_FAR * This,
  1456.             /* [out] */ BSTR __RPC_FAR *pbszCaption);
  1457.         
  1458.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVoice )( 
  1459.             IAgentCommandsEx __RPC_FAR * This,
  1460.             /* [in] */ BSTR bszVoice);
  1461.         
  1462.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVoice )( 
  1463.             IAgentCommandsEx __RPC_FAR * This,
  1464.             /* [out] */ BSTR __RPC_FAR *pbszVoice);
  1465.         
  1466.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )( 
  1467.             IAgentCommandsEx __RPC_FAR * This,
  1468.             /* [in] */ long bVisible);
  1469.         
  1470.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )( 
  1471.             IAgentCommandsEx __RPC_FAR * This,
  1472.             /* [out] */ long __RPC_FAR *pbVisible);
  1473.         
  1474.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Add )( 
  1475.             IAgentCommandsEx __RPC_FAR * This,
  1476.             /* [in] */ BSTR bszCaption,
  1477.             /* [in] */ BSTR bszVoice,
  1478.             /* [in] */ long bEnabled,
  1479.             /* [in] */ long bVisible,
  1480.             /* [out] */ long __RPC_FAR *pdwID);
  1481.         
  1482.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Insert )( 
  1483.             IAgentCommandsEx __RPC_FAR * This,
  1484.             /* [in] */ BSTR bszCaption,
  1485.             /* [in] */ BSTR bszVoice,
  1486.             /* [in] */ long bEnabled,
  1487.             /* [in] */ long bVisible,
  1488.             /* [in] */ long dwRefID,
  1489.             /* [in] */ long bBefore,
  1490.             /* [out] */ long __RPC_FAR *pdwID);
  1491.         
  1492.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Remove )( 
  1493.             IAgentCommandsEx __RPC_FAR * This,
  1494.             /* [in] */ long dwID);
  1495.         
  1496.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RemoveAll )( 
  1497.             IAgentCommandsEx __RPC_FAR * This);
  1498.         
  1499.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCommandEx )( 
  1500.             IAgentCommandsEx __RPC_FAR * This,
  1501.             /* [in] */ long dwCommandID,
  1502.             /* [out] */ IAgentCommandEx __RPC_FAR *__RPC_FAR *ppCommandEx);
  1503.         
  1504.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetDefaultID )( 
  1505.             IAgentCommandsEx __RPC_FAR * This,
  1506.             /* [in] */ long dwID);
  1507.         
  1508.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDefaultID )( 
  1509.             IAgentCommandsEx __RPC_FAR * This,
  1510.             /* [out] */ long __RPC_FAR *pdwID);
  1511.         
  1512.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetHelpContextID )( 
  1513.             IAgentCommandsEx __RPC_FAR * This,
  1514.             /* [in] */ long ulHelpID);
  1515.         
  1516.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHelpContextID )( 
  1517.             IAgentCommandsEx __RPC_FAR * This,
  1518.             /* [out] */ long __RPC_FAR *pulHelpID);
  1519.         
  1520.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontName )( 
  1521.             IAgentCommandsEx __RPC_FAR * This,
  1522.             /* [in] */ BSTR bszFontName);
  1523.         
  1524.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontName )( 
  1525.             IAgentCommandsEx __RPC_FAR * This,
  1526.             /* [out] */ BSTR __RPC_FAR *pbszFontName);
  1527.         
  1528.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontSize )( 
  1529.             IAgentCommandsEx __RPC_FAR * This,
  1530.             /* [in] */ long lFontSize);
  1531.         
  1532.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontSize )( 
  1533.             IAgentCommandsEx __RPC_FAR * This,
  1534.             /* [out] */ long __RPC_FAR *lFontSize);
  1535.         
  1536.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVoiceCaption )( 
  1537.             IAgentCommandsEx __RPC_FAR * This,
  1538.             /* [in] */ BSTR bszVoiceCaption);
  1539.         
  1540.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVoiceCaption )( 
  1541.             IAgentCommandsEx __RPC_FAR * This,
  1542.             /* [out] */ BSTR __RPC_FAR *bszVoiceCaption);
  1543.         
  1544.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddEx )( 
  1545.             IAgentCommandsEx __RPC_FAR * This,
  1546.             /* [in] */ BSTR bszCaption,
  1547.             /* [in] */ BSTR bszVoice,
  1548.             /* [in] */ BSTR bszVoiceCaption,
  1549.             /* [in] */ long bEnabled,
  1550.             /* [in] */ long bVisible,
  1551.             /* [in] */ long ulHelpId,
  1552.             /* [out] */ long __RPC_FAR *pdwID);
  1553.         
  1554.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InsertEx )( 
  1555.             IAgentCommandsEx __RPC_FAR * This,
  1556.             /* [in] */ BSTR bszCaption,
  1557.             /* [in] */ BSTR bszVoice,
  1558.             /* [in] */ BSTR bszVoiceCaption,
  1559.             /* [in] */ long bEnabled,
  1560.             /* [in] */ long bVisible,
  1561.             /* [in] */ long ulHelpId,
  1562.             /* [in] */ long dwRefID,
  1563.             /* [in] */ long bBefore,
  1564.             /* [out] */ long __RPC_FAR *pdwID);
  1565.         
  1566.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetGlobalVoiceCommandsEnabled )( 
  1567.             IAgentCommandsEx __RPC_FAR * This,
  1568.             /* [in] */ long bEnable);
  1569.         
  1570.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetGlobalVoiceCommandsEnabled )( 
  1571.             IAgentCommandsEx __RPC_FAR * This,
  1572.             /* [out] */ long __RPC_FAR *pbEnabled);
  1573.         
  1574.         END_INTERFACE
  1575.     } IAgentCommandsExVtbl;
  1576.     interface IAgentCommandsEx
  1577.     {
  1578.         CONST_VTBL struct IAgentCommandsExVtbl __RPC_FAR *lpVtbl;
  1579.     };
  1580.     
  1581. #ifdef COBJMACROS
  1582. #define IAgentCommandsEx_QueryInterface(This,riid,ppvObject)
  1583.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1584. #define IAgentCommandsEx_AddRef(This)
  1585.     (This)->lpVtbl -> AddRef(This)
  1586. #define IAgentCommandsEx_Release(This)
  1587.     (This)->lpVtbl -> Release(This)
  1588. #define IAgentCommandsEx_GetTypeInfoCount(This,pctinfo)
  1589.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1590. #define IAgentCommandsEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1591.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1592. #define IAgentCommandsEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1593.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1594. #define IAgentCommandsEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1595.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1596. #define IAgentCommandsEx_GetCommand(This,dwCommandID,ppunkCommand)
  1597.     (This)->lpVtbl -> GetCommand(This,dwCommandID,ppunkCommand)
  1598. #define IAgentCommandsEx_GetCount(This,pdwCount)
  1599.     (This)->lpVtbl -> GetCount(This,pdwCount)
  1600. #define IAgentCommandsEx_SetCaption(This,bszCaption)
  1601.     (This)->lpVtbl -> SetCaption(This,bszCaption)
  1602. #define IAgentCommandsEx_GetCaption(This,pbszCaption)
  1603.     (This)->lpVtbl -> GetCaption(This,pbszCaption)
  1604. #define IAgentCommandsEx_SetVoice(This,bszVoice)
  1605.     (This)->lpVtbl -> SetVoice(This,bszVoice)
  1606. #define IAgentCommandsEx_GetVoice(This,pbszVoice)
  1607.     (This)->lpVtbl -> GetVoice(This,pbszVoice)
  1608. #define IAgentCommandsEx_SetVisible(This,bVisible)
  1609.     (This)->lpVtbl -> SetVisible(This,bVisible)
  1610. #define IAgentCommandsEx_GetVisible(This,pbVisible)
  1611.     (This)->lpVtbl -> GetVisible(This,pbVisible)
  1612. #define IAgentCommandsEx_Add(This,bszCaption,bszVoice,bEnabled,bVisible,pdwID)
  1613.     (This)->lpVtbl -> Add(This,bszCaption,bszVoice,bEnabled,bVisible,pdwID)
  1614. #define IAgentCommandsEx_Insert(This,bszCaption,bszVoice,bEnabled,bVisible,dwRefID,bBefore,pdwID)
  1615.     (This)->lpVtbl -> Insert(This,bszCaption,bszVoice,bEnabled,bVisible,dwRefID,bBefore,pdwID)
  1616. #define IAgentCommandsEx_Remove(This,dwID)
  1617.     (This)->lpVtbl -> Remove(This,dwID)
  1618. #define IAgentCommandsEx_RemoveAll(This)
  1619.     (This)->lpVtbl -> RemoveAll(This)
  1620. #define IAgentCommandsEx_GetCommandEx(This,dwCommandID,ppCommandEx)
  1621.     (This)->lpVtbl -> GetCommandEx(This,dwCommandID,ppCommandEx)
  1622. #define IAgentCommandsEx_SetDefaultID(This,dwID)
  1623.     (This)->lpVtbl -> SetDefaultID(This,dwID)
  1624. #define IAgentCommandsEx_GetDefaultID(This,pdwID)
  1625.     (This)->lpVtbl -> GetDefaultID(This,pdwID)
  1626. #define IAgentCommandsEx_SetHelpContextID(This,ulHelpID)
  1627.     (This)->lpVtbl -> SetHelpContextID(This,ulHelpID)
  1628. #define IAgentCommandsEx_GetHelpContextID(This,pulHelpID)
  1629.     (This)->lpVtbl -> GetHelpContextID(This,pulHelpID)
  1630. #define IAgentCommandsEx_SetFontName(This,bszFontName)
  1631.     (This)->lpVtbl -> SetFontName(This,bszFontName)
  1632. #define IAgentCommandsEx_GetFontName(This,pbszFontName)
  1633.     (This)->lpVtbl -> GetFontName(This,pbszFontName)
  1634. #define IAgentCommandsEx_SetFontSize(This,lFontSize)
  1635.     (This)->lpVtbl -> SetFontSize(This,lFontSize)
  1636. #define IAgentCommandsEx_GetFontSize(This,lFontSize)
  1637.     (This)->lpVtbl -> GetFontSize(This,lFontSize)
  1638. #define IAgentCommandsEx_SetVoiceCaption(This,bszVoiceCaption)
  1639.     (This)->lpVtbl -> SetVoiceCaption(This,bszVoiceCaption)
  1640. #define IAgentCommandsEx_GetVoiceCaption(This,bszVoiceCaption)
  1641.     (This)->lpVtbl -> GetVoiceCaption(This,bszVoiceCaption)
  1642. #define IAgentCommandsEx_AddEx(This,bszCaption,bszVoice,bszVoiceCaption,bEnabled,bVisible,ulHelpId,pdwID)
  1643.     (This)->lpVtbl -> AddEx(This,bszCaption,bszVoice,bszVoiceCaption,bEnabled,bVisible,ulHelpId,pdwID)
  1644. #define IAgentCommandsEx_InsertEx(This,bszCaption,bszVoice,bszVoiceCaption,bEnabled,bVisible,ulHelpId,dwRefID,bBefore,pdwID)
  1645.     (This)->lpVtbl -> InsertEx(This,bszCaption,bszVoice,bszVoiceCaption,bEnabled,bVisible,ulHelpId,dwRefID,bBefore,pdwID)
  1646. #define IAgentCommandsEx_SetGlobalVoiceCommandsEnabled(This,bEnable)
  1647.     (This)->lpVtbl -> SetGlobalVoiceCommandsEnabled(This,bEnable)
  1648. #define IAgentCommandsEx_GetGlobalVoiceCommandsEnabled(This,pbEnabled)
  1649.     (This)->lpVtbl -> GetGlobalVoiceCommandsEnabled(This,pbEnabled)
  1650. #endif /* COBJMACROS */
  1651. #endif  /* C style interface */
  1652. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_GetCommandEx_Proxy( 
  1653.     IAgentCommandsEx __RPC_FAR * This,
  1654.     /* [in] */ long dwCommandID,
  1655.     /* [out] */ IAgentCommandEx __RPC_FAR *__RPC_FAR *ppCommandEx);
  1656. void __RPC_STUB IAgentCommandsEx_GetCommandEx_Stub(
  1657.     IRpcStubBuffer *This,
  1658.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1659.     PRPC_MESSAGE _pRpcMessage,
  1660.     DWORD *_pdwStubPhase);
  1661. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_SetDefaultID_Proxy( 
  1662.     IAgentCommandsEx __RPC_FAR * This,
  1663.     /* [in] */ long dwID);
  1664. void __RPC_STUB IAgentCommandsEx_SetDefaultID_Stub(
  1665.     IRpcStubBuffer *This,
  1666.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1667.     PRPC_MESSAGE _pRpcMessage,
  1668.     DWORD *_pdwStubPhase);
  1669. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_GetDefaultID_Proxy( 
  1670.     IAgentCommandsEx __RPC_FAR * This,
  1671.     /* [out] */ long __RPC_FAR *pdwID);
  1672. void __RPC_STUB IAgentCommandsEx_GetDefaultID_Stub(
  1673.     IRpcStubBuffer *This,
  1674.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1675.     PRPC_MESSAGE _pRpcMessage,
  1676.     DWORD *_pdwStubPhase);
  1677. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_SetHelpContextID_Proxy( 
  1678.     IAgentCommandsEx __RPC_FAR * This,
  1679.     /* [in] */ long ulHelpID);
  1680. void __RPC_STUB IAgentCommandsEx_SetHelpContextID_Stub(
  1681.     IRpcStubBuffer *This,
  1682.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1683.     PRPC_MESSAGE _pRpcMessage,
  1684.     DWORD *_pdwStubPhase);
  1685. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_GetHelpContextID_Proxy( 
  1686.     IAgentCommandsEx __RPC_FAR * This,
  1687.     /* [out] */ long __RPC_FAR *pulHelpID);
  1688. void __RPC_STUB IAgentCommandsEx_GetHelpContextID_Stub(
  1689.     IRpcStubBuffer *This,
  1690.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1691.     PRPC_MESSAGE _pRpcMessage,
  1692.     DWORD *_pdwStubPhase);
  1693. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_SetFontName_Proxy( 
  1694.     IAgentCommandsEx __RPC_FAR * This,
  1695.     /* [in] */ BSTR bszFontName);
  1696. void __RPC_STUB IAgentCommandsEx_SetFontName_Stub(
  1697.     IRpcStubBuffer *This,
  1698.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1699.     PRPC_MESSAGE _pRpcMessage,
  1700.     DWORD *_pdwStubPhase);
  1701. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_GetFontName_Proxy( 
  1702.     IAgentCommandsEx __RPC_FAR * This,
  1703.     /* [out] */ BSTR __RPC_FAR *pbszFontName);
  1704. void __RPC_STUB IAgentCommandsEx_GetFontName_Stub(
  1705.     IRpcStubBuffer *This,
  1706.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1707.     PRPC_MESSAGE _pRpcMessage,
  1708.     DWORD *_pdwStubPhase);
  1709. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_SetFontSize_Proxy( 
  1710.     IAgentCommandsEx __RPC_FAR * This,
  1711.     /* [in] */ long lFontSize);
  1712. void __RPC_STUB IAgentCommandsEx_SetFontSize_Stub(
  1713.     IRpcStubBuffer *This,
  1714.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1715.     PRPC_MESSAGE _pRpcMessage,
  1716.     DWORD *_pdwStubPhase);
  1717. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_GetFontSize_Proxy( 
  1718.     IAgentCommandsEx __RPC_FAR * This,
  1719.     /* [out] */ long __RPC_FAR *lFontSize);
  1720. void __RPC_STUB IAgentCommandsEx_GetFontSize_Stub(
  1721.     IRpcStubBuffer *This,
  1722.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1723.     PRPC_MESSAGE _pRpcMessage,
  1724.     DWORD *_pdwStubPhase);
  1725. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_SetVoiceCaption_Proxy( 
  1726.     IAgentCommandsEx __RPC_FAR * This,
  1727.     /* [in] */ BSTR bszVoiceCaption);
  1728. void __RPC_STUB IAgentCommandsEx_SetVoiceCaption_Stub(
  1729.     IRpcStubBuffer *This,
  1730.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1731.     PRPC_MESSAGE _pRpcMessage,
  1732.     DWORD *_pdwStubPhase);
  1733. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_GetVoiceCaption_Proxy( 
  1734.     IAgentCommandsEx __RPC_FAR * This,
  1735.     /* [out] */ BSTR __RPC_FAR *bszVoiceCaption);
  1736. void __RPC_STUB IAgentCommandsEx_GetVoiceCaption_Stub(
  1737.     IRpcStubBuffer *This,
  1738.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1739.     PRPC_MESSAGE _pRpcMessage,
  1740.     DWORD *_pdwStubPhase);
  1741. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_AddEx_Proxy( 
  1742.     IAgentCommandsEx __RPC_FAR * This,
  1743.     /* [in] */ BSTR bszCaption,
  1744.     /* [in] */ BSTR bszVoice,
  1745.     /* [in] */ BSTR bszVoiceCaption,
  1746.     /* [in] */ long bEnabled,
  1747.     /* [in] */ long bVisible,
  1748.     /* [in] */ long ulHelpId,
  1749.     /* [out] */ long __RPC_FAR *pdwID);
  1750. void __RPC_STUB IAgentCommandsEx_AddEx_Stub(
  1751.     IRpcStubBuffer *This,
  1752.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1753.     PRPC_MESSAGE _pRpcMessage,
  1754.     DWORD *_pdwStubPhase);
  1755. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_InsertEx_Proxy( 
  1756.     IAgentCommandsEx __RPC_FAR * This,
  1757.     /* [in] */ BSTR bszCaption,
  1758.     /* [in] */ BSTR bszVoice,
  1759.     /* [in] */ BSTR bszVoiceCaption,
  1760.     /* [in] */ long bEnabled,
  1761.     /* [in] */ long bVisible,
  1762.     /* [in] */ long ulHelpId,
  1763.     /* [in] */ long dwRefID,
  1764.     /* [in] */ long bBefore,
  1765.     /* [out] */ long __RPC_FAR *pdwID);
  1766. void __RPC_STUB IAgentCommandsEx_InsertEx_Stub(
  1767.     IRpcStubBuffer *This,
  1768.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1769.     PRPC_MESSAGE _pRpcMessage,
  1770.     DWORD *_pdwStubPhase);
  1771. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_SetGlobalVoiceCommandsEnabled_Proxy( 
  1772.     IAgentCommandsEx __RPC_FAR * This,
  1773.     /* [in] */ long bEnable);
  1774. void __RPC_STUB IAgentCommandsEx_SetGlobalVoiceCommandsEnabled_Stub(
  1775.     IRpcStubBuffer *This,
  1776.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1777.     PRPC_MESSAGE _pRpcMessage,
  1778.     DWORD *_pdwStubPhase);
  1779. HRESULT STDMETHODCALLTYPE IAgentCommandsEx_GetGlobalVoiceCommandsEnabled_Proxy( 
  1780.     IAgentCommandsEx __RPC_FAR * This,
  1781.     /* [out] */ long __RPC_FAR *pbEnabled);
  1782. void __RPC_STUB IAgentCommandsEx_GetGlobalVoiceCommandsEnabled_Stub(
  1783.     IRpcStubBuffer *This,
  1784.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1785.     PRPC_MESSAGE _pRpcMessage,
  1786.     DWORD *_pdwStubPhase);
  1787. #endif  /* __IAgentCommandsEx_INTERFACE_DEFINED__ */
  1788. #ifndef __IAgentCommandWindow_INTERFACE_DEFINED__
  1789. #define __IAgentCommandWindow_INTERFACE_DEFINED__
  1790. /****************************************
  1791.  * Generated header for interface: IAgentCommandWindow
  1792.  * at Mon Aug 31 17:00:38 1998
  1793.  * using MIDL 3.01.75
  1794.  ****************************************/
  1795. /* [unique][helpstring][dual][uuid][object] */ 
  1796. EXTERN_C const IID IID_IAgentCommandWindow;
  1797. #if defined(__cplusplus) && !defined(CINTERFACE)
  1798.     
  1799.     interface DECLSPEC_UUID("6D0ECB23-9968-11D0-AC6E-00C04FD97575")
  1800.     IAgentCommandWindow : public IDispatch
  1801.     {
  1802.     public:
  1803.         virtual HRESULT STDMETHODCALLTYPE SetVisible( 
  1804.             /* [in] */ long bVisible) = 0;
  1805.         
  1806.         virtual HRESULT STDMETHODCALLTYPE GetVisible( 
  1807.             /* [out] */ long __RPC_FAR *pbVisible) = 0;
  1808.         
  1809.         virtual HRESULT STDMETHODCALLTYPE GetPosition( 
  1810.             /* [out] */ long __RPC_FAR *plLeft,
  1811.             /* [out] */ long __RPC_FAR *plTop) = 0;
  1812.         
  1813.         virtual HRESULT STDMETHODCALLTYPE GetSize( 
  1814.             /* [out] */ long __RPC_FAR *plWidth,
  1815.             /* [out] */ long __RPC_FAR *plHeight) = 0;
  1816.         
  1817.     };
  1818.     
  1819. #else  /* C style interface */
  1820.     typedef struct IAgentCommandWindowVtbl
  1821.     {
  1822.         BEGIN_INTERFACE
  1823.         
  1824.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1825.             IAgentCommandWindow __RPC_FAR * This,
  1826.             /* [in] */ REFIID riid,
  1827.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1828.         
  1829.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1830.             IAgentCommandWindow __RPC_FAR * This);
  1831.         
  1832.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1833.             IAgentCommandWindow __RPC_FAR * This);
  1834.         
  1835.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  1836.             IAgentCommandWindow __RPC_FAR * This,
  1837.             /* [out] */ UINT __RPC_FAR *pctinfo);
  1838.         
  1839.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  1840.             IAgentCommandWindow __RPC_FAR * This,
  1841.             /* [in] */ UINT iTInfo,
  1842.             /* [in] */ LCID lcid,
  1843.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1844.         
  1845.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  1846.             IAgentCommandWindow __RPC_FAR * This,
  1847.             /* [in] */ REFIID riid,
  1848.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1849.             /* [in] */ UINT cNames,
  1850.             /* [in] */ LCID lcid,
  1851.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1852.         
  1853.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  1854.             IAgentCommandWindow __RPC_FAR * This,
  1855.             /* [in] */ DISPID dispIdMember,
  1856.             /* [in] */ REFIID riid,
  1857.             /* [in] */ LCID lcid,
  1858.             /* [in] */ WORD wFlags,
  1859.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1860.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1861.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1862.             /* [out] */ UINT __RPC_FAR *puArgErr);
  1863.         
  1864.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )( 
  1865.             IAgentCommandWindow __RPC_FAR * This,
  1866.             /* [in] */ long bVisible);
  1867.         
  1868.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )( 
  1869.             IAgentCommandWindow __RPC_FAR * This,
  1870.             /* [out] */ long __RPC_FAR *pbVisible);
  1871.         
  1872.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPosition )( 
  1873.             IAgentCommandWindow __RPC_FAR * This,
  1874.             /* [out] */ long __RPC_FAR *plLeft,
  1875.             /* [out] */ long __RPC_FAR *plTop);
  1876.         
  1877.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSize )( 
  1878.             IAgentCommandWindow __RPC_FAR * This,
  1879.             /* [out] */ long __RPC_FAR *plWidth,
  1880.             /* [out] */ long __RPC_FAR *plHeight);
  1881.         
  1882.         END_INTERFACE
  1883.     } IAgentCommandWindowVtbl;
  1884.     interface IAgentCommandWindow
  1885.     {
  1886.         CONST_VTBL struct IAgentCommandWindowVtbl __RPC_FAR *lpVtbl;
  1887.     };
  1888.     
  1889. #ifdef COBJMACROS
  1890. #define IAgentCommandWindow_QueryInterface(This,riid,ppvObject)
  1891.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1892. #define IAgentCommandWindow_AddRef(This)
  1893.     (This)->lpVtbl -> AddRef(This)
  1894. #define IAgentCommandWindow_Release(This)
  1895.     (This)->lpVtbl -> Release(This)
  1896. #define IAgentCommandWindow_GetTypeInfoCount(This,pctinfo)
  1897.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1898. #define IAgentCommandWindow_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1899.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1900. #define IAgentCommandWindow_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1901.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1902. #define IAgentCommandWindow_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1903.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1904. #define IAgentCommandWindow_SetVisible(This,bVisible)
  1905.     (This)->lpVtbl -> SetVisible(This,bVisible)
  1906. #define IAgentCommandWindow_GetVisible(This,pbVisible)
  1907.     (This)->lpVtbl -> GetVisible(This,pbVisible)
  1908. #define IAgentCommandWindow_GetPosition(This,plLeft,plTop)
  1909.     (This)->lpVtbl -> GetPosition(This,plLeft,plTop)
  1910. #define IAgentCommandWindow_GetSize(This,plWidth,plHeight)
  1911.     (This)->lpVtbl -> GetSize(This,plWidth,plHeight)
  1912. #endif /* COBJMACROS */
  1913. #endif  /* C style interface */
  1914. HRESULT STDMETHODCALLTYPE IAgentCommandWindow_SetVisible_Proxy( 
  1915.     IAgentCommandWindow __RPC_FAR * This,
  1916.     /* [in] */ long bVisible);
  1917. void __RPC_STUB IAgentCommandWindow_SetVisible_Stub(
  1918.     IRpcStubBuffer *This,
  1919.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1920.     PRPC_MESSAGE _pRpcMessage,
  1921.     DWORD *_pdwStubPhase);
  1922. HRESULT STDMETHODCALLTYPE IAgentCommandWindow_GetVisible_Proxy( 
  1923.     IAgentCommandWindow __RPC_FAR * This,
  1924.     /* [out] */ long __RPC_FAR *pbVisible);
  1925. void __RPC_STUB IAgentCommandWindow_GetVisible_Stub(
  1926.     IRpcStubBuffer *This,
  1927.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1928.     PRPC_MESSAGE _pRpcMessage,
  1929.     DWORD *_pdwStubPhase);
  1930. HRESULT STDMETHODCALLTYPE IAgentCommandWindow_GetPosition_Proxy( 
  1931.     IAgentCommandWindow __RPC_FAR * This,
  1932.     /* [out] */ long __RPC_FAR *plLeft,
  1933.     /* [out] */ long __RPC_FAR *plTop);
  1934. void __RPC_STUB IAgentCommandWindow_GetPosition_Stub(
  1935.     IRpcStubBuffer *This,
  1936.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1937.     PRPC_MESSAGE _pRpcMessage,
  1938.     DWORD *_pdwStubPhase);
  1939. HRESULT STDMETHODCALLTYPE IAgentCommandWindow_GetSize_Proxy( 
  1940.     IAgentCommandWindow __RPC_FAR * This,
  1941.     /* [out] */ long __RPC_FAR *plWidth,
  1942.     /* [out] */ long __RPC_FAR *plHeight);
  1943. void __RPC_STUB IAgentCommandWindow_GetSize_Stub(
  1944.     IRpcStubBuffer *This,
  1945.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1946.     PRPC_MESSAGE _pRpcMessage,
  1947.     DWORD *_pdwStubPhase);
  1948. #endif  /* __IAgentCommandWindow_INTERFACE_DEFINED__ */
  1949. #ifndef __IAgentSpeechInputProperties_INTERFACE_DEFINED__
  1950. #define __IAgentSpeechInputProperties_INTERFACE_DEFINED__
  1951. /****************************************
  1952.  * Generated header for interface: IAgentSpeechInputProperties
  1953.  * at Mon Aug 31 17:00:38 1998
  1954.  * using MIDL 3.01.75
  1955.  ****************************************/
  1956. /* [unique][helpstring][dual][uuid][object] */ 
  1957. EXTERN_C const IID IID_IAgentSpeechInputProperties;
  1958. #if defined(__cplusplus) && !defined(CINTERFACE)
  1959.     
  1960.     interface DECLSPEC_UUID("A7B93C87-7B81-11D0-AC5F-00C04FD97575")
  1961.     IAgentSpeechInputProperties : public IDispatch
  1962.     {
  1963.     public:
  1964.         virtual HRESULT STDMETHODCALLTYPE GetInstalled( 
  1965.             /* [out] */ long __RPC_FAR *pbInstalled) = 0;
  1966.         
  1967.         virtual HRESULT STDMETHODCALLTYPE GetEnabled( 
  1968.             /* [out] */ long __RPC_FAR *pbEnabled) = 0;
  1969.         
  1970.         virtual HRESULT STDMETHODCALLTYPE GetHotKey( 
  1971.             /* [out] */ BSTR __RPC_FAR *pbszHotCharKey) = 0;
  1972.         
  1973.         virtual HRESULT STDMETHODCALLTYPE GetLCID( 
  1974.             /* [out] */ LCID __RPC_FAR *plcidCurrent) = 0;
  1975.         
  1976.         virtual HRESULT STDMETHODCALLTYPE GetEngine( 
  1977.             /* [out] */ BSTR __RPC_FAR *pbszEngine) = 0;
  1978.         
  1979.         virtual HRESULT STDMETHODCALLTYPE SetEngine( 
  1980.             /* [in] */ BSTR bszEngine) = 0;
  1981.         
  1982.         virtual HRESULT STDMETHODCALLTYPE GetListeningTip( 
  1983.             /* [out] */ long __RPC_FAR *pbListeningTip) = 0;
  1984.         
  1985.     };
  1986.     
  1987. #else  /* C style interface */
  1988.     typedef struct IAgentSpeechInputPropertiesVtbl
  1989.     {
  1990.         BEGIN_INTERFACE
  1991.         
  1992.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1993.             IAgentSpeechInputProperties __RPC_FAR * This,
  1994.             /* [in] */ REFIID riid,
  1995.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1996.         
  1997.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1998.             IAgentSpeechInputProperties __RPC_FAR * This);
  1999.         
  2000.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2001.             IAgentSpeechInputProperties __RPC_FAR * This);
  2002.         
  2003.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  2004.             IAgentSpeechInputProperties __RPC_FAR * This,
  2005.             /* [out] */ UINT __RPC_FAR *pctinfo);
  2006.         
  2007.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  2008.             IAgentSpeechInputProperties __RPC_FAR * This,
  2009.             /* [in] */ UINT iTInfo,
  2010.             /* [in] */ LCID lcid,
  2011.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2012.         
  2013.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  2014.             IAgentSpeechInputProperties __RPC_FAR * This,
  2015.             /* [in] */ REFIID riid,
  2016.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2017.             /* [in] */ UINT cNames,
  2018.             /* [in] */ LCID lcid,
  2019.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2020.         
  2021.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  2022.             IAgentSpeechInputProperties __RPC_FAR * This,
  2023.             /* [in] */ DISPID dispIdMember,
  2024.             /* [in] */ REFIID riid,
  2025.             /* [in] */ LCID lcid,
  2026.             /* [in] */ WORD wFlags,
  2027.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2028.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2029.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2030.             /* [out] */ UINT __RPC_FAR *puArgErr);
  2031.         
  2032.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetInstalled )( 
  2033.             IAgentSpeechInputProperties __RPC_FAR * This,
  2034.             /* [out] */ long __RPC_FAR *pbInstalled);
  2035.         
  2036.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )( 
  2037.             IAgentSpeechInputProperties __RPC_FAR * This,
  2038.             /* [out] */ long __RPC_FAR *pbEnabled);
  2039.         
  2040.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHotKey )( 
  2041.             IAgentSpeechInputProperties __RPC_FAR * This,
  2042.             /* [out] */ BSTR __RPC_FAR *pbszHotCharKey);
  2043.         
  2044.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLCID )( 
  2045.             IAgentSpeechInputProperties __RPC_FAR * This,
  2046.             /* [out] */ LCID __RPC_FAR *plcidCurrent);
  2047.         
  2048.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEngine )( 
  2049.             IAgentSpeechInputProperties __RPC_FAR * This,
  2050.             /* [out] */ BSTR __RPC_FAR *pbszEngine);
  2051.         
  2052.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetEngine )( 
  2053.             IAgentSpeechInputProperties __RPC_FAR * This,
  2054.             /* [in] */ BSTR bszEngine);
  2055.         
  2056.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetListeningTip )( 
  2057.             IAgentSpeechInputProperties __RPC_FAR * This,
  2058.             /* [out] */ long __RPC_FAR *pbListeningTip);
  2059.         
  2060.         END_INTERFACE
  2061.     } IAgentSpeechInputPropertiesVtbl;
  2062.     interface IAgentSpeechInputProperties
  2063.     {
  2064.         CONST_VTBL struct IAgentSpeechInputPropertiesVtbl __RPC_FAR *lpVtbl;
  2065.     };
  2066.     
  2067. #ifdef COBJMACROS
  2068. #define IAgentSpeechInputProperties_QueryInterface(This,riid,ppvObject)
  2069.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2070. #define IAgentSpeechInputProperties_AddRef(This)
  2071.     (This)->lpVtbl -> AddRef(This)
  2072. #define IAgentSpeechInputProperties_Release(This)
  2073.     (This)->lpVtbl -> Release(This)
  2074. #define IAgentSpeechInputProperties_GetTypeInfoCount(This,pctinfo)
  2075.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2076. #define IAgentSpeechInputProperties_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2077.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2078. #define IAgentSpeechInputProperties_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2079.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2080. #define IAgentSpeechInputProperties_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2081.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2082. #define IAgentSpeechInputProperties_GetInstalled(This,pbInstalled)
  2083.     (This)->lpVtbl -> GetInstalled(This,pbInstalled)
  2084. #define IAgentSpeechInputProperties_GetEnabled(This,pbEnabled)
  2085.     (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  2086. #define IAgentSpeechInputProperties_GetHotKey(This,pbszHotCharKey)
  2087.     (This)->lpVtbl -> GetHotKey(This,pbszHotCharKey)
  2088. #define IAgentSpeechInputProperties_GetLCID(This,plcidCurrent)
  2089.     (This)->lpVtbl -> GetLCID(This,plcidCurrent)
  2090. #define IAgentSpeechInputProperties_GetEngine(This,pbszEngine)
  2091.     (This)->lpVtbl -> GetEngine(This,pbszEngine)
  2092. #define IAgentSpeechInputProperties_SetEngine(This,bszEngine)
  2093.     (This)->lpVtbl -> SetEngine(This,bszEngine)
  2094. #define IAgentSpeechInputProperties_GetListeningTip(This,pbListeningTip)
  2095.     (This)->lpVtbl -> GetListeningTip(This,pbListeningTip)
  2096. #endif /* COBJMACROS */
  2097. #endif  /* C style interface */
  2098. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetInstalled_Proxy( 
  2099.     IAgentSpeechInputProperties __RPC_FAR * This,
  2100.     /* [out] */ long __RPC_FAR *pbInstalled);
  2101. void __RPC_STUB IAgentSpeechInputProperties_GetInstalled_Stub(
  2102.     IRpcStubBuffer *This,
  2103.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2104.     PRPC_MESSAGE _pRpcMessage,
  2105.     DWORD *_pdwStubPhase);
  2106. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetEnabled_Proxy( 
  2107.     IAgentSpeechInputProperties __RPC_FAR * This,
  2108.     /* [out] */ long __RPC_FAR *pbEnabled);
  2109. void __RPC_STUB IAgentSpeechInputProperties_GetEnabled_Stub(
  2110.     IRpcStubBuffer *This,
  2111.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2112.     PRPC_MESSAGE _pRpcMessage,
  2113.     DWORD *_pdwStubPhase);
  2114. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetHotKey_Proxy( 
  2115.     IAgentSpeechInputProperties __RPC_FAR * This,
  2116.     /* [out] */ BSTR __RPC_FAR *pbszHotCharKey);
  2117. void __RPC_STUB IAgentSpeechInputProperties_GetHotKey_Stub(
  2118.     IRpcStubBuffer *This,
  2119.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2120.     PRPC_MESSAGE _pRpcMessage,
  2121.     DWORD *_pdwStubPhase);
  2122. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetLCID_Proxy( 
  2123.     IAgentSpeechInputProperties __RPC_FAR * This,
  2124.     /* [out] */ LCID __RPC_FAR *plcidCurrent);
  2125. void __RPC_STUB IAgentSpeechInputProperties_GetLCID_Stub(
  2126.     IRpcStubBuffer *This,
  2127.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2128.     PRPC_MESSAGE _pRpcMessage,
  2129.     DWORD *_pdwStubPhase);
  2130. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetEngine_Proxy( 
  2131.     IAgentSpeechInputProperties __RPC_FAR * This,
  2132.     /* [out] */ BSTR __RPC_FAR *pbszEngine);
  2133. void __RPC_STUB IAgentSpeechInputProperties_GetEngine_Stub(
  2134.     IRpcStubBuffer *This,
  2135.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2136.     PRPC_MESSAGE _pRpcMessage,
  2137.     DWORD *_pdwStubPhase);
  2138. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_SetEngine_Proxy( 
  2139.     IAgentSpeechInputProperties __RPC_FAR * This,
  2140.     /* [in] */ BSTR bszEngine);
  2141. void __RPC_STUB IAgentSpeechInputProperties_SetEngine_Stub(
  2142.     IRpcStubBuffer *This,
  2143.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2144.     PRPC_MESSAGE _pRpcMessage,
  2145.     DWORD *_pdwStubPhase);
  2146. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetListeningTip_Proxy( 
  2147.     IAgentSpeechInputProperties __RPC_FAR * This,
  2148.     /* [out] */ long __RPC_FAR *pbListeningTip);
  2149. void __RPC_STUB IAgentSpeechInputProperties_GetListeningTip_Stub(
  2150.     IRpcStubBuffer *This,
  2151.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2152.     PRPC_MESSAGE _pRpcMessage,
  2153.     DWORD *_pdwStubPhase);
  2154. #endif  /* __IAgentSpeechInputProperties_INTERFACE_DEFINED__ */
  2155. #ifndef __IAgentAudioOutputProperties_INTERFACE_DEFINED__
  2156. #define __IAgentAudioOutputProperties_INTERFACE_DEFINED__
  2157. /****************************************
  2158.  * Generated header for interface: IAgentAudioOutputProperties
  2159.  * at Mon Aug 31 17:00:38 1998
  2160.  * using MIDL 3.01.75
  2161.  ****************************************/
  2162. /* [unique][helpstring][dual][uuid][object] */ 
  2163. EXTERN_C const IID IID_IAgentAudioOutputProperties;
  2164. #if defined(__cplusplus) && !defined(CINTERFACE)
  2165.     
  2166.     interface DECLSPEC_UUID("A7B93C89-7B81-11D0-AC5F-00C04FD97575")
  2167.     IAgentAudioOutputProperties : public IDispatch
  2168.     {
  2169.     public:
  2170.         virtual HRESULT STDMETHODCALLTYPE GetEnabled( 
  2171.             /* [out] */ long __RPC_FAR *pbEnabled) = 0;
  2172.         
  2173.         virtual HRESULT STDMETHODCALLTYPE GetUsingSoundEffects( 
  2174.             /* [out] */ long __RPC_FAR *pbUsingSoundEffects) = 0;
  2175.         
  2176.     };
  2177.     
  2178. #else  /* C style interface */
  2179.     typedef struct IAgentAudioOutputPropertiesVtbl
  2180.     {
  2181.         BEGIN_INTERFACE
  2182.         
  2183.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2184.             IAgentAudioOutputProperties __RPC_FAR * This,
  2185.             /* [in] */ REFIID riid,
  2186.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2187.         
  2188.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2189.             IAgentAudioOutputProperties __RPC_FAR * This);
  2190.         
  2191.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2192.             IAgentAudioOutputProperties __RPC_FAR * This);
  2193.         
  2194.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  2195.             IAgentAudioOutputProperties __RPC_FAR * This,
  2196.             /* [out] */ UINT __RPC_FAR *pctinfo);
  2197.         
  2198.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  2199.             IAgentAudioOutputProperties __RPC_FAR * This,
  2200.             /* [in] */ UINT iTInfo,
  2201.             /* [in] */ LCID lcid,
  2202.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2203.         
  2204.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  2205.             IAgentAudioOutputProperties __RPC_FAR * This,
  2206.             /* [in] */ REFIID riid,
  2207.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2208.             /* [in] */ UINT cNames,
  2209.             /* [in] */ LCID lcid,
  2210.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2211.         
  2212.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  2213.             IAgentAudioOutputProperties __RPC_FAR * This,
  2214.             /* [in] */ DISPID dispIdMember,
  2215.             /* [in] */ REFIID riid,
  2216.             /* [in] */ LCID lcid,
  2217.             /* [in] */ WORD wFlags,
  2218.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2219.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2220.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2221.             /* [out] */ UINT __RPC_FAR *puArgErr);
  2222.         
  2223.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )( 
  2224.             IAgentAudioOutputProperties __RPC_FAR * This,
  2225.             /* [out] */ long __RPC_FAR *pbEnabled);
  2226.         
  2227.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetUsingSoundEffects )( 
  2228.             IAgentAudioOutputProperties __RPC_FAR * This,
  2229.             /* [out] */ long __RPC_FAR *pbUsingSoundEffects);
  2230.         
  2231.         END_INTERFACE
  2232.     } IAgentAudioOutputPropertiesVtbl;
  2233.     interface IAgentAudioOutputProperties
  2234.     {
  2235.         CONST_VTBL struct IAgentAudioOutputPropertiesVtbl __RPC_FAR *lpVtbl;
  2236.     };
  2237.     
  2238. #ifdef COBJMACROS
  2239. #define IAgentAudioOutputProperties_QueryInterface(This,riid,ppvObject)
  2240.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2241. #define IAgentAudioOutputProperties_AddRef(This)
  2242.     (This)->lpVtbl -> AddRef(This)
  2243. #define IAgentAudioOutputProperties_Release(This)
  2244.     (This)->lpVtbl -> Release(This)
  2245. #define IAgentAudioOutputProperties_GetTypeInfoCount(This,pctinfo)
  2246.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2247. #define IAgentAudioOutputProperties_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2248.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2249. #define IAgentAudioOutputProperties_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2250.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2251. #define IAgentAudioOutputProperties_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2252.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2253. #define IAgentAudioOutputProperties_GetEnabled(This,pbEnabled)
  2254.     (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  2255. #define IAgentAudioOutputProperties_GetUsingSoundEffects(This,pbUsingSoundEffects)
  2256.     (This)->lpVtbl -> GetUsingSoundEffects(This,pbUsingSoundEffects)
  2257. #endif /* COBJMACROS */
  2258. #endif  /* C style interface */
  2259. HRESULT STDMETHODCALLTYPE IAgentAudioOutputProperties_GetEnabled_Proxy( 
  2260.     IAgentAudioOutputProperties __RPC_FAR * This,
  2261.     /* [out] */ long __RPC_FAR *pbEnabled);
  2262. void __RPC_STUB IAgentAudioOutputProperties_GetEnabled_Stub(
  2263.     IRpcStubBuffer *This,
  2264.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2265.     PRPC_MESSAGE _pRpcMessage,
  2266.     DWORD *_pdwStubPhase);
  2267. HRESULT STDMETHODCALLTYPE IAgentAudioOutputProperties_GetUsingSoundEffects_Proxy( 
  2268.     IAgentAudioOutputProperties __RPC_FAR * This,
  2269.     /* [out] */ long __RPC_FAR *pbUsingSoundEffects);
  2270. void __RPC_STUB IAgentAudioOutputProperties_GetUsingSoundEffects_Stub(
  2271.     IRpcStubBuffer *This,
  2272.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2273.     PRPC_MESSAGE _pRpcMessage,
  2274.     DWORD *_pdwStubPhase);
  2275. #endif  /* __IAgentAudioOutputProperties_INTERFACE_DEFINED__ */
  2276. #ifndef __IAgentAudioOutputPropertiesEx_INTERFACE_DEFINED__
  2277. #define __IAgentAudioOutputPropertiesEx_INTERFACE_DEFINED__
  2278. /****************************************
  2279.  * Generated header for interface: IAgentAudioOutputPropertiesEx
  2280.  * at Mon Aug 31 17:00:38 1998
  2281.  * using MIDL 3.01.75
  2282.  ****************************************/
  2283. /* [unique][helpstring][dual][uuid][object] */ 
  2284. EXTERN_C const IID IID_IAgentAudioOutputPropertiesEx;
  2285. #if defined(__cplusplus) && !defined(CINTERFACE)
  2286.     
  2287.     interface DECLSPEC_UUID("A7B93CA0-7B81-11D0-AC5F-00C04FD97575")
  2288.     IAgentAudioOutputPropertiesEx : public IAgentAudioOutputProperties
  2289.     {
  2290.     public:
  2291.         virtual HRESULT STDMETHODCALLTYPE GetStatus( 
  2292.             /* [out] */ long __RPC_FAR *plStatus) = 0;
  2293.         
  2294.     };
  2295.     
  2296. #else  /* C style interface */
  2297.     typedef struct IAgentAudioOutputPropertiesExVtbl
  2298.     {
  2299.         BEGIN_INTERFACE
  2300.         
  2301.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2302.             IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  2303.             /* [in] */ REFIID riid,
  2304.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2305.         
  2306.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2307.             IAgentAudioOutputPropertiesEx __RPC_FAR * This);
  2308.         
  2309.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2310.             IAgentAudioOutputPropertiesEx __RPC_FAR * This);
  2311.         
  2312.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  2313.             IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  2314.             /* [out] */ UINT __RPC_FAR *pctinfo);
  2315.         
  2316.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  2317.             IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  2318.             /* [in] */ UINT iTInfo,
  2319.             /* [in] */ LCID lcid,
  2320.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2321.         
  2322.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  2323.             IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  2324.             /* [in] */ REFIID riid,
  2325.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2326.             /* [in] */ UINT cNames,
  2327.             /* [in] */ LCID lcid,
  2328.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2329.         
  2330.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  2331.             IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  2332.             /* [in] */ DISPID dispIdMember,
  2333.             /* [in] */ REFIID riid,
  2334.             /* [in] */ LCID lcid,
  2335.             /* [in] */ WORD wFlags,
  2336.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2337.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2338.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2339.             /* [out] */ UINT __RPC_FAR *puArgErr);
  2340.         
  2341.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )( 
  2342.             IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  2343.             /* [out] */ long __RPC_FAR *pbEnabled);
  2344.         
  2345.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetUsingSoundEffects )( 
  2346.             IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  2347.             /* [out] */ long __RPC_FAR *pbUsingSoundEffects);
  2348.         
  2349.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStatus )( 
  2350.             IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  2351.             /* [out] */ long __RPC_FAR *plStatus);
  2352.         
  2353.         END_INTERFACE
  2354.     } IAgentAudioOutputPropertiesExVtbl;
  2355.     interface IAgentAudioOutputPropertiesEx
  2356.     {
  2357.         CONST_VTBL struct IAgentAudioOutputPropertiesExVtbl __RPC_FAR *lpVtbl;
  2358.     };
  2359.     
  2360. #ifdef COBJMACROS
  2361. #define IAgentAudioOutputPropertiesEx_QueryInterface(This,riid,ppvObject)
  2362.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2363. #define IAgentAudioOutputPropertiesEx_AddRef(This)
  2364.     (This)->lpVtbl -> AddRef(This)
  2365. #define IAgentAudioOutputPropertiesEx_Release(This)
  2366.     (This)->lpVtbl -> Release(This)
  2367. #define IAgentAudioOutputPropertiesEx_GetTypeInfoCount(This,pctinfo)
  2368.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2369. #define IAgentAudioOutputPropertiesEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2370.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2371. #define IAgentAudioOutputPropertiesEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2372.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2373. #define IAgentAudioOutputPropertiesEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2374.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2375. #define IAgentAudioOutputPropertiesEx_GetEnabled(This,pbEnabled)
  2376.     (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  2377. #define IAgentAudioOutputPropertiesEx_GetUsingSoundEffects(This,pbUsingSoundEffects)
  2378.     (This)->lpVtbl -> GetUsingSoundEffects(This,pbUsingSoundEffects)
  2379. #define IAgentAudioOutputPropertiesEx_GetStatus(This,plStatus)
  2380.     (This)->lpVtbl -> GetStatus(This,plStatus)
  2381. #endif /* COBJMACROS */
  2382. #endif  /* C style interface */
  2383. HRESULT STDMETHODCALLTYPE IAgentAudioOutputPropertiesEx_GetStatus_Proxy( 
  2384.     IAgentAudioOutputPropertiesEx __RPC_FAR * This,
  2385.     /* [out] */ long __RPC_FAR *plStatus);
  2386. void __RPC_STUB IAgentAudioOutputPropertiesEx_GetStatus_Stub(
  2387.     IRpcStubBuffer *This,
  2388.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2389.     PRPC_MESSAGE _pRpcMessage,
  2390.     DWORD *_pdwStubPhase);
  2391. #endif  /* __IAgentAudioOutputPropertiesEx_INTERFACE_DEFINED__ */
  2392. #ifndef __IAgentPropertySheet_INTERFACE_DEFINED__
  2393. #define __IAgentPropertySheet_INTERFACE_DEFINED__
  2394. /****************************************
  2395.  * Generated header for interface: IAgentPropertySheet
  2396.  * at Mon Aug 31 17:00:38 1998
  2397.  * using MIDL 3.01.75
  2398.  ****************************************/
  2399. /* [unique][helpstring][dual][uuid][object] */ 
  2400. EXTERN_C const IID IID_IAgentPropertySheet;
  2401. #if defined(__cplusplus) && !defined(CINTERFACE)
  2402.     
  2403.     interface DECLSPEC_UUID("A7B93C8B-7B81-11D0-AC5F-00C04FD97575")
  2404.     IAgentPropertySheet : public IDispatch
  2405.     {
  2406.     public:
  2407.         virtual HRESULT STDMETHODCALLTYPE GetVisible( 
  2408.             /* [out] */ long __RPC_FAR *pbVisible) = 0;
  2409.         
  2410.         virtual HRESULT STDMETHODCALLTYPE SetVisible( 
  2411.             /* [in] */ long bVisible) = 0;
  2412.         
  2413.         virtual HRESULT STDMETHODCALLTYPE GetPosition( 
  2414.             /* [out] */ long __RPC_FAR *plLeft,
  2415.             /* [out] */ long __RPC_FAR *plTop) = 0;
  2416.         
  2417.         virtual HRESULT STDMETHODCALLTYPE GetSize( 
  2418.             /* [out] */ long __RPC_FAR *plWidth,
  2419.             /* [out] */ long __RPC_FAR *plHeight) = 0;
  2420.         
  2421.         virtual HRESULT STDMETHODCALLTYPE GetPage( 
  2422.             /* [out] */ BSTR __RPC_FAR *pbszPage) = 0;
  2423.         
  2424.         virtual HRESULT STDMETHODCALLTYPE SetPage( 
  2425.             /* [in] */ BSTR bszPage) = 0;
  2426.         
  2427.     };
  2428.     
  2429. #else  /* C style interface */
  2430.     typedef struct IAgentPropertySheetVtbl
  2431.     {
  2432.         BEGIN_INTERFACE
  2433.         
  2434.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2435.             IAgentPropertySheet __RPC_FAR * This,
  2436.             /* [in] */ REFIID riid,
  2437.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2438.         
  2439.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2440.             IAgentPropertySheet __RPC_FAR * This);
  2441.         
  2442.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2443.             IAgentPropertySheet __RPC_FAR * This);
  2444.         
  2445.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  2446.             IAgentPropertySheet __RPC_FAR * This,
  2447.             /* [out] */ UINT __RPC_FAR *pctinfo);
  2448.         
  2449.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  2450.             IAgentPropertySheet __RPC_FAR * This,
  2451.             /* [in] */ UINT iTInfo,
  2452.             /* [in] */ LCID lcid,
  2453.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2454.         
  2455.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  2456.             IAgentPropertySheet __RPC_FAR * This,
  2457.             /* [in] */ REFIID riid,
  2458.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2459.             /* [in] */ UINT cNames,
  2460.             /* [in] */ LCID lcid,
  2461.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2462.         
  2463.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  2464.             IAgentPropertySheet __RPC_FAR * This,
  2465.             /* [in] */ DISPID dispIdMember,
  2466.             /* [in] */ REFIID riid,
  2467.             /* [in] */ LCID lcid,
  2468.             /* [in] */ WORD wFlags,
  2469.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2470.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2471.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2472.             /* [out] */ UINT __RPC_FAR *puArgErr);
  2473.         
  2474.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )( 
  2475.             IAgentPropertySheet __RPC_FAR * This,
  2476.             /* [out] */ long __RPC_FAR *pbVisible);
  2477.         
  2478.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )( 
  2479.             IAgentPropertySheet __RPC_FAR * This,
  2480.             /* [in] */ long bVisible);
  2481.         
  2482.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPosition )( 
  2483.             IAgentPropertySheet __RPC_FAR * This,
  2484.             /* [out] */ long __RPC_FAR *plLeft,
  2485.             /* [out] */ long __RPC_FAR *plTop);
  2486.         
  2487.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSize )( 
  2488.             IAgentPropertySheet __RPC_FAR * This,
  2489.             /* [out] */ long __RPC_FAR *plWidth,
  2490.             /* [out] */ long __RPC_FAR *plHeight);
  2491.         
  2492.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPage )( 
  2493.             IAgentPropertySheet __RPC_FAR * This,
  2494.             /* [out] */ BSTR __RPC_FAR *pbszPage);
  2495.         
  2496.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPage )( 
  2497.             IAgentPropertySheet __RPC_FAR * This,
  2498.             /* [in] */ BSTR bszPage);
  2499.         
  2500.         END_INTERFACE
  2501.     } IAgentPropertySheetVtbl;
  2502.     interface IAgentPropertySheet
  2503.     {
  2504.         CONST_VTBL struct IAgentPropertySheetVtbl __RPC_FAR *lpVtbl;
  2505.     };
  2506.     
  2507. #ifdef COBJMACROS
  2508. #define IAgentPropertySheet_QueryInterface(This,riid,ppvObject)
  2509.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2510. #define IAgentPropertySheet_AddRef(This)
  2511.     (This)->lpVtbl -> AddRef(This)
  2512. #define IAgentPropertySheet_Release(This)
  2513.     (This)->lpVtbl -> Release(This)
  2514. #define IAgentPropertySheet_GetTypeInfoCount(This,pctinfo)
  2515.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2516. #define IAgentPropertySheet_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2517.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2518. #define IAgentPropertySheet_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2519.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2520. #define IAgentPropertySheet_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2521.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2522. #define IAgentPropertySheet_GetVisible(This,pbVisible)
  2523.     (This)->lpVtbl -> GetVisible(This,pbVisible)
  2524. #define IAgentPropertySheet_SetVisible(This,bVisible)
  2525.     (This)->lpVtbl -> SetVisible(This,bVisible)
  2526. #define IAgentPropertySheet_GetPosition(This,plLeft,plTop)
  2527.     (This)->lpVtbl -> GetPosition(This,plLeft,plTop)
  2528. #define IAgentPropertySheet_GetSize(This,plWidth,plHeight)
  2529.     (This)->lpVtbl -> GetSize(This,plWidth,plHeight)
  2530. #define IAgentPropertySheet_GetPage(This,pbszPage)
  2531.     (This)->lpVtbl -> GetPage(This,pbszPage)
  2532. #define IAgentPropertySheet_SetPage(This,bszPage)
  2533.     (This)->lpVtbl -> SetPage(This,bszPage)
  2534. #endif /* COBJMACROS */
  2535. #endif  /* C style interface */
  2536. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_GetVisible_Proxy( 
  2537.     IAgentPropertySheet __RPC_FAR * This,
  2538.     /* [out] */ long __RPC_FAR *pbVisible);
  2539. void __RPC_STUB IAgentPropertySheet_GetVisible_Stub(
  2540.     IRpcStubBuffer *This,
  2541.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2542.     PRPC_MESSAGE _pRpcMessage,
  2543.     DWORD *_pdwStubPhase);
  2544. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_SetVisible_Proxy( 
  2545.     IAgentPropertySheet __RPC_FAR * This,
  2546.     /* [in] */ long bVisible);
  2547. void __RPC_STUB IAgentPropertySheet_SetVisible_Stub(
  2548.     IRpcStubBuffer *This,
  2549.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2550.     PRPC_MESSAGE _pRpcMessage,
  2551.     DWORD *_pdwStubPhase);
  2552. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_GetPosition_Proxy( 
  2553.     IAgentPropertySheet __RPC_FAR * This,
  2554.     /* [out] */ long __RPC_FAR *plLeft,
  2555.     /* [out] */ long __RPC_FAR *plTop);
  2556. void __RPC_STUB IAgentPropertySheet_GetPosition_Stub(
  2557.     IRpcStubBuffer *This,
  2558.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2559.     PRPC_MESSAGE _pRpcMessage,
  2560.     DWORD *_pdwStubPhase);
  2561. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_GetSize_Proxy( 
  2562.     IAgentPropertySheet __RPC_FAR * This,
  2563.     /* [out] */ long __RPC_FAR *plWidth,
  2564.     /* [out] */ long __RPC_FAR *plHeight);
  2565. void __RPC_STUB IAgentPropertySheet_GetSize_Stub(
  2566.     IRpcStubBuffer *This,
  2567.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2568.     PRPC_MESSAGE _pRpcMessage,
  2569.     DWORD *_pdwStubPhase);
  2570. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_GetPage_Proxy( 
  2571.     IAgentPropertySheet __RPC_FAR * This,
  2572.     /* [out] */ BSTR __RPC_FAR *pbszPage);
  2573. void __RPC_STUB IAgentPropertySheet_GetPage_Stub(
  2574.     IRpcStubBuffer *This,
  2575.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2576.     PRPC_MESSAGE _pRpcMessage,
  2577.     DWORD *_pdwStubPhase);
  2578. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_SetPage_Proxy( 
  2579.     IAgentPropertySheet __RPC_FAR * This,
  2580.     /* [in] */ BSTR bszPage);
  2581. void __RPC_STUB IAgentPropertySheet_SetPage_Stub(
  2582.     IRpcStubBuffer *This,
  2583.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2584.     PRPC_MESSAGE _pRpcMessage,
  2585.     DWORD *_pdwStubPhase);
  2586. #endif  /* __IAgentPropertySheet_INTERFACE_DEFINED__ */
  2587. #ifndef __IAgentBalloon_INTERFACE_DEFINED__
  2588. #define __IAgentBalloon_INTERFACE_DEFINED__
  2589. /****************************************
  2590.  * Generated header for interface: IAgentBalloon
  2591.  * at Mon Aug 31 17:00:38 1998
  2592.  * using MIDL 3.01.75
  2593.  ****************************************/
  2594. /* [unique][helpstring][dual][uuid][object] */ 
  2595. EXTERN_C const IID IID_IAgentBalloon;
  2596. #if defined(__cplusplus) && !defined(CINTERFACE)
  2597.     
  2598.     interface DECLSPEC_UUID("A7B93C8D-7B81-11D0-AC5F-00C04FD97575")
  2599.     IAgentBalloon : public IDispatch
  2600.     {
  2601.     public:
  2602.         virtual HRESULT STDMETHODCALLTYPE GetEnabled( 
  2603.             /* [out] */ long __RPC_FAR *pbEnabled) = 0;
  2604.         
  2605.         virtual HRESULT STDMETHODCALLTYPE GetNumLines( 
  2606.             /* [out] */ long __RPC_FAR *plLines) = 0;
  2607.         
  2608.         virtual HRESULT STDMETHODCALLTYPE GetNumCharsPerLine( 
  2609.             /* [out] */ long __RPC_FAR *plCharsPerLine) = 0;
  2610.         
  2611.         virtual HRESULT STDMETHODCALLTYPE GetFontName( 
  2612.             /* [out] */ BSTR __RPC_FAR *pbszFontName) = 0;
  2613.         
  2614.         virtual HRESULT STDMETHODCALLTYPE GetFontSize( 
  2615.             /* [out] */ long __RPC_FAR *plFontSize) = 0;
  2616.         
  2617.         virtual HRESULT STDMETHODCALLTYPE GetFontBold( 
  2618.             /* [out] */ long __RPC_FAR *pbFontBold) = 0;
  2619.         
  2620.         virtual HRESULT STDMETHODCALLTYPE GetFontItalic( 
  2621.             /* [out] */ long __RPC_FAR *pbFontItalic) = 0;
  2622.         
  2623.         virtual HRESULT STDMETHODCALLTYPE GetFontStrikethru( 
  2624.             /* [out] */ long __RPC_FAR *pbFontStrikethru) = 0;
  2625.         
  2626.         virtual HRESULT STDMETHODCALLTYPE GetFontUnderline( 
  2627.             /* [out] */ long __RPC_FAR *pbFontUnderline) = 0;
  2628.         
  2629.         virtual HRESULT STDMETHODCALLTYPE GetForeColor( 
  2630.             /* [out] */ long __RPC_FAR *plFGColor) = 0;
  2631.         
  2632.         virtual HRESULT STDMETHODCALLTYPE GetBackColor( 
  2633.             /* [out] */ long __RPC_FAR *plBGColor) = 0;
  2634.         
  2635.         virtual HRESULT STDMETHODCALLTYPE GetBorderColor( 
  2636.             /* [out] */ long __RPC_FAR *plBorderColor) = 0;
  2637.         
  2638.         virtual HRESULT STDMETHODCALLTYPE SetVisible( 
  2639.             /* [in] */ long bVisible) = 0;
  2640.         
  2641.         virtual HRESULT STDMETHODCALLTYPE GetVisible( 
  2642.             /* [out] */ long __RPC_FAR *pbVisible) = 0;
  2643.         
  2644.         virtual HRESULT STDMETHODCALLTYPE SetFontName( 
  2645.             /* [in] */ BSTR bszFontName) = 0;
  2646.         
  2647.         virtual HRESULT STDMETHODCALLTYPE SetFontSize( 
  2648.             /* [in] */ long lFontSize) = 0;
  2649.         
  2650.         virtual HRESULT STDMETHODCALLTYPE SetFontCharSet( 
  2651.             /* [in] */ short sFontCharSet) = 0;
  2652.         
  2653.         virtual HRESULT STDMETHODCALLTYPE GetFontCharSet( 
  2654.             /* [out] */ short __RPC_FAR *psFontCharSet) = 0;
  2655.         
  2656.     };
  2657.     
  2658. #else  /* C style interface */
  2659.     typedef struct IAgentBalloonVtbl
  2660.     {
  2661.         BEGIN_INTERFACE
  2662.         
  2663.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2664.             IAgentBalloon __RPC_FAR * This,
  2665.             /* [in] */ REFIID riid,
  2666.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2667.         
  2668.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2669.             IAgentBalloon __RPC_FAR * This);
  2670.         
  2671.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2672.             IAgentBalloon __RPC_FAR * This);
  2673.         
  2674.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  2675.             IAgentBalloon __RPC_FAR * This,
  2676.             /* [out] */ UINT __RPC_FAR *pctinfo);
  2677.         
  2678.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  2679.             IAgentBalloon __RPC_FAR * This,
  2680.             /* [in] */ UINT iTInfo,
  2681.             /* [in] */ LCID lcid,
  2682.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2683.         
  2684.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  2685.             IAgentBalloon __RPC_FAR * This,
  2686.             /* [in] */ REFIID riid,
  2687.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2688.             /* [in] */ UINT cNames,
  2689.             /* [in] */ LCID lcid,
  2690.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2691.         
  2692.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  2693.             IAgentBalloon __RPC_FAR * This,
  2694.             /* [in] */ DISPID dispIdMember,
  2695.             /* [in] */ REFIID riid,
  2696.             /* [in] */ LCID lcid,
  2697.             /* [in] */ WORD wFlags,
  2698.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2699.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2700.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2701.             /* [out] */ UINT __RPC_FAR *puArgErr);
  2702.         
  2703.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )( 
  2704.             IAgentBalloon __RPC_FAR * This,
  2705.             /* [out] */ long __RPC_FAR *pbEnabled);
  2706.         
  2707.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNumLines )( 
  2708.             IAgentBalloon __RPC_FAR * This,
  2709.             /* [out] */ long __RPC_FAR *plLines);
  2710.         
  2711.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNumCharsPerLine )( 
  2712.             IAgentBalloon __RPC_FAR * This,
  2713.             /* [out] */ long __RPC_FAR *plCharsPerLine);
  2714.         
  2715.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontName )( 
  2716.             IAgentBalloon __RPC_FAR * This,
  2717.             /* [out] */ BSTR __RPC_FAR *pbszFontName);
  2718.         
  2719.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontSize )( 
  2720.             IAgentBalloon __RPC_FAR * This,
  2721.             /* [out] */ long __RPC_FAR *plFontSize);
  2722.         
  2723.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontBold )( 
  2724.             IAgentBalloon __RPC_FAR * This,
  2725.             /* [out] */ long __RPC_FAR *pbFontBold);
  2726.         
  2727.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontItalic )( 
  2728.             IAgentBalloon __RPC_FAR * This,
  2729.             /* [out] */ long __RPC_FAR *pbFontItalic);
  2730.         
  2731.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontStrikethru )( 
  2732.             IAgentBalloon __RPC_FAR * This,
  2733.             /* [out] */ long __RPC_FAR *pbFontStrikethru);
  2734.         
  2735.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontUnderline )( 
  2736.             IAgentBalloon __RPC_FAR * This,
  2737.             /* [out] */ long __RPC_FAR *pbFontUnderline);
  2738.         
  2739.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetForeColor )( 
  2740.             IAgentBalloon __RPC_FAR * This,
  2741.             /* [out] */ long __RPC_FAR *plFGColor);
  2742.         
  2743.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBackColor )( 
  2744.             IAgentBalloon __RPC_FAR * This,
  2745.             /* [out] */ long __RPC_FAR *plBGColor);
  2746.         
  2747.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBorderColor )( 
  2748.             IAgentBalloon __RPC_FAR * This,
  2749.             /* [out] */ long __RPC_FAR *plBorderColor);
  2750.         
  2751.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )( 
  2752.             IAgentBalloon __RPC_FAR * This,
  2753.             /* [in] */ long bVisible);
  2754.         
  2755.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )( 
  2756.             IAgentBalloon __RPC_FAR * This,
  2757.             /* [out] */ long __RPC_FAR *pbVisible);
  2758.         
  2759.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontName )( 
  2760.             IAgentBalloon __RPC_FAR * This,
  2761.             /* [in] */ BSTR bszFontName);
  2762.         
  2763.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontSize )( 
  2764.             IAgentBalloon __RPC_FAR * This,
  2765.             /* [in] */ long lFontSize);
  2766.         
  2767.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontCharSet )( 
  2768.             IAgentBalloon __RPC_FAR * This,
  2769.             /* [in] */ short sFontCharSet);
  2770.         
  2771.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontCharSet )( 
  2772.             IAgentBalloon __RPC_FAR * This,
  2773.             /* [out] */ short __RPC_FAR *psFontCharSet);
  2774.         
  2775.         END_INTERFACE
  2776.     } IAgentBalloonVtbl;
  2777.     interface IAgentBalloon
  2778.     {
  2779.         CONST_VTBL struct IAgentBalloonVtbl __RPC_FAR *lpVtbl;
  2780.     };
  2781.     
  2782. #ifdef COBJMACROS
  2783. #define IAgentBalloon_QueryInterface(This,riid,ppvObject)
  2784.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2785. #define IAgentBalloon_AddRef(This)
  2786.     (This)->lpVtbl -> AddRef(This)
  2787. #define IAgentBalloon_Release(This)
  2788.     (This)->lpVtbl -> Release(This)
  2789. #define IAgentBalloon_GetTypeInfoCount(This,pctinfo)
  2790.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2791. #define IAgentBalloon_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2792.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2793. #define IAgentBalloon_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2794.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2795. #define IAgentBalloon_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2796.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2797. #define IAgentBalloon_GetEnabled(This,pbEnabled)
  2798.     (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  2799. #define IAgentBalloon_GetNumLines(This,plLines)
  2800.     (This)->lpVtbl -> GetNumLines(This,plLines)
  2801. #define IAgentBalloon_GetNumCharsPerLine(This,plCharsPerLine)
  2802.     (This)->lpVtbl -> GetNumCharsPerLine(This,plCharsPerLine)
  2803. #define IAgentBalloon_GetFontName(This,pbszFontName)
  2804.     (This)->lpVtbl -> GetFontName(This,pbszFontName)
  2805. #define IAgentBalloon_GetFontSize(This,plFontSize)
  2806.     (This)->lpVtbl -> GetFontSize(This,plFontSize)
  2807. #define IAgentBalloon_GetFontBold(This,pbFontBold)
  2808.     (This)->lpVtbl -> GetFontBold(This,pbFontBold)
  2809. #define IAgentBalloon_GetFontItalic(This,pbFontItalic)
  2810.     (This)->lpVtbl -> GetFontItalic(This,pbFontItalic)
  2811. #define IAgentBalloon_GetFontStrikethru(This,pbFontStrikethru)
  2812.     (This)->lpVtbl -> GetFontStrikethru(This,pbFontStrikethru)
  2813. #define IAgentBalloon_GetFontUnderline(This,pbFontUnderline)
  2814.     (This)->lpVtbl -> GetFontUnderline(This,pbFontUnderline)
  2815. #define IAgentBalloon_GetForeColor(This,plFGColor)
  2816.     (This)->lpVtbl -> GetForeColor(This,plFGColor)
  2817. #define IAgentBalloon_GetBackColor(This,plBGColor)
  2818.     (This)->lpVtbl -> GetBackColor(This,plBGColor)
  2819. #define IAgentBalloon_GetBorderColor(This,plBorderColor)
  2820.     (This)->lpVtbl -> GetBorderColor(This,plBorderColor)
  2821. #define IAgentBalloon_SetVisible(This,bVisible)
  2822.     (This)->lpVtbl -> SetVisible(This,bVisible)
  2823. #define IAgentBalloon_GetVisible(This,pbVisible)
  2824.     (This)->lpVtbl -> GetVisible(This,pbVisible)
  2825. #define IAgentBalloon_SetFontName(This,bszFontName)
  2826.     (This)->lpVtbl -> SetFontName(This,bszFontName)
  2827. #define IAgentBalloon_SetFontSize(This,lFontSize)
  2828.     (This)->lpVtbl -> SetFontSize(This,lFontSize)
  2829. #define IAgentBalloon_SetFontCharSet(This,sFontCharSet)
  2830.     (This)->lpVtbl -> SetFontCharSet(This,sFontCharSet)
  2831. #define IAgentBalloon_GetFontCharSet(This,psFontCharSet)
  2832.     (This)->lpVtbl -> GetFontCharSet(This,psFontCharSet)
  2833. #endif /* COBJMACROS */
  2834. #endif  /* C style interface */
  2835. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetEnabled_Proxy( 
  2836.     IAgentBalloon __RPC_FAR * This,
  2837.     /* [out] */ long __RPC_FAR *pbEnabled);
  2838. void __RPC_STUB IAgentBalloon_GetEnabled_Stub(
  2839.     IRpcStubBuffer *This,
  2840.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2841.     PRPC_MESSAGE _pRpcMessage,
  2842.     DWORD *_pdwStubPhase);
  2843. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetNumLines_Proxy( 
  2844.     IAgentBalloon __RPC_FAR * This,
  2845.     /* [out] */ long __RPC_FAR *plLines);
  2846. void __RPC_STUB IAgentBalloon_GetNumLines_Stub(
  2847.     IRpcStubBuffer *This,
  2848.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2849.     PRPC_MESSAGE _pRpcMessage,
  2850.     DWORD *_pdwStubPhase);
  2851. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetNumCharsPerLine_Proxy( 
  2852.     IAgentBalloon __RPC_FAR * This,
  2853.     /* [out] */ long __RPC_FAR *plCharsPerLine);
  2854. void __RPC_STUB IAgentBalloon_GetNumCharsPerLine_Stub(
  2855.     IRpcStubBuffer *This,
  2856.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2857.     PRPC_MESSAGE _pRpcMessage,
  2858.     DWORD *_pdwStubPhase);
  2859. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontName_Proxy( 
  2860.     IAgentBalloon __RPC_FAR * This,
  2861.     /* [out] */ BSTR __RPC_FAR *pbszFontName);
  2862. void __RPC_STUB IAgentBalloon_GetFontName_Stub(
  2863.     IRpcStubBuffer *This,
  2864.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2865.     PRPC_MESSAGE _pRpcMessage,
  2866.     DWORD *_pdwStubPhase);
  2867. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontSize_Proxy( 
  2868.     IAgentBalloon __RPC_FAR * This,
  2869.     /* [out] */ long __RPC_FAR *plFontSize);
  2870. void __RPC_STUB IAgentBalloon_GetFontSize_Stub(
  2871.     IRpcStubBuffer *This,
  2872.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2873.     PRPC_MESSAGE _pRpcMessage,
  2874.     DWORD *_pdwStubPhase);
  2875. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontBold_Proxy( 
  2876.     IAgentBalloon __RPC_FAR * This,
  2877.     /* [out] */ long __RPC_FAR *pbFontBold);
  2878. void __RPC_STUB IAgentBalloon_GetFontBold_Stub(
  2879.     IRpcStubBuffer *This,
  2880.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2881.     PRPC_MESSAGE _pRpcMessage,
  2882.     DWORD *_pdwStubPhase);
  2883. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontItalic_Proxy( 
  2884.     IAgentBalloon __RPC_FAR * This,
  2885.     /* [out] */ long __RPC_FAR *pbFontItalic);
  2886. void __RPC_STUB IAgentBalloon_GetFontItalic_Stub(
  2887.     IRpcStubBuffer *This,
  2888.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2889.     PRPC_MESSAGE _pRpcMessage,
  2890.     DWORD *_pdwStubPhase);
  2891. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontStrikethru_Proxy( 
  2892.     IAgentBalloon __RPC_FAR * This,
  2893.     /* [out] */ long __RPC_FAR *pbFontStrikethru);
  2894. void __RPC_STUB IAgentBalloon_GetFontStrikethru_Stub(
  2895.     IRpcStubBuffer *This,
  2896.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2897.     PRPC_MESSAGE _pRpcMessage,
  2898.     DWORD *_pdwStubPhase);
  2899. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontUnderline_Proxy( 
  2900.     IAgentBalloon __RPC_FAR * This,
  2901.     /* [out] */ long __RPC_FAR *pbFontUnderline);
  2902. void __RPC_STUB IAgentBalloon_GetFontUnderline_Stub(
  2903.     IRpcStubBuffer *This,
  2904.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2905.     PRPC_MESSAGE _pRpcMessage,
  2906.     DWORD *_pdwStubPhase);
  2907. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetForeColor_Proxy( 
  2908.     IAgentBalloon __RPC_FAR * This,
  2909.     /* [out] */ long __RPC_FAR *plFGColor);
  2910. void __RPC_STUB IAgentBalloon_GetForeColor_Stub(
  2911.     IRpcStubBuffer *This,
  2912.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2913.     PRPC_MESSAGE _pRpcMessage,
  2914.     DWORD *_pdwStubPhase);
  2915. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetBackColor_Proxy( 
  2916.     IAgentBalloon __RPC_FAR * This,
  2917.     /* [out] */ long __RPC_FAR *plBGColor);
  2918. void __RPC_STUB IAgentBalloon_GetBackColor_Stub(
  2919.     IRpcStubBuffer *This,
  2920.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2921.     PRPC_MESSAGE _pRpcMessage,
  2922.     DWORD *_pdwStubPhase);
  2923. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetBorderColor_Proxy( 
  2924.     IAgentBalloon __RPC_FAR * This,
  2925.     /* [out] */ long __RPC_FAR *plBorderColor);
  2926. void __RPC_STUB IAgentBalloon_GetBorderColor_Stub(
  2927.     IRpcStubBuffer *This,
  2928.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2929.     PRPC_MESSAGE _pRpcMessage,
  2930.     DWORD *_pdwStubPhase);
  2931. HRESULT STDMETHODCALLTYPE IAgentBalloon_SetVisible_Proxy( 
  2932.     IAgentBalloon __RPC_FAR * This,
  2933.     /* [in] */ long bVisible);
  2934. void __RPC_STUB IAgentBalloon_SetVisible_Stub(
  2935.     IRpcStubBuffer *This,
  2936.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2937.     PRPC_MESSAGE _pRpcMessage,
  2938.     DWORD *_pdwStubPhase);
  2939. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetVisible_Proxy( 
  2940.     IAgentBalloon __RPC_FAR * This,
  2941.     /* [out] */ long __RPC_FAR *pbVisible);
  2942. void __RPC_STUB IAgentBalloon_GetVisible_Stub(
  2943.     IRpcStubBuffer *This,
  2944.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2945.     PRPC_MESSAGE _pRpcMessage,
  2946.     DWORD *_pdwStubPhase);
  2947. HRESULT STDMETHODCALLTYPE IAgentBalloon_SetFontName_Proxy(