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

模拟服务器

开发平台:

C/C++

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