home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / Runimage / Cbuilder4 / Include / AGTSVR.H < prev    next >
Encoding:
C/C++ Source or Header  |  1999-01-26  |  145.5 KB  |  4,529 lines

  1. #pragma option push -b -a8 -pc -A- /*P_O_Push_S*/
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3.  
  4.  
  5. /* File created by MIDL compiler version 3.01.75 */
  6. /* at Wed Aug 13 21:04:17 1997
  7.  */
  8. /* Compiler settings for AgentServer.idl:
  9.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  10.     error checks: none
  11. */
  12. //@@MIDL_FILE_HEADING(  )
  13. #include "rpc.h"
  14. #include "rpcndr.h"
  15. #ifndef COM_NO_WINDOWS_H
  16. #include "windows.h"
  17. #include "ole2.h"
  18. #endif /*COM_NO_WINDOWS_H*/
  19.  
  20. #ifndef __AgentServer_h__
  21. #define __AgentServer_h__
  22.  
  23. #ifdef __cplusplus
  24. extern "C"{
  25. #endif 
  26.  
  27. /* Forward Declarations */ 
  28.  
  29. #ifndef __IAgentUserInput_FWD_DEFINED__
  30. #define __IAgentUserInput_FWD_DEFINED__
  31. typedef interface IAgentUserInput IAgentUserInput;
  32. #endif     /* __IAgentUserInput_FWD_DEFINED__ */
  33.  
  34.  
  35. #ifndef __IAgentCommand_FWD_DEFINED__
  36. #define __IAgentCommand_FWD_DEFINED__
  37. typedef interface IAgentCommand IAgentCommand;
  38. #endif     /* __IAgentCommand_FWD_DEFINED__ */
  39.  
  40.  
  41. #ifndef __IAgentCommands_FWD_DEFINED__
  42. #define __IAgentCommands_FWD_DEFINED__
  43. typedef interface IAgentCommands IAgentCommands;
  44. #endif     /* __IAgentCommands_FWD_DEFINED__ */
  45.  
  46.  
  47. #ifndef __IAgentCommandWindow_FWD_DEFINED__
  48. #define __IAgentCommandWindow_FWD_DEFINED__
  49. typedef interface IAgentCommandWindow IAgentCommandWindow;
  50. #endif     /* __IAgentCommandWindow_FWD_DEFINED__ */
  51.  
  52.  
  53. #ifndef __IAgentSpeechInputProperties_FWD_DEFINED__
  54. #define __IAgentSpeechInputProperties_FWD_DEFINED__
  55. typedef interface IAgentSpeechInputProperties IAgentSpeechInputProperties;
  56. #endif     /* __IAgentSpeechInputProperties_FWD_DEFINED__ */
  57.  
  58.  
  59. #ifndef __IAgentAudioOutputProperties_FWD_DEFINED__
  60. #define __IAgentAudioOutputProperties_FWD_DEFINED__
  61. typedef interface IAgentAudioOutputProperties IAgentAudioOutputProperties;
  62. #endif     /* __IAgentAudioOutputProperties_FWD_DEFINED__ */
  63.  
  64.  
  65. #ifndef __IAgentPropertySheet_FWD_DEFINED__
  66. #define __IAgentPropertySheet_FWD_DEFINED__
  67. typedef interface IAgentPropertySheet IAgentPropertySheet;
  68. #endif     /* __IAgentPropertySheet_FWD_DEFINED__ */
  69.  
  70.  
  71. #ifndef __IAgentBalloon_FWD_DEFINED__
  72. #define __IAgentBalloon_FWD_DEFINED__
  73. typedef interface IAgentBalloon IAgentBalloon;
  74. #endif     /* __IAgentBalloon_FWD_DEFINED__ */
  75.  
  76.  
  77. #ifndef __IAgentCharacter_FWD_DEFINED__
  78. #define __IAgentCharacter_FWD_DEFINED__
  79. typedef interface IAgentCharacter IAgentCharacter;
  80. #endif     /* __IAgentCharacter_FWD_DEFINED__ */
  81.  
  82.  
  83. #ifndef __IAgent_FWD_DEFINED__
  84. #define __IAgent_FWD_DEFINED__
  85. typedef interface IAgent IAgent;
  86. #endif     /* __IAgent_FWD_DEFINED__ */
  87.  
  88.  
  89. #ifndef __IAgentNotifySink_FWD_DEFINED__
  90. #define __IAgentNotifySink_FWD_DEFINED__
  91. typedef interface IAgentNotifySink IAgentNotifySink;
  92. #endif     /* __IAgentNotifySink_FWD_DEFINED__ */
  93.  
  94.  
  95. #ifndef __IAgentPrivateNotifySink_FWD_DEFINED__
  96. #define __IAgentPrivateNotifySink_FWD_DEFINED__
  97. typedef interface IAgentPrivateNotifySink IAgentPrivateNotifySink;
  98. #endif     /* __IAgentPrivateNotifySink_FWD_DEFINED__ */
  99.  
  100.  
  101. #ifndef __AgentServer_FWD_DEFINED__
  102. #define __AgentServer_FWD_DEFINED__
  103.  
  104. #ifdef __cplusplus
  105. typedef class AgentServer AgentServer;
  106. #else
  107. typedef struct AgentServer AgentServer;
  108. #endif /* __cplusplus */
  109.  
  110. #endif     /* __AgentServer_FWD_DEFINED__ */
  111.  
  112.  
  113. #ifndef __IAgentUserInput_FWD_DEFINED__
  114. #define __IAgentUserInput_FWD_DEFINED__
  115. typedef interface IAgentUserInput IAgentUserInput;
  116. #endif     /* __IAgentUserInput_FWD_DEFINED__ */
  117.  
  118.  
  119. #ifndef __IAgentCommand_FWD_DEFINED__
  120. #define __IAgentCommand_FWD_DEFINED__
  121. typedef interface IAgentCommand IAgentCommand;
  122. #endif     /* __IAgentCommand_FWD_DEFINED__ */
  123.  
  124.  
  125. #ifndef __IAgentCommands_FWD_DEFINED__
  126. #define __IAgentCommands_FWD_DEFINED__
  127. typedef interface IAgentCommands IAgentCommands;
  128. #endif     /* __IAgentCommands_FWD_DEFINED__ */
  129.  
  130.  
  131. #ifndef __IAgentSpeechInputProperties_FWD_DEFINED__
  132. #define __IAgentSpeechInputProperties_FWD_DEFINED__
  133. typedef interface IAgentSpeechInputProperties IAgentSpeechInputProperties;
  134. #endif     /* __IAgentSpeechInputProperties_FWD_DEFINED__ */
  135.  
  136.  
  137. #ifndef __IAgentAudioOutputProperties_FWD_DEFINED__
  138. #define __IAgentAudioOutputProperties_FWD_DEFINED__
  139. typedef interface IAgentAudioOutputProperties IAgentAudioOutputProperties;
  140. #endif     /* __IAgentAudioOutputProperties_FWD_DEFINED__ */
  141.  
  142.  
  143. #ifndef __IAgentPropertySheet_FWD_DEFINED__
  144. #define __IAgentPropertySheet_FWD_DEFINED__
  145. typedef interface IAgentPropertySheet IAgentPropertySheet;
  146. #endif     /* __IAgentPropertySheet_FWD_DEFINED__ */
  147.  
  148.  
  149. #ifndef __IAgentBalloon_FWD_DEFINED__
  150. #define __IAgentBalloon_FWD_DEFINED__
  151. typedef interface IAgentBalloon IAgentBalloon;
  152. #endif     /* __IAgentBalloon_FWD_DEFINED__ */
  153.  
  154.  
  155. #ifndef __IAgentCharacter_FWD_DEFINED__
  156. #define __IAgentCharacter_FWD_DEFINED__
  157. typedef interface IAgentCharacter IAgentCharacter;
  158. #endif     /* __IAgentCharacter_FWD_DEFINED__ */
  159.  
  160.  
  161. #ifndef __IAgent_FWD_DEFINED__
  162. #define __IAgent_FWD_DEFINED__
  163. typedef interface IAgent IAgent;
  164. #endif     /* __IAgent_FWD_DEFINED__ */
  165.  
  166.  
  167. #ifndef __IAgentNotifySink_FWD_DEFINED__
  168. #define __IAgentNotifySink_FWD_DEFINED__
  169. typedef interface IAgentNotifySink IAgentNotifySink;
  170. #endif     /* __IAgentNotifySink_FWD_DEFINED__ */
  171.  
  172.  
  173. #ifndef __IAgentCommandWindow_FWD_DEFINED__
  174. #define __IAgentCommandWindow_FWD_DEFINED__
  175. typedef interface IAgentCommandWindow IAgentCommandWindow;
  176. #endif     /* __IAgentCommandWindow_FWD_DEFINED__ */
  177.  
  178.  
  179. /* header files for imported files */
  180. #include "oaidl.h"
  181. #include "ocidl.h"
  182.  
  183. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  184. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  185.  
  186. /****************************************
  187.  * Generated header for interface: __MIDL_itf_AgentServer_0000
  188.  * at Wed Aug 13 21:04:17 1997
  189.  * using MIDL 3.01.75
  190.  ****************************************/
  191. /* [local] */ 
  192.  
  193.  
  194. #define    NeverMoved    ( 0 )
  195.  
  196. #define    UserMoved    ( 1 )
  197.  
  198. #define    ProgramMoved    ( 2 )
  199.  
  200. #define    OtherProgramMoved    ( 3 )
  201.  
  202. #define    NeverShown    ( 0 )
  203.  
  204. #define    UserHid    ( 1 )
  205.  
  206. #define    UserShowed    ( 2 )
  207.  
  208. #define    ProgramHid    ( 3 )
  209.  
  210. #define    ProgramShowed    ( 4 )
  211.  
  212. #define    OtherProgramHid    ( 5 )
  213.  
  214. #define    OtherProgramShowed    ( 6 )
  215.  
  216. #define    ACTIVATE_NOTTOPMOST    ( 0 )
  217.  
  218. #define    ACTIVATE_TOPMOST    ( 1 )
  219.  
  220. #define    ACTIVATE_INPUTACTIVE    ( 2 )
  221.  
  222. #define    PREPARE_ANIMATION    ( 0 )
  223.  
  224. #define    PREPARE_STATE    ( 1 )
  225.  
  226. #define    PREPARE_WAVE    ( 2 )
  227.  
  228. #define    STOP_TYPE_PLAY    ( 0x1 )
  229.  
  230. #define    STOP_TYPE_MOVE    ( 0x2 )
  231.  
  232. #define    STOP_TYPE_SPEAK    ( 0x4 )
  233.  
  234. #define    STOP_TYPE_PREPARE    ( 0x8 )
  235.  
  236. #define    STOP_TYPE_NONQUEUEDPREPARE    ( 0x10 )
  237.  
  238. #define    STOP_TYPE_VISIBLE    ( 0x20 )
  239.  
  240. #define    STOP_TYPE_ALL    ( 0xffffffff )
  241.  
  242.  
  243.  
  244. extern RPC_IF_HANDLE __MIDL_itf_AgentServer_0000_v0_0_c_ifspec;
  245. extern RPC_IF_HANDLE __MIDL_itf_AgentServer_0000_v0_0_s_ifspec;
  246.  
  247. #ifndef __IAgentUserInput_INTERFACE_DEFINED__
  248. #define __IAgentUserInput_INTERFACE_DEFINED__
  249.  
  250. /****************************************
  251.  * Generated header for interface: IAgentUserInput
  252.  * at Wed Aug 13 21:04:17 1997
  253.  * using MIDL 3.01.75
  254.  ****************************************/
  255. /* [unique][helpstring][dual][uuid][object] */ 
  256.  
  257.  
  258.  
  259. EXTERN_C const IID IID_IAgentUserInput;
  260.  
  261. #if defined(__cplusplus) && !defined(CINTERFACE)
  262.     
  263.     interface DECLSPEC_UUID("A7B93C80-7B81-11D0-AC5F-00C04FD97575")
  264.     IAgentUserInput : public IDispatch
  265.     {
  266.     public:
  267.         virtual HRESULT STDMETHODCALLTYPE GetCount( 
  268.             /* [out] */ long __RPC_FAR *pdwCount) = 0;
  269.         
  270.         virtual HRESULT STDMETHODCALLTYPE GetItemID( 
  271.             /* [in] */ long dwItemIndex,
  272.             /* [out] */ long __RPC_FAR *pdwCommandID) = 0;
  273.         
  274.         virtual HRESULT STDMETHODCALLTYPE GetItemConfidence( 
  275.             /* [in] */ long dwItemIndex,
  276.             /* [out] */ long __RPC_FAR *plConfidence) = 0;
  277.         
  278.         virtual HRESULT STDMETHODCALLTYPE GetItemText( 
  279.             /* [in] */ long dwItemIndex,
  280.             /* [out] */ BSTR __RPC_FAR *pbszText) = 0;
  281.         
  282.         virtual HRESULT STDMETHODCALLTYPE GetAllItemData( 
  283.             /* [out] */ VARIANT __RPC_FAR *pdwItemIndices,
  284.             /* [out] */ VARIANT __RPC_FAR *plConfidences,
  285.             /* [out] */ VARIANT __RPC_FAR *pbszText) = 0;
  286.         
  287.     };
  288.     
  289. #else     /* C style interface */
  290.  
  291.     typedef struct IAgentUserInputVtbl
  292.     {
  293.         BEGIN_INTERFACE
  294.         
  295.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  296.             IAgentUserInput __RPC_FAR * This,
  297.             /* [in] */ REFIID riid,
  298.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  299.         
  300.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  301.             IAgentUserInput __RPC_FAR * This);
  302.         
  303.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  304.             IAgentUserInput __RPC_FAR * This);
  305.         
  306.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  307.             IAgentUserInput __RPC_FAR * This,
  308.             /* [out] */ UINT __RPC_FAR *pctinfo);
  309.         
  310.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  311.             IAgentUserInput __RPC_FAR * This,
  312.             /* [in] */ UINT iTInfo,
  313.             /* [in] */ LCID lcid,
  314.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  315.         
  316.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  317.             IAgentUserInput __RPC_FAR * This,
  318.             /* [in] */ REFIID riid,
  319.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  320.             /* [in] */ UINT cNames,
  321.             /* [in] */ LCID lcid,
  322.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  323.         
  324.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  325.             IAgentUserInput __RPC_FAR * This,
  326.             /* [in] */ DISPID dispIdMember,
  327.             /* [in] */ REFIID riid,
  328.             /* [in] */ LCID lcid,
  329.             /* [in] */ WORD wFlags,
  330.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  331.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  332.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  333.             /* [out] */ UINT __RPC_FAR *puArgErr);
  334.         
  335.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCount )( 
  336.             IAgentUserInput __RPC_FAR * This,
  337.             /* [out] */ long __RPC_FAR *pdwCount);
  338.         
  339.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetItemID )( 
  340.             IAgentUserInput __RPC_FAR * This,
  341.             /* [in] */ long dwItemIndex,
  342.             /* [out] */ long __RPC_FAR *pdwCommandID);
  343.         
  344.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetItemConfidence )( 
  345.             IAgentUserInput __RPC_FAR * This,
  346.             /* [in] */ long dwItemIndex,
  347.             /* [out] */ long __RPC_FAR *plConfidence);
  348.         
  349.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetItemText )( 
  350.             IAgentUserInput __RPC_FAR * This,
  351.             /* [in] */ long dwItemIndex,
  352.             /* [out] */ BSTR __RPC_FAR *pbszText);
  353.         
  354.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAllItemData )( 
  355.             IAgentUserInput __RPC_FAR * This,
  356.             /* [out] */ VARIANT __RPC_FAR *pdwItemIndices,
  357.             /* [out] */ VARIANT __RPC_FAR *plConfidences,
  358.             /* [out] */ VARIANT __RPC_FAR *pbszText);
  359.         
  360.         END_INTERFACE
  361.     } IAgentUserInputVtbl;
  362.  
  363.     interface IAgentUserInput
  364.     {
  365.         CONST_VTBL struct IAgentUserInputVtbl __RPC_FAR *lpVtbl;
  366.     };
  367.  
  368.     
  369.  
  370. #ifdef COBJMACROS
  371.  
  372.  
  373. #define IAgentUserInput_QueryInterface(This,riid,ppvObject)    \
  374.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  375.  
  376. #define IAgentUserInput_AddRef(This)    \
  377.     (This)->lpVtbl -> AddRef(This)
  378.  
  379. #define IAgentUserInput_Release(This)    \
  380.     (This)->lpVtbl -> Release(This)
  381.  
  382.  
  383. #define IAgentUserInput_GetTypeInfoCount(This,pctinfo)    \
  384.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  385.  
  386. #define IAgentUserInput_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  387.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  388.  
  389. #define IAgentUserInput_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  390.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  391.  
  392. #define IAgentUserInput_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  393.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  394.  
  395.  
  396. #define IAgentUserInput_GetCount(This,pdwCount)    \
  397.     (This)->lpVtbl -> GetCount(This,pdwCount)
  398.  
  399. #define IAgentUserInput_GetItemID(This,dwItemIndex,pdwCommandID)    \
  400.     (This)->lpVtbl -> GetItemID(This,dwItemIndex,pdwCommandID)
  401.  
  402. #define IAgentUserInput_GetItemConfidence(This,dwItemIndex,plConfidence)    \
  403.     (This)->lpVtbl -> GetItemConfidence(This,dwItemIndex,plConfidence)
  404.  
  405. #define IAgentUserInput_GetItemText(This,dwItemIndex,pbszText)    \
  406.     (This)->lpVtbl -> GetItemText(This,dwItemIndex,pbszText)
  407.  
  408. #define IAgentUserInput_GetAllItemData(This,pdwItemIndices,plConfidences,pbszText)    \
  409.     (This)->lpVtbl -> GetAllItemData(This,pdwItemIndices,plConfidences,pbszText)
  410.  
  411. #endif /* COBJMACROS */
  412.  
  413.  
  414. #endif     /* C style interface */
  415.  
  416.  
  417.  
  418. HRESULT STDMETHODCALLTYPE IAgentUserInput_GetCount_Proxy( 
  419.     IAgentUserInput __RPC_FAR * This,
  420.     /* [out] */ long __RPC_FAR *pdwCount);
  421.  
  422.  
  423. void __RPC_STUB IAgentUserInput_GetCount_Stub(
  424.     IRpcStubBuffer *This,
  425.     IRpcChannelBuffer *_pRpcChannelBuffer,
  426.     PRPC_MESSAGE _pRpcMessage,
  427.     DWORD *_pdwStubPhase);
  428.  
  429.  
  430. HRESULT STDMETHODCALLTYPE IAgentUserInput_GetItemID_Proxy( 
  431.     IAgentUserInput __RPC_FAR * This,
  432.     /* [in] */ long dwItemIndex,
  433.     /* [out] */ long __RPC_FAR *pdwCommandID);
  434.  
  435.  
  436. void __RPC_STUB IAgentUserInput_GetItemID_Stub(
  437.     IRpcStubBuffer *This,
  438.     IRpcChannelBuffer *_pRpcChannelBuffer,
  439.     PRPC_MESSAGE _pRpcMessage,
  440.     DWORD *_pdwStubPhase);
  441.  
  442.  
  443. HRESULT STDMETHODCALLTYPE IAgentUserInput_GetItemConfidence_Proxy( 
  444.     IAgentUserInput __RPC_FAR * This,
  445.     /* [in] */ long dwItemIndex,
  446.     /* [out] */ long __RPC_FAR *plConfidence);
  447.  
  448.  
  449. void __RPC_STUB IAgentUserInput_GetItemConfidence_Stub(
  450.     IRpcStubBuffer *This,
  451.     IRpcChannelBuffer *_pRpcChannelBuffer,
  452.     PRPC_MESSAGE _pRpcMessage,
  453.     DWORD *_pdwStubPhase);
  454.  
  455.  
  456. HRESULT STDMETHODCALLTYPE IAgentUserInput_GetItemText_Proxy( 
  457.     IAgentUserInput __RPC_FAR * This,
  458.     /* [in] */ long dwItemIndex,
  459.     /* [out] */ BSTR __RPC_FAR *pbszText);
  460.  
  461.  
  462. void __RPC_STUB IAgentUserInput_GetItemText_Stub(
  463.     IRpcStubBuffer *This,
  464.     IRpcChannelBuffer *_pRpcChannelBuffer,
  465.     PRPC_MESSAGE _pRpcMessage,
  466.     DWORD *_pdwStubPhase);
  467.  
  468.  
  469. HRESULT STDMETHODCALLTYPE IAgentUserInput_GetAllItemData_Proxy( 
  470.     IAgentUserInput __RPC_FAR * This,
  471.     /* [out] */ VARIANT __RPC_FAR *pdwItemIndices,
  472.     /* [out] */ VARIANT __RPC_FAR *plConfidences,
  473.     /* [out] */ VARIANT __RPC_FAR *pbszText);
  474.  
  475.  
  476. void __RPC_STUB IAgentUserInput_GetAllItemData_Stub(
  477.     IRpcStubBuffer *This,
  478.     IRpcChannelBuffer *_pRpcChannelBuffer,
  479.     PRPC_MESSAGE _pRpcMessage,
  480.     DWORD *_pdwStubPhase);
  481.  
  482.  
  483.  
  484. #endif     /* __IAgentUserInput_INTERFACE_DEFINED__ */
  485.  
  486.  
  487. #ifndef __IAgentCommand_INTERFACE_DEFINED__
  488. #define __IAgentCommand_INTERFACE_DEFINED__
  489.  
  490. /****************************************
  491.  * Generated header for interface: IAgentCommand
  492.  * at Wed Aug 13 21:04:17 1997
  493.  * using MIDL 3.01.75
  494.  ****************************************/
  495. /* [unique][helpstring][dual][uuid][object] */ 
  496.  
  497.  
  498.  
  499. EXTERN_C const IID IID_IAgentCommand;
  500.  
  501. #if defined(__cplusplus) && !defined(CINTERFACE)
  502.     
  503.     interface DECLSPEC_UUID("A7B93C83-7B81-11D0-AC5F-00C04FD97575")
  504.     IAgentCommand : public IDispatch
  505.     {
  506.     public:
  507.         virtual HRESULT STDMETHODCALLTYPE SetCaption( 
  508.             /* [in] */ BSTR bszCaption) = 0;
  509.         
  510.         virtual HRESULT STDMETHODCALLTYPE GetCaption( 
  511.             /* [out] */ BSTR __RPC_FAR *pbszCaption) = 0;
  512.         
  513.         virtual HRESULT STDMETHODCALLTYPE SetVoice( 
  514.             /* [in] */ BSTR bszVoice) = 0;
  515.         
  516.         virtual HRESULT STDMETHODCALLTYPE GetVoice( 
  517.             /* [out] */ BSTR __RPC_FAR *pbszVoice) = 0;
  518.         
  519.         virtual HRESULT STDMETHODCALLTYPE SetEnabled( 
  520.             /* [in] */ long bEnabled) = 0;
  521.         
  522.         virtual HRESULT STDMETHODCALLTYPE GetEnabled( 
  523.             /* [out] */ long __RPC_FAR *pbEnabled) = 0;
  524.         
  525.         virtual HRESULT STDMETHODCALLTYPE SetVisible( 
  526.             /* [in] */ long bVisible) = 0;
  527.         
  528.         virtual HRESULT STDMETHODCALLTYPE GetVisible( 
  529.             /* [out] */ long __RPC_FAR *pbVisible) = 0;
  530.         
  531.         virtual HRESULT STDMETHODCALLTYPE SetConfidenceThreshold( 
  532.             /* [in] */ long lThreshold) = 0;
  533.         
  534.         virtual HRESULT STDMETHODCALLTYPE GetConfidenceThreshold( 
  535.             /* [out] */ long __RPC_FAR *plThreshold) = 0;
  536.         
  537.         virtual HRESULT STDMETHODCALLTYPE SetConfidenceText( 
  538.             /* [in] */ BSTR bszTipText) = 0;
  539.         
  540.         virtual HRESULT STDMETHODCALLTYPE GetConfidenceText( 
  541.             /* [out] */ BSTR __RPC_FAR *pbszTipText) = 0;
  542.         
  543.         virtual HRESULT STDMETHODCALLTYPE GetID( 
  544.             /* [out] */ long __RPC_FAR *pdwID) = 0;
  545.         
  546.     };
  547.     
  548. #else     /* C style interface */
  549.  
  550.     typedef struct IAgentCommandVtbl
  551.     {
  552.         BEGIN_INTERFACE
  553.         
  554.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  555.             IAgentCommand __RPC_FAR * This,
  556.             /* [in] */ REFIID riid,
  557.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  558.         
  559.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  560.             IAgentCommand __RPC_FAR * This);
  561.         
  562.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  563.             IAgentCommand __RPC_FAR * This);
  564.         
  565.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  566.             IAgentCommand __RPC_FAR * This,
  567.             /* [out] */ UINT __RPC_FAR *pctinfo);
  568.         
  569.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  570.             IAgentCommand __RPC_FAR * This,
  571.             /* [in] */ UINT iTInfo,
  572.             /* [in] */ LCID lcid,
  573.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  574.         
  575.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  576.             IAgentCommand __RPC_FAR * This,
  577.             /* [in] */ REFIID riid,
  578.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  579.             /* [in] */ UINT cNames,
  580.             /* [in] */ LCID lcid,
  581.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  582.         
  583.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  584.             IAgentCommand __RPC_FAR * This,
  585.             /* [in] */ DISPID dispIdMember,
  586.             /* [in] */ REFIID riid,
  587.             /* [in] */ LCID lcid,
  588.             /* [in] */ WORD wFlags,
  589.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  590.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  591.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  592.             /* [out] */ UINT __RPC_FAR *puArgErr);
  593.         
  594.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetCaption )( 
  595.             IAgentCommand __RPC_FAR * This,
  596.             /* [in] */ BSTR bszCaption);
  597.         
  598.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCaption )( 
  599.             IAgentCommand __RPC_FAR * This,
  600.             /* [out] */ BSTR __RPC_FAR *pbszCaption);
  601.         
  602.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVoice )( 
  603.             IAgentCommand __RPC_FAR * This,
  604.             /* [in] */ BSTR bszVoice);
  605.         
  606.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVoice )( 
  607.             IAgentCommand __RPC_FAR * This,
  608.             /* [out] */ BSTR __RPC_FAR *pbszVoice);
  609.         
  610.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetEnabled )( 
  611.             IAgentCommand __RPC_FAR * This,
  612.             /* [in] */ long bEnabled);
  613.         
  614.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )( 
  615.             IAgentCommand __RPC_FAR * This,
  616.             /* [out] */ long __RPC_FAR *pbEnabled);
  617.         
  618.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )( 
  619.             IAgentCommand __RPC_FAR * This,
  620.             /* [in] */ long bVisible);
  621.         
  622.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )( 
  623.             IAgentCommand __RPC_FAR * This,
  624.             /* [out] */ long __RPC_FAR *pbVisible);
  625.         
  626.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetConfidenceThreshold )( 
  627.             IAgentCommand __RPC_FAR * This,
  628.             /* [in] */ long lThreshold);
  629.         
  630.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetConfidenceThreshold )( 
  631.             IAgentCommand __RPC_FAR * This,
  632.             /* [out] */ long __RPC_FAR *plThreshold);
  633.         
  634.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetConfidenceText )( 
  635.             IAgentCommand __RPC_FAR * This,
  636.             /* [in] */ BSTR bszTipText);
  637.         
  638.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetConfidenceText )( 
  639.             IAgentCommand __RPC_FAR * This,
  640.             /* [out] */ BSTR __RPC_FAR *pbszTipText);
  641.         
  642.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetID )( 
  643.             IAgentCommand __RPC_FAR * This,
  644.             /* [out] */ long __RPC_FAR *pdwID);
  645.         
  646.         END_INTERFACE
  647.     } IAgentCommandVtbl;
  648.  
  649.     interface IAgentCommand
  650.     {
  651.         CONST_VTBL struct IAgentCommandVtbl __RPC_FAR *lpVtbl;
  652.     };
  653.  
  654.     
  655.  
  656. #ifdef COBJMACROS
  657.  
  658.  
  659. #define IAgentCommand_QueryInterface(This,riid,ppvObject)    \
  660.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  661.  
  662. #define IAgentCommand_AddRef(This)    \
  663.     (This)->lpVtbl -> AddRef(This)
  664.  
  665. #define IAgentCommand_Release(This)    \
  666.     (This)->lpVtbl -> Release(This)
  667.  
  668.  
  669. #define IAgentCommand_GetTypeInfoCount(This,pctinfo)    \
  670.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  671.  
  672. #define IAgentCommand_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  673.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  674.  
  675. #define IAgentCommand_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  676.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  677.  
  678. #define IAgentCommand_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  679.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  680.  
  681.  
  682. #define IAgentCommand_SetCaption(This,bszCaption)    \
  683.     (This)->lpVtbl -> SetCaption(This,bszCaption)
  684.  
  685. #define IAgentCommand_GetCaption(This,pbszCaption)    \
  686.     (This)->lpVtbl -> GetCaption(This,pbszCaption)
  687.  
  688. #define IAgentCommand_SetVoice(This,bszVoice)    \
  689.     (This)->lpVtbl -> SetVoice(This,bszVoice)
  690.  
  691. #define IAgentCommand_GetVoice(This,pbszVoice)    \
  692.     (This)->lpVtbl -> GetVoice(This,pbszVoice)
  693.  
  694. #define IAgentCommand_SetEnabled(This,bEnabled)    \
  695.     (This)->lpVtbl -> SetEnabled(This,bEnabled)
  696.  
  697. #define IAgentCommand_GetEnabled(This,pbEnabled)    \
  698.     (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  699.  
  700. #define IAgentCommand_SetVisible(This,bVisible)    \
  701.     (This)->lpVtbl -> SetVisible(This,bVisible)
  702.  
  703. #define IAgentCommand_GetVisible(This,pbVisible)    \
  704.     (This)->lpVtbl -> GetVisible(This,pbVisible)
  705.  
  706. #define IAgentCommand_SetConfidenceThreshold(This,lThreshold)    \
  707.     (This)->lpVtbl -> SetConfidenceThreshold(This,lThreshold)
  708.  
  709. #define IAgentCommand_GetConfidenceThreshold(This,plThreshold)    \
  710.     (This)->lpVtbl -> GetConfidenceThreshold(This,plThreshold)
  711.  
  712. #define IAgentCommand_SetConfidenceText(This,bszTipText)    \
  713.     (This)->lpVtbl -> SetConfidenceText(This,bszTipText)
  714.  
  715. #define IAgentCommand_GetConfidenceText(This,pbszTipText)    \
  716.     (This)->lpVtbl -> GetConfidenceText(This,pbszTipText)
  717.  
  718. #define IAgentCommand_GetID(This,pdwID)    \
  719.     (This)->lpVtbl -> GetID(This,pdwID)
  720.  
  721. #endif /* COBJMACROS */
  722.  
  723.  
  724. #endif     /* C style interface */
  725.  
  726.  
  727.  
  728. HRESULT STDMETHODCALLTYPE IAgentCommand_SetCaption_Proxy( 
  729.     IAgentCommand __RPC_FAR * This,
  730.     /* [in] */ BSTR bszCaption);
  731.  
  732.  
  733. void __RPC_STUB IAgentCommand_SetCaption_Stub(
  734.     IRpcStubBuffer *This,
  735.     IRpcChannelBuffer *_pRpcChannelBuffer,
  736.     PRPC_MESSAGE _pRpcMessage,
  737.     DWORD *_pdwStubPhase);
  738.  
  739.  
  740. HRESULT STDMETHODCALLTYPE IAgentCommand_GetCaption_Proxy( 
  741.     IAgentCommand __RPC_FAR * This,
  742.     /* [out] */ BSTR __RPC_FAR *pbszCaption);
  743.  
  744.  
  745. void __RPC_STUB IAgentCommand_GetCaption_Stub(
  746.     IRpcStubBuffer *This,
  747.     IRpcChannelBuffer *_pRpcChannelBuffer,
  748.     PRPC_MESSAGE _pRpcMessage,
  749.     DWORD *_pdwStubPhase);
  750.  
  751.  
  752. HRESULT STDMETHODCALLTYPE IAgentCommand_SetVoice_Proxy( 
  753.     IAgentCommand __RPC_FAR * This,
  754.     /* [in] */ BSTR bszVoice);
  755.  
  756.  
  757. void __RPC_STUB IAgentCommand_SetVoice_Stub(
  758.     IRpcStubBuffer *This,
  759.     IRpcChannelBuffer *_pRpcChannelBuffer,
  760.     PRPC_MESSAGE _pRpcMessage,
  761.     DWORD *_pdwStubPhase);
  762.  
  763.  
  764. HRESULT STDMETHODCALLTYPE IAgentCommand_GetVoice_Proxy( 
  765.     IAgentCommand __RPC_FAR * This,
  766.     /* [out] */ BSTR __RPC_FAR *pbszVoice);
  767.  
  768.  
  769. void __RPC_STUB IAgentCommand_GetVoice_Stub(
  770.     IRpcStubBuffer *This,
  771.     IRpcChannelBuffer *_pRpcChannelBuffer,
  772.     PRPC_MESSAGE _pRpcMessage,
  773.     DWORD *_pdwStubPhase);
  774.  
  775.  
  776. HRESULT STDMETHODCALLTYPE IAgentCommand_SetEnabled_Proxy( 
  777.     IAgentCommand __RPC_FAR * This,
  778.     /* [in] */ long bEnabled);
  779.  
  780.  
  781. void __RPC_STUB IAgentCommand_SetEnabled_Stub(
  782.     IRpcStubBuffer *This,
  783.     IRpcChannelBuffer *_pRpcChannelBuffer,
  784.     PRPC_MESSAGE _pRpcMessage,
  785.     DWORD *_pdwStubPhase);
  786.  
  787.  
  788. HRESULT STDMETHODCALLTYPE IAgentCommand_GetEnabled_Proxy( 
  789.     IAgentCommand __RPC_FAR * This,
  790.     /* [out] */ long __RPC_FAR *pbEnabled);
  791.  
  792.  
  793. void __RPC_STUB IAgentCommand_GetEnabled_Stub(
  794.     IRpcStubBuffer *This,
  795.     IRpcChannelBuffer *_pRpcChannelBuffer,
  796.     PRPC_MESSAGE _pRpcMessage,
  797.     DWORD *_pdwStubPhase);
  798.  
  799.  
  800. HRESULT STDMETHODCALLTYPE IAgentCommand_SetVisible_Proxy( 
  801.     IAgentCommand __RPC_FAR * This,
  802.     /* [in] */ long bVisible);
  803.  
  804.  
  805. void __RPC_STUB IAgentCommand_SetVisible_Stub(
  806.     IRpcStubBuffer *This,
  807.     IRpcChannelBuffer *_pRpcChannelBuffer,
  808.     PRPC_MESSAGE _pRpcMessage,
  809.     DWORD *_pdwStubPhase);
  810.  
  811.  
  812. HRESULT STDMETHODCALLTYPE IAgentCommand_GetVisible_Proxy( 
  813.     IAgentCommand __RPC_FAR * This,
  814.     /* [out] */ long __RPC_FAR *pbVisible);
  815.  
  816.  
  817. void __RPC_STUB IAgentCommand_GetVisible_Stub(
  818.     IRpcStubBuffer *This,
  819.     IRpcChannelBuffer *_pRpcChannelBuffer,
  820.     PRPC_MESSAGE _pRpcMessage,
  821.     DWORD *_pdwStubPhase);
  822.  
  823.  
  824. HRESULT STDMETHODCALLTYPE IAgentCommand_SetConfidenceThreshold_Proxy( 
  825.     IAgentCommand __RPC_FAR * This,
  826.     /* [in] */ long lThreshold);
  827.  
  828.  
  829. void __RPC_STUB IAgentCommand_SetConfidenceThreshold_Stub(
  830.     IRpcStubBuffer *This,
  831.     IRpcChannelBuffer *_pRpcChannelBuffer,
  832.     PRPC_MESSAGE _pRpcMessage,
  833.     DWORD *_pdwStubPhase);
  834.  
  835.  
  836. HRESULT STDMETHODCALLTYPE IAgentCommand_GetConfidenceThreshold_Proxy( 
  837.     IAgentCommand __RPC_FAR * This,
  838.     /* [out] */ long __RPC_FAR *plThreshold);
  839.  
  840.  
  841. void __RPC_STUB IAgentCommand_GetConfidenceThreshold_Stub(
  842.     IRpcStubBuffer *This,
  843.     IRpcChannelBuffer *_pRpcChannelBuffer,
  844.     PRPC_MESSAGE _pRpcMessage,
  845.     DWORD *_pdwStubPhase);
  846.  
  847.  
  848. HRESULT STDMETHODCALLTYPE IAgentCommand_SetConfidenceText_Proxy( 
  849.     IAgentCommand __RPC_FAR * This,
  850.     /* [in] */ BSTR bszTipText);
  851.  
  852.  
  853. void __RPC_STUB IAgentCommand_SetConfidenceText_Stub(
  854.     IRpcStubBuffer *This,
  855.     IRpcChannelBuffer *_pRpcChannelBuffer,
  856.     PRPC_MESSAGE _pRpcMessage,
  857.     DWORD *_pdwStubPhase);
  858.  
  859.  
  860. HRESULT STDMETHODCALLTYPE IAgentCommand_GetConfidenceText_Proxy( 
  861.     IAgentCommand __RPC_FAR * This,
  862.     /* [out] */ BSTR __RPC_FAR *pbszTipText);
  863.  
  864.  
  865. void __RPC_STUB IAgentCommand_GetConfidenceText_Stub(
  866.     IRpcStubBuffer *This,
  867.     IRpcChannelBuffer *_pRpcChannelBuffer,
  868.     PRPC_MESSAGE _pRpcMessage,
  869.     DWORD *_pdwStubPhase);
  870.  
  871.  
  872. HRESULT STDMETHODCALLTYPE IAgentCommand_GetID_Proxy( 
  873.     IAgentCommand __RPC_FAR * This,
  874.     /* [out] */ long __RPC_FAR *pdwID);
  875.  
  876.  
  877. void __RPC_STUB IAgentCommand_GetID_Stub(
  878.     IRpcStubBuffer *This,
  879.     IRpcChannelBuffer *_pRpcChannelBuffer,
  880.     PRPC_MESSAGE _pRpcMessage,
  881.     DWORD *_pdwStubPhase);
  882.  
  883.  
  884.  
  885. #endif     /* __IAgentCommand_INTERFACE_DEFINED__ */
  886.  
  887.  
  888. #ifndef __IAgentCommands_INTERFACE_DEFINED__
  889. #define __IAgentCommands_INTERFACE_DEFINED__
  890.  
  891. /****************************************
  892.  * Generated header for interface: IAgentCommands
  893.  * at Wed Aug 13 21:04:17 1997
  894.  * using MIDL 3.01.75
  895.  ****************************************/
  896. /* [unique][helpstring][dual][uuid][object] */ 
  897.  
  898.  
  899.  
  900. EXTERN_C const IID IID_IAgentCommands;
  901.  
  902. #if defined(__cplusplus) && !defined(CINTERFACE)
  903.     
  904.     interface DECLSPEC_UUID("A7B93C85-7B81-11D0-AC5F-00C04FD97575")
  905.     IAgentCommands : public IDispatch
  906.     {
  907.     public:
  908.         virtual HRESULT STDMETHODCALLTYPE GetCommand( 
  909.             /* [in] */ long dwCommandID,
  910.             /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkCommand) = 0;
  911.         
  912.         virtual HRESULT STDMETHODCALLTYPE GetCount( 
  913.             /* [out] */ long __RPC_FAR *pdwCount) = 0;
  914.         
  915.         virtual HRESULT STDMETHODCALLTYPE SetCaption( 
  916.             /* [in] */ BSTR bszCaption) = 0;
  917.         
  918.         virtual HRESULT STDMETHODCALLTYPE GetCaption( 
  919.             /* [out] */ BSTR __RPC_FAR *pbszCaption) = 0;
  920.         
  921.         virtual HRESULT STDMETHODCALLTYPE SetVoice( 
  922.             /* [in] */ BSTR bszVoice) = 0;
  923.         
  924.         virtual HRESULT STDMETHODCALLTYPE GetVoice( 
  925.             /* [out] */ BSTR __RPC_FAR *pbszVoice) = 0;
  926.         
  927.         virtual HRESULT STDMETHODCALLTYPE SetVisible( 
  928.             /* [in] */ long bVisible) = 0;
  929.         
  930.         virtual HRESULT STDMETHODCALLTYPE GetVisible( 
  931.             /* [out] */ long __RPC_FAR *pbVisible) = 0;
  932.         
  933.         virtual HRESULT STDMETHODCALLTYPE Add( 
  934.             /* [in] */ BSTR bszCaption,
  935.             /* [in] */ BSTR bszVoice,
  936.             /* [in] */ long bEnabled,
  937.             /* [in] */ long bVisible,
  938.             /* [out] */ long __RPC_FAR *pdwID) = 0;
  939.         
  940.         virtual HRESULT STDMETHODCALLTYPE Insert( 
  941.             /* [in] */ BSTR bszCaption,
  942.             /* [in] */ BSTR bszVoice,
  943.             /* [in] */ long bEnabled,
  944.             /* [in] */ long bVisible,
  945.             /* [in] */ long dwRefID,
  946.             /* [in] */ long bBefore,
  947.             /* [out] */ long __RPC_FAR *pdwID) = 0;
  948.         
  949.         virtual HRESULT STDMETHODCALLTYPE Remove( 
  950.             /* [in] */ long dwID) = 0;
  951.         
  952.         virtual HRESULT STDMETHODCALLTYPE RemoveAll( void) = 0;
  953.         
  954.     };
  955.     
  956. #else     /* C style interface */
  957.  
  958.     typedef struct IAgentCommandsVtbl
  959.     {
  960.         BEGIN_INTERFACE
  961.         
  962.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  963.             IAgentCommands __RPC_FAR * This,
  964.             /* [in] */ REFIID riid,
  965.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  966.         
  967.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  968.             IAgentCommands __RPC_FAR * This);
  969.         
  970.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  971.             IAgentCommands __RPC_FAR * This);
  972.         
  973.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  974.             IAgentCommands __RPC_FAR * This,
  975.             /* [out] */ UINT __RPC_FAR *pctinfo);
  976.         
  977.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  978.             IAgentCommands __RPC_FAR * This,
  979.             /* [in] */ UINT iTInfo,
  980.             /* [in] */ LCID lcid,
  981.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  982.         
  983.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  984.             IAgentCommands __RPC_FAR * This,
  985.             /* [in] */ REFIID riid,
  986.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  987.             /* [in] */ UINT cNames,
  988.             /* [in] */ LCID lcid,
  989.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  990.         
  991.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  992.             IAgentCommands __RPC_FAR * This,
  993.             /* [in] */ DISPID dispIdMember,
  994.             /* [in] */ REFIID riid,
  995.             /* [in] */ LCID lcid,
  996.             /* [in] */ WORD wFlags,
  997.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  998.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  999.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1000.             /* [out] */ UINT __RPC_FAR *puArgErr);
  1001.         
  1002.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCommand )( 
  1003.             IAgentCommands __RPC_FAR * This,
  1004.             /* [in] */ long dwCommandID,
  1005.             /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkCommand);
  1006.         
  1007.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCount )( 
  1008.             IAgentCommands __RPC_FAR * This,
  1009.             /* [out] */ long __RPC_FAR *pdwCount);
  1010.         
  1011.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetCaption )( 
  1012.             IAgentCommands __RPC_FAR * This,
  1013.             /* [in] */ BSTR bszCaption);
  1014.         
  1015.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCaption )( 
  1016.             IAgentCommands __RPC_FAR * This,
  1017.             /* [out] */ BSTR __RPC_FAR *pbszCaption);
  1018.         
  1019.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVoice )( 
  1020.             IAgentCommands __RPC_FAR * This,
  1021.             /* [in] */ BSTR bszVoice);
  1022.         
  1023.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVoice )( 
  1024.             IAgentCommands __RPC_FAR * This,
  1025.             /* [out] */ BSTR __RPC_FAR *pbszVoice);
  1026.         
  1027.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )( 
  1028.             IAgentCommands __RPC_FAR * This,
  1029.             /* [in] */ long bVisible);
  1030.         
  1031.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )( 
  1032.             IAgentCommands __RPC_FAR * This,
  1033.             /* [out] */ long __RPC_FAR *pbVisible);
  1034.         
  1035.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Add )( 
  1036.             IAgentCommands __RPC_FAR * This,
  1037.             /* [in] */ BSTR bszCaption,
  1038.             /* [in] */ BSTR bszVoice,
  1039.             /* [in] */ long bEnabled,
  1040.             /* [in] */ long bVisible,
  1041.             /* [out] */ long __RPC_FAR *pdwID);
  1042.         
  1043.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Insert )( 
  1044.             IAgentCommands __RPC_FAR * This,
  1045.             /* [in] */ BSTR bszCaption,
  1046.             /* [in] */ BSTR bszVoice,
  1047.             /* [in] */ long bEnabled,
  1048.             /* [in] */ long bVisible,
  1049.             /* [in] */ long dwRefID,
  1050.             /* [in] */ long bBefore,
  1051.             /* [out] */ long __RPC_FAR *pdwID);
  1052.         
  1053.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Remove )( 
  1054.             IAgentCommands __RPC_FAR * This,
  1055.             /* [in] */ long dwID);
  1056.         
  1057.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RemoveAll )( 
  1058.             IAgentCommands __RPC_FAR * This);
  1059.         
  1060.         END_INTERFACE
  1061.     } IAgentCommandsVtbl;
  1062.  
  1063.     interface IAgentCommands
  1064.     {
  1065.         CONST_VTBL struct IAgentCommandsVtbl __RPC_FAR *lpVtbl;
  1066.     };
  1067.  
  1068.     
  1069.  
  1070. #ifdef COBJMACROS
  1071.  
  1072.  
  1073. #define IAgentCommands_QueryInterface(This,riid,ppvObject)    \
  1074.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1075.  
  1076. #define IAgentCommands_AddRef(This)    \
  1077.     (This)->lpVtbl -> AddRef(This)
  1078.  
  1079. #define IAgentCommands_Release(This)    \
  1080.     (This)->lpVtbl -> Release(This)
  1081.  
  1082.  
  1083. #define IAgentCommands_GetTypeInfoCount(This,pctinfo)    \
  1084.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1085.  
  1086. #define IAgentCommands_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  1087.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1088.  
  1089. #define IAgentCommands_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  1090.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1091.  
  1092. #define IAgentCommands_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  1093.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1094.  
  1095.  
  1096. #define IAgentCommands_GetCommand(This,dwCommandID,ppunkCommand)    \
  1097.     (This)->lpVtbl -> GetCommand(This,dwCommandID,ppunkCommand)
  1098.  
  1099. #define IAgentCommands_GetCount(This,pdwCount)    \
  1100.     (This)->lpVtbl -> GetCount(This,pdwCount)
  1101.  
  1102. #define IAgentCommands_SetCaption(This,bszCaption)    \
  1103.     (This)->lpVtbl -> SetCaption(This,bszCaption)
  1104.  
  1105. #define IAgentCommands_GetCaption(This,pbszCaption)    \
  1106.     (This)->lpVtbl -> GetCaption(This,pbszCaption)
  1107.  
  1108. #define IAgentCommands_SetVoice(This,bszVoice)    \
  1109.     (This)->lpVtbl -> SetVoice(This,bszVoice)
  1110.  
  1111. #define IAgentCommands_GetVoice(This,pbszVoice)    \
  1112.     (This)->lpVtbl -> GetVoice(This,pbszVoice)
  1113.  
  1114. #define IAgentCommands_SetVisible(This,bVisible)    \
  1115.     (This)->lpVtbl -> SetVisible(This,bVisible)
  1116.  
  1117. #define IAgentCommands_GetVisible(This,pbVisible)    \
  1118.     (This)->lpVtbl -> GetVisible(This,pbVisible)
  1119.  
  1120. #define IAgentCommands_Add(This,bszCaption,bszVoice,bEnabled,bVisible,pdwID)    \
  1121.     (This)->lpVtbl -> Add(This,bszCaption,bszVoice,bEnabled,bVisible,pdwID)
  1122.  
  1123. #define IAgentCommands_Insert(This,bszCaption,bszVoice,bEnabled,bVisible,dwRefID,bBefore,pdwID)    \
  1124.     (This)->lpVtbl -> Insert(This,bszCaption,bszVoice,bEnabled,bVisible,dwRefID,bBefore,pdwID)
  1125.  
  1126. #define IAgentCommands_Remove(This,dwID)    \
  1127.     (This)->lpVtbl -> Remove(This,dwID)
  1128.  
  1129. #define IAgentCommands_RemoveAll(This)    \
  1130.     (This)->lpVtbl -> RemoveAll(This)
  1131.  
  1132. #endif /* COBJMACROS */
  1133.  
  1134.  
  1135. #endif     /* C style interface */
  1136.  
  1137.  
  1138.  
  1139. HRESULT STDMETHODCALLTYPE IAgentCommands_GetCommand_Proxy( 
  1140.     IAgentCommands __RPC_FAR * This,
  1141.     /* [in] */ long dwCommandID,
  1142.     /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkCommand);
  1143.  
  1144.  
  1145. void __RPC_STUB IAgentCommands_GetCommand_Stub(
  1146.     IRpcStubBuffer *This,
  1147.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1148.     PRPC_MESSAGE _pRpcMessage,
  1149.     DWORD *_pdwStubPhase);
  1150.  
  1151.  
  1152. HRESULT STDMETHODCALLTYPE IAgentCommands_GetCount_Proxy( 
  1153.     IAgentCommands __RPC_FAR * This,
  1154.     /* [out] */ long __RPC_FAR *pdwCount);
  1155.  
  1156.  
  1157. void __RPC_STUB IAgentCommands_GetCount_Stub(
  1158.     IRpcStubBuffer *This,
  1159.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1160.     PRPC_MESSAGE _pRpcMessage,
  1161.     DWORD *_pdwStubPhase);
  1162.  
  1163.  
  1164. HRESULT STDMETHODCALLTYPE IAgentCommands_SetCaption_Proxy( 
  1165.     IAgentCommands __RPC_FAR * This,
  1166.     /* [in] */ BSTR bszCaption);
  1167.  
  1168.  
  1169. void __RPC_STUB IAgentCommands_SetCaption_Stub(
  1170.     IRpcStubBuffer *This,
  1171.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1172.     PRPC_MESSAGE _pRpcMessage,
  1173.     DWORD *_pdwStubPhase);
  1174.  
  1175.  
  1176. HRESULT STDMETHODCALLTYPE IAgentCommands_GetCaption_Proxy( 
  1177.     IAgentCommands __RPC_FAR * This,
  1178.     /* [out] */ BSTR __RPC_FAR *pbszCaption);
  1179.  
  1180.  
  1181. void __RPC_STUB IAgentCommands_GetCaption_Stub(
  1182.     IRpcStubBuffer *This,
  1183.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1184.     PRPC_MESSAGE _pRpcMessage,
  1185.     DWORD *_pdwStubPhase);
  1186.  
  1187.  
  1188. HRESULT STDMETHODCALLTYPE IAgentCommands_SetVoice_Proxy( 
  1189.     IAgentCommands __RPC_FAR * This,
  1190.     /* [in] */ BSTR bszVoice);
  1191.  
  1192.  
  1193. void __RPC_STUB IAgentCommands_SetVoice_Stub(
  1194.     IRpcStubBuffer *This,
  1195.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1196.     PRPC_MESSAGE _pRpcMessage,
  1197.     DWORD *_pdwStubPhase);
  1198.  
  1199.  
  1200. HRESULT STDMETHODCALLTYPE IAgentCommands_GetVoice_Proxy( 
  1201.     IAgentCommands __RPC_FAR * This,
  1202.     /* [out] */ BSTR __RPC_FAR *pbszVoice);
  1203.  
  1204.  
  1205. void __RPC_STUB IAgentCommands_GetVoice_Stub(
  1206.     IRpcStubBuffer *This,
  1207.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1208.     PRPC_MESSAGE _pRpcMessage,
  1209.     DWORD *_pdwStubPhase);
  1210.  
  1211.  
  1212. HRESULT STDMETHODCALLTYPE IAgentCommands_SetVisible_Proxy( 
  1213.     IAgentCommands __RPC_FAR * This,
  1214.     /* [in] */ long bVisible);
  1215.  
  1216.  
  1217. void __RPC_STUB IAgentCommands_SetVisible_Stub(
  1218.     IRpcStubBuffer *This,
  1219.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1220.     PRPC_MESSAGE _pRpcMessage,
  1221.     DWORD *_pdwStubPhase);
  1222.  
  1223.  
  1224. HRESULT STDMETHODCALLTYPE IAgentCommands_GetVisible_Proxy( 
  1225.     IAgentCommands __RPC_FAR * This,
  1226.     /* [out] */ long __RPC_FAR *pbVisible);
  1227.  
  1228.  
  1229. void __RPC_STUB IAgentCommands_GetVisible_Stub(
  1230.     IRpcStubBuffer *This,
  1231.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1232.     PRPC_MESSAGE _pRpcMessage,
  1233.     DWORD *_pdwStubPhase);
  1234.  
  1235.  
  1236. HRESULT STDMETHODCALLTYPE IAgentCommands_Add_Proxy( 
  1237.     IAgentCommands __RPC_FAR * This,
  1238.     /* [in] */ BSTR bszCaption,
  1239.     /* [in] */ BSTR bszVoice,
  1240.     /* [in] */ long bEnabled,
  1241.     /* [in] */ long bVisible,
  1242.     /* [out] */ long __RPC_FAR *pdwID);
  1243.  
  1244.  
  1245. void __RPC_STUB IAgentCommands_Add_Stub(
  1246.     IRpcStubBuffer *This,
  1247.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1248.     PRPC_MESSAGE _pRpcMessage,
  1249.     DWORD *_pdwStubPhase);
  1250.  
  1251.  
  1252. HRESULT STDMETHODCALLTYPE IAgentCommands_Insert_Proxy( 
  1253.     IAgentCommands __RPC_FAR * This,
  1254.     /* [in] */ BSTR bszCaption,
  1255.     /* [in] */ BSTR bszVoice,
  1256.     /* [in] */ long bEnabled,
  1257.     /* [in] */ long bVisible,
  1258.     /* [in] */ long dwRefID,
  1259.     /* [in] */ long bBefore,
  1260.     /* [out] */ long __RPC_FAR *pdwID);
  1261.  
  1262.  
  1263. void __RPC_STUB IAgentCommands_Insert_Stub(
  1264.     IRpcStubBuffer *This,
  1265.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1266.     PRPC_MESSAGE _pRpcMessage,
  1267.     DWORD *_pdwStubPhase);
  1268.  
  1269.  
  1270. HRESULT STDMETHODCALLTYPE IAgentCommands_Remove_Proxy( 
  1271.     IAgentCommands __RPC_FAR * This,
  1272.     /* [in] */ long dwID);
  1273.  
  1274.  
  1275. void __RPC_STUB IAgentCommands_Remove_Stub(
  1276.     IRpcStubBuffer *This,
  1277.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1278.     PRPC_MESSAGE _pRpcMessage,
  1279.     DWORD *_pdwStubPhase);
  1280.  
  1281.  
  1282. HRESULT STDMETHODCALLTYPE IAgentCommands_RemoveAll_Proxy( 
  1283.     IAgentCommands __RPC_FAR * This);
  1284.  
  1285.  
  1286. void __RPC_STUB IAgentCommands_RemoveAll_Stub(
  1287.     IRpcStubBuffer *This,
  1288.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1289.     PRPC_MESSAGE _pRpcMessage,
  1290.     DWORD *_pdwStubPhase);
  1291.  
  1292.  
  1293.  
  1294. #endif     /* __IAgentCommands_INTERFACE_DEFINED__ */
  1295.  
  1296.  
  1297. #ifndef __IAgentCommandWindow_INTERFACE_DEFINED__
  1298. #define __IAgentCommandWindow_INTERFACE_DEFINED__
  1299.  
  1300. /****************************************
  1301.  * Generated header for interface: IAgentCommandWindow
  1302.  * at Wed Aug 13 21:04:17 1997
  1303.  * using MIDL 3.01.75
  1304.  ****************************************/
  1305. /* [unique][helpstring][dual][uuid][object] */ 
  1306.  
  1307.  
  1308.  
  1309. EXTERN_C const IID IID_IAgentCommandWindow;
  1310.  
  1311. #if defined(__cplusplus) && !defined(CINTERFACE)
  1312.     
  1313.     interface DECLSPEC_UUID("6D0ECB23-9968-11D0-AC6E-00C04FD97575")
  1314.     IAgentCommandWindow : public IDispatch
  1315.     {
  1316.     public:
  1317.         virtual HRESULT STDMETHODCALLTYPE SetVisible( 
  1318.             /* [in] */ long bVisible) = 0;
  1319.         
  1320.         virtual HRESULT STDMETHODCALLTYPE GetVisible( 
  1321.             /* [out] */ long __RPC_FAR *pbVisible) = 0;
  1322.         
  1323.         virtual HRESULT STDMETHODCALLTYPE GetPosition( 
  1324.             /* [out] */ long __RPC_FAR *plLeft,
  1325.             /* [out] */ long __RPC_FAR *plTop) = 0;
  1326.         
  1327.         virtual HRESULT STDMETHODCALLTYPE GetSize( 
  1328.             /* [out] */ long __RPC_FAR *plWidth,
  1329.             /* [out] */ long __RPC_FAR *plHeight) = 0;
  1330.         
  1331.     };
  1332.     
  1333. #else     /* C style interface */
  1334.  
  1335.     typedef struct IAgentCommandWindowVtbl
  1336.     {
  1337.         BEGIN_INTERFACE
  1338.         
  1339.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1340.             IAgentCommandWindow __RPC_FAR * This,
  1341.             /* [in] */ REFIID riid,
  1342.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1343.         
  1344.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1345.             IAgentCommandWindow __RPC_FAR * This);
  1346.         
  1347.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1348.             IAgentCommandWindow __RPC_FAR * This);
  1349.         
  1350.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  1351.             IAgentCommandWindow __RPC_FAR * This,
  1352.             /* [out] */ UINT __RPC_FAR *pctinfo);
  1353.         
  1354.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  1355.             IAgentCommandWindow __RPC_FAR * This,
  1356.             /* [in] */ UINT iTInfo,
  1357.             /* [in] */ LCID lcid,
  1358.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1359.         
  1360.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  1361.             IAgentCommandWindow __RPC_FAR * This,
  1362.             /* [in] */ REFIID riid,
  1363.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1364.             /* [in] */ UINT cNames,
  1365.             /* [in] */ LCID lcid,
  1366.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1367.         
  1368.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  1369.             IAgentCommandWindow __RPC_FAR * This,
  1370.             /* [in] */ DISPID dispIdMember,
  1371.             /* [in] */ REFIID riid,
  1372.             /* [in] */ LCID lcid,
  1373.             /* [in] */ WORD wFlags,
  1374.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1375.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1376.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1377.             /* [out] */ UINT __RPC_FAR *puArgErr);
  1378.         
  1379.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )( 
  1380.             IAgentCommandWindow __RPC_FAR * This,
  1381.             /* [in] */ long bVisible);
  1382.         
  1383.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )( 
  1384.             IAgentCommandWindow __RPC_FAR * This,
  1385.             /* [out] */ long __RPC_FAR *pbVisible);
  1386.         
  1387.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPosition )( 
  1388.             IAgentCommandWindow __RPC_FAR * This,
  1389.             /* [out] */ long __RPC_FAR *plLeft,
  1390.             /* [out] */ long __RPC_FAR *plTop);
  1391.         
  1392.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSize )( 
  1393.             IAgentCommandWindow __RPC_FAR * This,
  1394.             /* [out] */ long __RPC_FAR *plWidth,
  1395.             /* [out] */ long __RPC_FAR *plHeight);
  1396.         
  1397.         END_INTERFACE
  1398.     } IAgentCommandWindowVtbl;
  1399.  
  1400.     interface IAgentCommandWindow
  1401.     {
  1402.         CONST_VTBL struct IAgentCommandWindowVtbl __RPC_FAR *lpVtbl;
  1403.     };
  1404.  
  1405.     
  1406.  
  1407. #ifdef COBJMACROS
  1408.  
  1409.  
  1410. #define IAgentCommandWindow_QueryInterface(This,riid,ppvObject)    \
  1411.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1412.  
  1413. #define IAgentCommandWindow_AddRef(This)    \
  1414.     (This)->lpVtbl -> AddRef(This)
  1415.  
  1416. #define IAgentCommandWindow_Release(This)    \
  1417.     (This)->lpVtbl -> Release(This)
  1418.  
  1419.  
  1420. #define IAgentCommandWindow_GetTypeInfoCount(This,pctinfo)    \
  1421.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1422.  
  1423. #define IAgentCommandWindow_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  1424.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1425.  
  1426. #define IAgentCommandWindow_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  1427.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1428.  
  1429. #define IAgentCommandWindow_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  1430.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1431.  
  1432.  
  1433. #define IAgentCommandWindow_SetVisible(This,bVisible)    \
  1434.     (This)->lpVtbl -> SetVisible(This,bVisible)
  1435.  
  1436. #define IAgentCommandWindow_GetVisible(This,pbVisible)    \
  1437.     (This)->lpVtbl -> GetVisible(This,pbVisible)
  1438.  
  1439. #define IAgentCommandWindow_GetPosition(This,plLeft,plTop)    \
  1440.     (This)->lpVtbl -> GetPosition(This,plLeft,plTop)
  1441.  
  1442. #define IAgentCommandWindow_GetSize(This,plWidth,plHeight)    \
  1443.     (This)->lpVtbl -> GetSize(This,plWidth,plHeight)
  1444.  
  1445. #endif /* COBJMACROS */
  1446.  
  1447.  
  1448. #endif     /* C style interface */
  1449.  
  1450.  
  1451.  
  1452. HRESULT STDMETHODCALLTYPE IAgentCommandWindow_SetVisible_Proxy( 
  1453.     IAgentCommandWindow __RPC_FAR * This,
  1454.     /* [in] */ long bVisible);
  1455.  
  1456.  
  1457. void __RPC_STUB IAgentCommandWindow_SetVisible_Stub(
  1458.     IRpcStubBuffer *This,
  1459.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1460.     PRPC_MESSAGE _pRpcMessage,
  1461.     DWORD *_pdwStubPhase);
  1462.  
  1463.  
  1464. HRESULT STDMETHODCALLTYPE IAgentCommandWindow_GetVisible_Proxy( 
  1465.     IAgentCommandWindow __RPC_FAR * This,
  1466.     /* [out] */ long __RPC_FAR *pbVisible);
  1467.  
  1468.  
  1469. void __RPC_STUB IAgentCommandWindow_GetVisible_Stub(
  1470.     IRpcStubBuffer *This,
  1471.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1472.     PRPC_MESSAGE _pRpcMessage,
  1473.     DWORD *_pdwStubPhase);
  1474.  
  1475.  
  1476. HRESULT STDMETHODCALLTYPE IAgentCommandWindow_GetPosition_Proxy( 
  1477.     IAgentCommandWindow __RPC_FAR * This,
  1478.     /* [out] */ long __RPC_FAR *plLeft,
  1479.     /* [out] */ long __RPC_FAR *plTop);
  1480.  
  1481.  
  1482. void __RPC_STUB IAgentCommandWindow_GetPosition_Stub(
  1483.     IRpcStubBuffer *This,
  1484.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1485.     PRPC_MESSAGE _pRpcMessage,
  1486.     DWORD *_pdwStubPhase);
  1487.  
  1488.  
  1489. HRESULT STDMETHODCALLTYPE IAgentCommandWindow_GetSize_Proxy( 
  1490.     IAgentCommandWindow __RPC_FAR * This,
  1491.     /* [out] */ long __RPC_FAR *plWidth,
  1492.     /* [out] */ long __RPC_FAR *plHeight);
  1493.  
  1494.  
  1495. void __RPC_STUB IAgentCommandWindow_GetSize_Stub(
  1496.     IRpcStubBuffer *This,
  1497.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1498.     PRPC_MESSAGE _pRpcMessage,
  1499.     DWORD *_pdwStubPhase);
  1500.  
  1501.  
  1502.  
  1503. #endif     /* __IAgentCommandWindow_INTERFACE_DEFINED__ */
  1504.  
  1505.  
  1506. #ifndef __IAgentSpeechInputProperties_INTERFACE_DEFINED__
  1507. #define __IAgentSpeechInputProperties_INTERFACE_DEFINED__
  1508.  
  1509. /****************************************
  1510.  * Generated header for interface: IAgentSpeechInputProperties
  1511.  * at Wed Aug 13 21:04:17 1997
  1512.  * using MIDL 3.01.75
  1513.  ****************************************/
  1514. /* [unique][helpstring][dual][uuid][object] */ 
  1515.  
  1516.  
  1517.  
  1518. EXTERN_C const IID IID_IAgentSpeechInputProperties;
  1519.  
  1520. #if defined(__cplusplus) && !defined(CINTERFACE)
  1521.     
  1522.     interface DECLSPEC_UUID("A7B93C87-7B81-11D0-AC5F-00C04FD97575")
  1523.     IAgentSpeechInputProperties : public IDispatch
  1524.     {
  1525.     public:
  1526.         virtual HRESULT STDMETHODCALLTYPE GetInstalled( 
  1527.             /* [out] */ long __RPC_FAR *pbInstalled) = 0;
  1528.         
  1529.         virtual HRESULT STDMETHODCALLTYPE GetEnabled( 
  1530.             /* [out] */ long __RPC_FAR *pbEnabled) = 0;
  1531.         
  1532.         virtual HRESULT STDMETHODCALLTYPE GetHotKey( 
  1533.             /* [out] */ BSTR __RPC_FAR *pbszHotCharKey) = 0;
  1534.         
  1535.         virtual HRESULT STDMETHODCALLTYPE GetLCID( 
  1536.             /* [out] */ LCID __RPC_FAR *plcidCurrent) = 0;
  1537.         
  1538.         virtual HRESULT STDMETHODCALLTYPE GetEngine( 
  1539.             /* [out] */ BSTR __RPC_FAR *pbszEngine) = 0;
  1540.         
  1541.         virtual HRESULT STDMETHODCALLTYPE SetEngine( 
  1542.             /* [in] */ BSTR bszEngine) = 0;
  1543.         
  1544.         virtual HRESULT STDMETHODCALLTYPE GetListeningTip( 
  1545.             /* [out] */ long __RPC_FAR *pbListeningTip) = 0;
  1546.         
  1547.     };
  1548.     
  1549. #else     /* C style interface */
  1550.  
  1551.     typedef struct IAgentSpeechInputPropertiesVtbl
  1552.     {
  1553.         BEGIN_INTERFACE
  1554.         
  1555.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1556.             IAgentSpeechInputProperties __RPC_FAR * This,
  1557.             /* [in] */ REFIID riid,
  1558.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1559.         
  1560.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1561.             IAgentSpeechInputProperties __RPC_FAR * This);
  1562.         
  1563.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1564.             IAgentSpeechInputProperties __RPC_FAR * This);
  1565.         
  1566.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  1567.             IAgentSpeechInputProperties __RPC_FAR * This,
  1568.             /* [out] */ UINT __RPC_FAR *pctinfo);
  1569.         
  1570.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  1571.             IAgentSpeechInputProperties __RPC_FAR * This,
  1572.             /* [in] */ UINT iTInfo,
  1573.             /* [in] */ LCID lcid,
  1574.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1575.         
  1576.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  1577.             IAgentSpeechInputProperties __RPC_FAR * This,
  1578.             /* [in] */ REFIID riid,
  1579.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1580.             /* [in] */ UINT cNames,
  1581.             /* [in] */ LCID lcid,
  1582.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1583.         
  1584.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  1585.             IAgentSpeechInputProperties __RPC_FAR * This,
  1586.             /* [in] */ DISPID dispIdMember,
  1587.             /* [in] */ REFIID riid,
  1588.             /* [in] */ LCID lcid,
  1589.             /* [in] */ WORD wFlags,
  1590.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1591.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1592.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1593.             /* [out] */ UINT __RPC_FAR *puArgErr);
  1594.         
  1595.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetInstalled )( 
  1596.             IAgentSpeechInputProperties __RPC_FAR * This,
  1597.             /* [out] */ long __RPC_FAR *pbInstalled);
  1598.         
  1599.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )( 
  1600.             IAgentSpeechInputProperties __RPC_FAR * This,
  1601.             /* [out] */ long __RPC_FAR *pbEnabled);
  1602.         
  1603.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHotKey )( 
  1604.             IAgentSpeechInputProperties __RPC_FAR * This,
  1605.             /* [out] */ BSTR __RPC_FAR *pbszHotCharKey);
  1606.         
  1607.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLCID )( 
  1608.             IAgentSpeechInputProperties __RPC_FAR * This,
  1609.             /* [out] */ LCID __RPC_FAR *plcidCurrent);
  1610.         
  1611.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEngine )( 
  1612.             IAgentSpeechInputProperties __RPC_FAR * This,
  1613.             /* [out] */ BSTR __RPC_FAR *pbszEngine);
  1614.         
  1615.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetEngine )( 
  1616.             IAgentSpeechInputProperties __RPC_FAR * This,
  1617.             /* [in] */ BSTR bszEngine);
  1618.         
  1619.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetListeningTip )( 
  1620.             IAgentSpeechInputProperties __RPC_FAR * This,
  1621.             /* [out] */ long __RPC_FAR *pbListeningTip);
  1622.         
  1623.         END_INTERFACE
  1624.     } IAgentSpeechInputPropertiesVtbl;
  1625.  
  1626.     interface IAgentSpeechInputProperties
  1627.     {
  1628.         CONST_VTBL struct IAgentSpeechInputPropertiesVtbl __RPC_FAR *lpVtbl;
  1629.     };
  1630.  
  1631.     
  1632.  
  1633. #ifdef COBJMACROS
  1634.  
  1635.  
  1636. #define IAgentSpeechInputProperties_QueryInterface(This,riid,ppvObject)    \
  1637.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1638.  
  1639. #define IAgentSpeechInputProperties_AddRef(This)    \
  1640.     (This)->lpVtbl -> AddRef(This)
  1641.  
  1642. #define IAgentSpeechInputProperties_Release(This)    \
  1643.     (This)->lpVtbl -> Release(This)
  1644.  
  1645.  
  1646. #define IAgentSpeechInputProperties_GetTypeInfoCount(This,pctinfo)    \
  1647.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1648.  
  1649. #define IAgentSpeechInputProperties_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  1650.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1651.  
  1652. #define IAgentSpeechInputProperties_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  1653.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1654.  
  1655. #define IAgentSpeechInputProperties_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  1656.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1657.  
  1658.  
  1659. #define IAgentSpeechInputProperties_GetInstalled(This,pbInstalled)    \
  1660.     (This)->lpVtbl -> GetInstalled(This,pbInstalled)
  1661.  
  1662. #define IAgentSpeechInputProperties_GetEnabled(This,pbEnabled)    \
  1663.     (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  1664.  
  1665. #define IAgentSpeechInputProperties_GetHotKey(This,pbszHotCharKey)    \
  1666.     (This)->lpVtbl -> GetHotKey(This,pbszHotCharKey)
  1667.  
  1668. #define IAgentSpeechInputProperties_GetLCID(This,plcidCurrent)    \
  1669.     (This)->lpVtbl -> GetLCID(This,plcidCurrent)
  1670.  
  1671. #define IAgentSpeechInputProperties_GetEngine(This,pbszEngine)    \
  1672.     (This)->lpVtbl -> GetEngine(This,pbszEngine)
  1673.  
  1674. #define IAgentSpeechInputProperties_SetEngine(This,bszEngine)    \
  1675.     (This)->lpVtbl -> SetEngine(This,bszEngine)
  1676.  
  1677. #define IAgentSpeechInputProperties_GetListeningTip(This,pbListeningTip)    \
  1678.     (This)->lpVtbl -> GetListeningTip(This,pbListeningTip)
  1679.  
  1680. #endif /* COBJMACROS */
  1681.  
  1682.  
  1683. #endif     /* C style interface */
  1684.  
  1685.  
  1686.  
  1687. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetInstalled_Proxy( 
  1688.     IAgentSpeechInputProperties __RPC_FAR * This,
  1689.     /* [out] */ long __RPC_FAR *pbInstalled);
  1690.  
  1691.  
  1692. void __RPC_STUB IAgentSpeechInputProperties_GetInstalled_Stub(
  1693.     IRpcStubBuffer *This,
  1694.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1695.     PRPC_MESSAGE _pRpcMessage,
  1696.     DWORD *_pdwStubPhase);
  1697.  
  1698.  
  1699. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetEnabled_Proxy( 
  1700.     IAgentSpeechInputProperties __RPC_FAR * This,
  1701.     /* [out] */ long __RPC_FAR *pbEnabled);
  1702.  
  1703.  
  1704. void __RPC_STUB IAgentSpeechInputProperties_GetEnabled_Stub(
  1705.     IRpcStubBuffer *This,
  1706.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1707.     PRPC_MESSAGE _pRpcMessage,
  1708.     DWORD *_pdwStubPhase);
  1709.  
  1710.  
  1711. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetHotKey_Proxy( 
  1712.     IAgentSpeechInputProperties __RPC_FAR * This,
  1713.     /* [out] */ BSTR __RPC_FAR *pbszHotCharKey);
  1714.  
  1715.  
  1716. void __RPC_STUB IAgentSpeechInputProperties_GetHotKey_Stub(
  1717.     IRpcStubBuffer *This,
  1718.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1719.     PRPC_MESSAGE _pRpcMessage,
  1720.     DWORD *_pdwStubPhase);
  1721.  
  1722.  
  1723. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetLCID_Proxy( 
  1724.     IAgentSpeechInputProperties __RPC_FAR * This,
  1725.     /* [out] */ LCID __RPC_FAR *plcidCurrent);
  1726.  
  1727.  
  1728. void __RPC_STUB IAgentSpeechInputProperties_GetLCID_Stub(
  1729.     IRpcStubBuffer *This,
  1730.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1731.     PRPC_MESSAGE _pRpcMessage,
  1732.     DWORD *_pdwStubPhase);
  1733.  
  1734.  
  1735. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetEngine_Proxy( 
  1736.     IAgentSpeechInputProperties __RPC_FAR * This,
  1737.     /* [out] */ BSTR __RPC_FAR *pbszEngine);
  1738.  
  1739.  
  1740. void __RPC_STUB IAgentSpeechInputProperties_GetEngine_Stub(
  1741.     IRpcStubBuffer *This,
  1742.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1743.     PRPC_MESSAGE _pRpcMessage,
  1744.     DWORD *_pdwStubPhase);
  1745.  
  1746.  
  1747. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_SetEngine_Proxy( 
  1748.     IAgentSpeechInputProperties __RPC_FAR * This,
  1749.     /* [in] */ BSTR bszEngine);
  1750.  
  1751.  
  1752. void __RPC_STUB IAgentSpeechInputProperties_SetEngine_Stub(
  1753.     IRpcStubBuffer *This,
  1754.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1755.     PRPC_MESSAGE _pRpcMessage,
  1756.     DWORD *_pdwStubPhase);
  1757.  
  1758.  
  1759. HRESULT STDMETHODCALLTYPE IAgentSpeechInputProperties_GetListeningTip_Proxy( 
  1760.     IAgentSpeechInputProperties __RPC_FAR * This,
  1761.     /* [out] */ long __RPC_FAR *pbListeningTip);
  1762.  
  1763.  
  1764. void __RPC_STUB IAgentSpeechInputProperties_GetListeningTip_Stub(
  1765.     IRpcStubBuffer *This,
  1766.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1767.     PRPC_MESSAGE _pRpcMessage,
  1768.     DWORD *_pdwStubPhase);
  1769.  
  1770.  
  1771.  
  1772. #endif     /* __IAgentSpeechInputProperties_INTERFACE_DEFINED__ */
  1773.  
  1774.  
  1775. #ifndef __IAgentAudioOutputProperties_INTERFACE_DEFINED__
  1776. #define __IAgentAudioOutputProperties_INTERFACE_DEFINED__
  1777.  
  1778. /****************************************
  1779.  * Generated header for interface: IAgentAudioOutputProperties
  1780.  * at Wed Aug 13 21:04:17 1997
  1781.  * using MIDL 3.01.75
  1782.  ****************************************/
  1783. /* [unique][helpstring][dual][uuid][object] */ 
  1784.  
  1785.  
  1786.  
  1787. EXTERN_C const IID IID_IAgentAudioOutputProperties;
  1788.  
  1789. #if defined(__cplusplus) && !defined(CINTERFACE)
  1790.     
  1791.     interface DECLSPEC_UUID("A7B93C89-7B81-11D0-AC5F-00C04FD97575")
  1792.     IAgentAudioOutputProperties : public IDispatch
  1793.     {
  1794.     public:
  1795.         virtual HRESULT STDMETHODCALLTYPE GetEnabled( 
  1796.             /* [out] */ long __RPC_FAR *pbEnabled) = 0;
  1797.         
  1798.         virtual HRESULT STDMETHODCALLTYPE GetUsingSoundEffects( 
  1799.             /* [out] */ long __RPC_FAR *pbUsingSoundEffects) = 0;
  1800.         
  1801.     };
  1802.     
  1803. #else     /* C style interface */
  1804.  
  1805.     typedef struct IAgentAudioOutputPropertiesVtbl
  1806.     {
  1807.         BEGIN_INTERFACE
  1808.         
  1809.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1810.             IAgentAudioOutputProperties __RPC_FAR * This,
  1811.             /* [in] */ REFIID riid,
  1812.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1813.         
  1814.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1815.             IAgentAudioOutputProperties __RPC_FAR * This);
  1816.         
  1817.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1818.             IAgentAudioOutputProperties __RPC_FAR * This);
  1819.         
  1820.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  1821.             IAgentAudioOutputProperties __RPC_FAR * This,
  1822.             /* [out] */ UINT __RPC_FAR *pctinfo);
  1823.         
  1824.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  1825.             IAgentAudioOutputProperties __RPC_FAR * This,
  1826.             /* [in] */ UINT iTInfo,
  1827.             /* [in] */ LCID lcid,
  1828.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1829.         
  1830.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  1831.             IAgentAudioOutputProperties __RPC_FAR * This,
  1832.             /* [in] */ REFIID riid,
  1833.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1834.             /* [in] */ UINT cNames,
  1835.             /* [in] */ LCID lcid,
  1836.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1837.         
  1838.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  1839.             IAgentAudioOutputProperties __RPC_FAR * This,
  1840.             /* [in] */ DISPID dispIdMember,
  1841.             /* [in] */ REFIID riid,
  1842.             /* [in] */ LCID lcid,
  1843.             /* [in] */ WORD wFlags,
  1844.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1845.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1846.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1847.             /* [out] */ UINT __RPC_FAR *puArgErr);
  1848.         
  1849.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )( 
  1850.             IAgentAudioOutputProperties __RPC_FAR * This,
  1851.             /* [out] */ long __RPC_FAR *pbEnabled);
  1852.         
  1853.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetUsingSoundEffects )( 
  1854.             IAgentAudioOutputProperties __RPC_FAR * This,
  1855.             /* [out] */ long __RPC_FAR *pbUsingSoundEffects);
  1856.         
  1857.         END_INTERFACE
  1858.     } IAgentAudioOutputPropertiesVtbl;
  1859.  
  1860.     interface IAgentAudioOutputProperties
  1861.     {
  1862.         CONST_VTBL struct IAgentAudioOutputPropertiesVtbl __RPC_FAR *lpVtbl;
  1863.     };
  1864.  
  1865.     
  1866.  
  1867. #ifdef COBJMACROS
  1868.  
  1869.  
  1870. #define IAgentAudioOutputProperties_QueryInterface(This,riid,ppvObject)    \
  1871.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1872.  
  1873. #define IAgentAudioOutputProperties_AddRef(This)    \
  1874.     (This)->lpVtbl -> AddRef(This)
  1875.  
  1876. #define IAgentAudioOutputProperties_Release(This)    \
  1877.     (This)->lpVtbl -> Release(This)
  1878.  
  1879.  
  1880. #define IAgentAudioOutputProperties_GetTypeInfoCount(This,pctinfo)    \
  1881.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1882.  
  1883. #define IAgentAudioOutputProperties_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  1884.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1885.  
  1886. #define IAgentAudioOutputProperties_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  1887.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1888.  
  1889. #define IAgentAudioOutputProperties_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  1890.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1891.  
  1892.  
  1893. #define IAgentAudioOutputProperties_GetEnabled(This,pbEnabled)    \
  1894.     (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  1895.  
  1896. #define IAgentAudioOutputProperties_GetUsingSoundEffects(This,pbUsingSoundEffects)    \
  1897.     (This)->lpVtbl -> GetUsingSoundEffects(This,pbUsingSoundEffects)
  1898.  
  1899. #endif /* COBJMACROS */
  1900.  
  1901.  
  1902. #endif     /* C style interface */
  1903.  
  1904.  
  1905.  
  1906. HRESULT STDMETHODCALLTYPE IAgentAudioOutputProperties_GetEnabled_Proxy( 
  1907.     IAgentAudioOutputProperties __RPC_FAR * This,
  1908.     /* [out] */ long __RPC_FAR *pbEnabled);
  1909.  
  1910.  
  1911. void __RPC_STUB IAgentAudioOutputProperties_GetEnabled_Stub(
  1912.     IRpcStubBuffer *This,
  1913.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1914.     PRPC_MESSAGE _pRpcMessage,
  1915.     DWORD *_pdwStubPhase);
  1916.  
  1917.  
  1918. HRESULT STDMETHODCALLTYPE IAgentAudioOutputProperties_GetUsingSoundEffects_Proxy( 
  1919.     IAgentAudioOutputProperties __RPC_FAR * This,
  1920.     /* [out] */ long __RPC_FAR *pbUsingSoundEffects);
  1921.  
  1922.  
  1923. void __RPC_STUB IAgentAudioOutputProperties_GetUsingSoundEffects_Stub(
  1924.     IRpcStubBuffer *This,
  1925.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1926.     PRPC_MESSAGE _pRpcMessage,
  1927.     DWORD *_pdwStubPhase);
  1928.  
  1929.  
  1930.  
  1931. #endif     /* __IAgentAudioOutputProperties_INTERFACE_DEFINED__ */
  1932.  
  1933.  
  1934. #ifndef __IAgentPropertySheet_INTERFACE_DEFINED__
  1935. #define __IAgentPropertySheet_INTERFACE_DEFINED__
  1936.  
  1937. /****************************************
  1938.  * Generated header for interface: IAgentPropertySheet
  1939.  * at Wed Aug 13 21:04:17 1997
  1940.  * using MIDL 3.01.75
  1941.  ****************************************/
  1942. /* [unique][helpstring][dual][uuid][object] */ 
  1943.  
  1944.  
  1945.  
  1946. EXTERN_C const IID IID_IAgentPropertySheet;
  1947.  
  1948. #if defined(__cplusplus) && !defined(CINTERFACE)
  1949.     
  1950.     interface DECLSPEC_UUID("A7B93C8B-7B81-11D0-AC5F-00C04FD97575")
  1951.     IAgentPropertySheet : public IDispatch
  1952.     {
  1953.     public:
  1954.         virtual HRESULT STDMETHODCALLTYPE GetVisible( 
  1955.             /* [out] */ long __RPC_FAR *pbVisible) = 0;
  1956.         
  1957.         virtual HRESULT STDMETHODCALLTYPE SetVisible( 
  1958.             /* [in] */ long bVisible) = 0;
  1959.         
  1960.         virtual HRESULT STDMETHODCALLTYPE GetPosition( 
  1961.             /* [out] */ long __RPC_FAR *plLeft,
  1962.             /* [out] */ long __RPC_FAR *plTop) = 0;
  1963.         
  1964.         virtual HRESULT STDMETHODCALLTYPE GetSize( 
  1965.             /* [out] */ long __RPC_FAR *plWidth,
  1966.             /* [out] */ long __RPC_FAR *plHeight) = 0;
  1967.         
  1968.         virtual HRESULT STDMETHODCALLTYPE GetPage( 
  1969.             /* [out] */ BSTR __RPC_FAR *pbszPage) = 0;
  1970.         
  1971.         virtual HRESULT STDMETHODCALLTYPE SetPage( 
  1972.             /* [in] */ BSTR bszPage) = 0;
  1973.         
  1974.     };
  1975.     
  1976. #else     /* C style interface */
  1977.  
  1978.     typedef struct IAgentPropertySheetVtbl
  1979.     {
  1980.         BEGIN_INTERFACE
  1981.         
  1982.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1983.             IAgentPropertySheet __RPC_FAR * This,
  1984.             /* [in] */ REFIID riid,
  1985.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1986.         
  1987.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1988.             IAgentPropertySheet __RPC_FAR * This);
  1989.         
  1990.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1991.             IAgentPropertySheet __RPC_FAR * This);
  1992.         
  1993.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  1994.             IAgentPropertySheet __RPC_FAR * This,
  1995.             /* [out] */ UINT __RPC_FAR *pctinfo);
  1996.         
  1997.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  1998.             IAgentPropertySheet __RPC_FAR * This,
  1999.             /* [in] */ UINT iTInfo,
  2000.             /* [in] */ LCID lcid,
  2001.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2002.         
  2003.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  2004.             IAgentPropertySheet __RPC_FAR * This,
  2005.             /* [in] */ REFIID riid,
  2006.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2007.             /* [in] */ UINT cNames,
  2008.             /* [in] */ LCID lcid,
  2009.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2010.         
  2011.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  2012.             IAgentPropertySheet __RPC_FAR * This,
  2013.             /* [in] */ DISPID dispIdMember,
  2014.             /* [in] */ REFIID riid,
  2015.             /* [in] */ LCID lcid,
  2016.             /* [in] */ WORD wFlags,
  2017.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2018.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2019.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2020.             /* [out] */ UINT __RPC_FAR *puArgErr);
  2021.         
  2022.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )( 
  2023.             IAgentPropertySheet __RPC_FAR * This,
  2024.             /* [out] */ long __RPC_FAR *pbVisible);
  2025.         
  2026.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )( 
  2027.             IAgentPropertySheet __RPC_FAR * This,
  2028.             /* [in] */ long bVisible);
  2029.         
  2030.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPosition )( 
  2031.             IAgentPropertySheet __RPC_FAR * This,
  2032.             /* [out] */ long __RPC_FAR *plLeft,
  2033.             /* [out] */ long __RPC_FAR *plTop);
  2034.         
  2035.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSize )( 
  2036.             IAgentPropertySheet __RPC_FAR * This,
  2037.             /* [out] */ long __RPC_FAR *plWidth,
  2038.             /* [out] */ long __RPC_FAR *plHeight);
  2039.         
  2040.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPage )( 
  2041.             IAgentPropertySheet __RPC_FAR * This,
  2042.             /* [out] */ BSTR __RPC_FAR *pbszPage);
  2043.         
  2044.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPage )( 
  2045.             IAgentPropertySheet __RPC_FAR * This,
  2046.             /* [in] */ BSTR bszPage);
  2047.         
  2048.         END_INTERFACE
  2049.     } IAgentPropertySheetVtbl;
  2050.  
  2051.     interface IAgentPropertySheet
  2052.     {
  2053.         CONST_VTBL struct IAgentPropertySheetVtbl __RPC_FAR *lpVtbl;
  2054.     };
  2055.  
  2056.     
  2057.  
  2058. #ifdef COBJMACROS
  2059.  
  2060.  
  2061. #define IAgentPropertySheet_QueryInterface(This,riid,ppvObject)    \
  2062.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2063.  
  2064. #define IAgentPropertySheet_AddRef(This)    \
  2065.     (This)->lpVtbl -> AddRef(This)
  2066.  
  2067. #define IAgentPropertySheet_Release(This)    \
  2068.     (This)->lpVtbl -> Release(This)
  2069.  
  2070.  
  2071. #define IAgentPropertySheet_GetTypeInfoCount(This,pctinfo)    \
  2072.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2073.  
  2074. #define IAgentPropertySheet_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  2075.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2076.  
  2077. #define IAgentPropertySheet_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  2078.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2079.  
  2080. #define IAgentPropertySheet_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  2081.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2082.  
  2083.  
  2084. #define IAgentPropertySheet_GetVisible(This,pbVisible)    \
  2085.     (This)->lpVtbl -> GetVisible(This,pbVisible)
  2086.  
  2087. #define IAgentPropertySheet_SetVisible(This,bVisible)    \
  2088.     (This)->lpVtbl -> SetVisible(This,bVisible)
  2089.  
  2090. #define IAgentPropertySheet_GetPosition(This,plLeft,plTop)    \
  2091.     (This)->lpVtbl -> GetPosition(This,plLeft,plTop)
  2092.  
  2093. #define IAgentPropertySheet_GetSize(This,plWidth,plHeight)    \
  2094.     (This)->lpVtbl -> GetSize(This,plWidth,plHeight)
  2095.  
  2096. #define IAgentPropertySheet_GetPage(This,pbszPage)    \
  2097.     (This)->lpVtbl -> GetPage(This,pbszPage)
  2098.  
  2099. #define IAgentPropertySheet_SetPage(This,bszPage)    \
  2100.     (This)->lpVtbl -> SetPage(This,bszPage)
  2101.  
  2102. #endif /* COBJMACROS */
  2103.  
  2104.  
  2105. #endif     /* C style interface */
  2106.  
  2107.  
  2108.  
  2109. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_GetVisible_Proxy( 
  2110.     IAgentPropertySheet __RPC_FAR * This,
  2111.     /* [out] */ long __RPC_FAR *pbVisible);
  2112.  
  2113.  
  2114. void __RPC_STUB IAgentPropertySheet_GetVisible_Stub(
  2115.     IRpcStubBuffer *This,
  2116.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2117.     PRPC_MESSAGE _pRpcMessage,
  2118.     DWORD *_pdwStubPhase);
  2119.  
  2120.  
  2121. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_SetVisible_Proxy( 
  2122.     IAgentPropertySheet __RPC_FAR * This,
  2123.     /* [in] */ long bVisible);
  2124.  
  2125.  
  2126. void __RPC_STUB IAgentPropertySheet_SetVisible_Stub(
  2127.     IRpcStubBuffer *This,
  2128.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2129.     PRPC_MESSAGE _pRpcMessage,
  2130.     DWORD *_pdwStubPhase);
  2131.  
  2132.  
  2133. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_GetPosition_Proxy( 
  2134.     IAgentPropertySheet __RPC_FAR * This,
  2135.     /* [out] */ long __RPC_FAR *plLeft,
  2136.     /* [out] */ long __RPC_FAR *plTop);
  2137.  
  2138.  
  2139. void __RPC_STUB IAgentPropertySheet_GetPosition_Stub(
  2140.     IRpcStubBuffer *This,
  2141.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2142.     PRPC_MESSAGE _pRpcMessage,
  2143.     DWORD *_pdwStubPhase);
  2144.  
  2145.  
  2146. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_GetSize_Proxy( 
  2147.     IAgentPropertySheet __RPC_FAR * This,
  2148.     /* [out] */ long __RPC_FAR *plWidth,
  2149.     /* [out] */ long __RPC_FAR *plHeight);
  2150.  
  2151.  
  2152. void __RPC_STUB IAgentPropertySheet_GetSize_Stub(
  2153.     IRpcStubBuffer *This,
  2154.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2155.     PRPC_MESSAGE _pRpcMessage,
  2156.     DWORD *_pdwStubPhase);
  2157.  
  2158.  
  2159. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_GetPage_Proxy( 
  2160.     IAgentPropertySheet __RPC_FAR * This,
  2161.     /* [out] */ BSTR __RPC_FAR *pbszPage);
  2162.  
  2163.  
  2164. void __RPC_STUB IAgentPropertySheet_GetPage_Stub(
  2165.     IRpcStubBuffer *This,
  2166.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2167.     PRPC_MESSAGE _pRpcMessage,
  2168.     DWORD *_pdwStubPhase);
  2169.  
  2170.  
  2171. HRESULT STDMETHODCALLTYPE IAgentPropertySheet_SetPage_Proxy( 
  2172.     IAgentPropertySheet __RPC_FAR * This,
  2173.     /* [in] */ BSTR bszPage);
  2174.  
  2175.  
  2176. void __RPC_STUB IAgentPropertySheet_SetPage_Stub(
  2177.     IRpcStubBuffer *This,
  2178.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2179.     PRPC_MESSAGE _pRpcMessage,
  2180.     DWORD *_pdwStubPhase);
  2181.  
  2182.  
  2183.  
  2184. #endif     /* __IAgentPropertySheet_INTERFACE_DEFINED__ */
  2185.  
  2186.  
  2187. #ifndef __IAgentBalloon_INTERFACE_DEFINED__
  2188. #define __IAgentBalloon_INTERFACE_DEFINED__
  2189.  
  2190. /****************************************
  2191.  * Generated header for interface: IAgentBalloon
  2192.  * at Wed Aug 13 21:04:17 1997
  2193.  * using MIDL 3.01.75
  2194.  ****************************************/
  2195. /* [unique][helpstring][dual][uuid][object] */ 
  2196.  
  2197.  
  2198.  
  2199. EXTERN_C const IID IID_IAgentBalloon;
  2200.  
  2201. #if defined(__cplusplus) && !defined(CINTERFACE)
  2202.     
  2203.     interface DECLSPEC_UUID("A7B93C8D-7B81-11D0-AC5F-00C04FD97575")
  2204.     IAgentBalloon : public IDispatch
  2205.     {
  2206.     public:
  2207.         virtual HRESULT STDMETHODCALLTYPE GetEnabled( 
  2208.             /* [out] */ long __RPC_FAR *pbEnabled) = 0;
  2209.         
  2210.         virtual HRESULT STDMETHODCALLTYPE GetNumLines( 
  2211.             /* [out] */ long __RPC_FAR *plcLines) = 0;
  2212.         
  2213.         virtual HRESULT STDMETHODCALLTYPE GetNumCharsPerLine( 
  2214.             /* [out] */ long __RPC_FAR *plCharsPerLine) = 0;
  2215.         
  2216.         virtual HRESULT STDMETHODCALLTYPE GetFontName( 
  2217.             /* [out] */ BSTR __RPC_FAR *pbszFontName) = 0;
  2218.         
  2219.         virtual HRESULT STDMETHODCALLTYPE GetFontSize( 
  2220.             /* [out] */ long __RPC_FAR *plFontSize) = 0;
  2221.         
  2222.         virtual HRESULT STDMETHODCALLTYPE GetFontBold( 
  2223.             /* [out] */ long __RPC_FAR *pbFontBold) = 0;
  2224.         
  2225.         virtual HRESULT STDMETHODCALLTYPE GetFontItalic( 
  2226.             /* [out] */ long __RPC_FAR *pbFontItalic) = 0;
  2227.         
  2228.         virtual HRESULT STDMETHODCALLTYPE GetFontStrikethru( 
  2229.             /* [out] */ long __RPC_FAR *pbFontStrikethru) = 0;
  2230.         
  2231.         virtual HRESULT STDMETHODCALLTYPE GetFontUnderline( 
  2232.             /* [out] */ long __RPC_FAR *pbFontUnderline) = 0;
  2233.         
  2234.         virtual HRESULT STDMETHODCALLTYPE GetForeColor( 
  2235.             /* [out] */ long __RPC_FAR *plFGColor) = 0;
  2236.         
  2237.         virtual HRESULT STDMETHODCALLTYPE GetBackColor( 
  2238.             /* [out] */ long __RPC_FAR *plBGColor) = 0;
  2239.         
  2240.         virtual HRESULT STDMETHODCALLTYPE GetBorderColor( 
  2241.             /* [out] */ long __RPC_FAR *plBorderColor) = 0;
  2242.         
  2243.         virtual HRESULT STDMETHODCALLTYPE SetVisible( 
  2244.             /* [in] */ long bVisible) = 0;
  2245.         
  2246.         virtual HRESULT STDMETHODCALLTYPE GetVisible( 
  2247.             /* [out] */ long __RPC_FAR *pbVisible) = 0;
  2248.         
  2249.         virtual HRESULT STDMETHODCALLTYPE SetFontName( 
  2250.             /* [in] */ BSTR bszFontName) = 0;
  2251.         
  2252.         virtual HRESULT STDMETHODCALLTYPE SetFontSize( 
  2253.             /* [in] */ long lFontSize) = 0;
  2254.         
  2255.         virtual HRESULT STDMETHODCALLTYPE SetFontCharSet( 
  2256.             /* [in] */ short sFontCharSet) = 0;
  2257.         
  2258.         virtual HRESULT STDMETHODCALLTYPE GetFontCharSet( 
  2259.             /* [out] */ short __RPC_FAR *psFontCharSet) = 0;
  2260.         
  2261.     };
  2262.     
  2263. #else     /* C style interface */
  2264.  
  2265.     typedef struct IAgentBalloonVtbl
  2266.     {
  2267.         BEGIN_INTERFACE
  2268.         
  2269.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2270.             IAgentBalloon __RPC_FAR * This,
  2271.             /* [in] */ REFIID riid,
  2272.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2273.         
  2274.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2275.             IAgentBalloon __RPC_FAR * This);
  2276.         
  2277.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2278.             IAgentBalloon __RPC_FAR * This);
  2279.         
  2280.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  2281.             IAgentBalloon __RPC_FAR * This,
  2282.             /* [out] */ UINT __RPC_FAR *pctinfo);
  2283.         
  2284.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  2285.             IAgentBalloon __RPC_FAR * This,
  2286.             /* [in] */ UINT iTInfo,
  2287.             /* [in] */ LCID lcid,
  2288.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2289.         
  2290.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  2291.             IAgentBalloon __RPC_FAR * This,
  2292.             /* [in] */ REFIID riid,
  2293.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2294.             /* [in] */ UINT cNames,
  2295.             /* [in] */ LCID lcid,
  2296.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2297.         
  2298.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  2299.             IAgentBalloon __RPC_FAR * This,
  2300.             /* [in] */ DISPID dispIdMember,
  2301.             /* [in] */ REFIID riid,
  2302.             /* [in] */ LCID lcid,
  2303.             /* [in] */ WORD wFlags,
  2304.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2305.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2306.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2307.             /* [out] */ UINT __RPC_FAR *puArgErr);
  2308.         
  2309.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )( 
  2310.             IAgentBalloon __RPC_FAR * This,
  2311.             /* [out] */ long __RPC_FAR *pbEnabled);
  2312.         
  2313.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNumLines )( 
  2314.             IAgentBalloon __RPC_FAR * This,
  2315.             /* [out] */ long __RPC_FAR *plcLines);
  2316.         
  2317.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNumCharsPerLine )( 
  2318.             IAgentBalloon __RPC_FAR * This,
  2319.             /* [out] */ long __RPC_FAR *plCharsPerLine);
  2320.         
  2321.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontName )( 
  2322.             IAgentBalloon __RPC_FAR * This,
  2323.             /* [out] */ BSTR __RPC_FAR *pbszFontName);
  2324.         
  2325.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontSize )( 
  2326.             IAgentBalloon __RPC_FAR * This,
  2327.             /* [out] */ long __RPC_FAR *plFontSize);
  2328.         
  2329.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontBold )( 
  2330.             IAgentBalloon __RPC_FAR * This,
  2331.             /* [out] */ long __RPC_FAR *pbFontBold);
  2332.         
  2333.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontItalic )( 
  2334.             IAgentBalloon __RPC_FAR * This,
  2335.             /* [out] */ long __RPC_FAR *pbFontItalic);
  2336.         
  2337.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontStrikethru )( 
  2338.             IAgentBalloon __RPC_FAR * This,
  2339.             /* [out] */ long __RPC_FAR *pbFontStrikethru);
  2340.         
  2341.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontUnderline )( 
  2342.             IAgentBalloon __RPC_FAR * This,
  2343.             /* [out] */ long __RPC_FAR *pbFontUnderline);
  2344.         
  2345.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetForeColor )( 
  2346.             IAgentBalloon __RPC_FAR * This,
  2347.             /* [out] */ long __RPC_FAR *plFGColor);
  2348.         
  2349.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBackColor )( 
  2350.             IAgentBalloon __RPC_FAR * This,
  2351.             /* [out] */ long __RPC_FAR *plBGColor);
  2352.         
  2353.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBorderColor )( 
  2354.             IAgentBalloon __RPC_FAR * This,
  2355.             /* [out] */ long __RPC_FAR *plBorderColor);
  2356.         
  2357.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )( 
  2358.             IAgentBalloon __RPC_FAR * This,
  2359.             /* [in] */ long bVisible);
  2360.         
  2361.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )( 
  2362.             IAgentBalloon __RPC_FAR * This,
  2363.             /* [out] */ long __RPC_FAR *pbVisible);
  2364.         
  2365.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontName )( 
  2366.             IAgentBalloon __RPC_FAR * This,
  2367.             /* [in] */ BSTR bszFontName);
  2368.         
  2369.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontSize )( 
  2370.             IAgentBalloon __RPC_FAR * This,
  2371.             /* [in] */ long lFontSize);
  2372.         
  2373.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontCharSet )( 
  2374.             IAgentBalloon __RPC_FAR * This,
  2375.             /* [in] */ short sFontCharSet);
  2376.         
  2377.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontCharSet )( 
  2378.             IAgentBalloon __RPC_FAR * This,
  2379.             /* [out] */ short __RPC_FAR *psFontCharSet);
  2380.         
  2381.         END_INTERFACE
  2382.     } IAgentBalloonVtbl;
  2383.  
  2384.     interface IAgentBalloon
  2385.     {
  2386.         CONST_VTBL struct IAgentBalloonVtbl __RPC_FAR *lpVtbl;
  2387.     };
  2388.  
  2389.     
  2390.  
  2391. #ifdef COBJMACROS
  2392.  
  2393.  
  2394. #define IAgentBalloon_QueryInterface(This,riid,ppvObject)    \
  2395.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2396.  
  2397. #define IAgentBalloon_AddRef(This)    \
  2398.     (This)->lpVtbl -> AddRef(This)
  2399.  
  2400. #define IAgentBalloon_Release(This)    \
  2401.     (This)->lpVtbl -> Release(This)
  2402.  
  2403.  
  2404. #define IAgentBalloon_GetTypeInfoCount(This,pctinfo)    \
  2405.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2406.  
  2407. #define IAgentBalloon_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  2408.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2409.  
  2410. #define IAgentBalloon_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  2411.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2412.  
  2413. #define IAgentBalloon_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  2414.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2415.  
  2416.  
  2417. #define IAgentBalloon_GetEnabled(This,pbEnabled)    \
  2418.     (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  2419.  
  2420. #define IAgentBalloon_GetNumLines(This,plcLines)    \
  2421.     (This)->lpVtbl -> GetNumLines(This,plcLines)
  2422.  
  2423. #define IAgentBalloon_GetNumCharsPerLine(This,plCharsPerLine)    \
  2424.     (This)->lpVtbl -> GetNumCharsPerLine(This,plCharsPerLine)
  2425.  
  2426. #define IAgentBalloon_GetFontName(This,pbszFontName)    \
  2427.     (This)->lpVtbl -> GetFontName(This,pbszFontName)
  2428.  
  2429. #define IAgentBalloon_GetFontSize(This,plFontSize)    \
  2430.     (This)->lpVtbl -> GetFontSize(This,plFontSize)
  2431.  
  2432. #define IAgentBalloon_GetFontBold(This,pbFontBold)    \
  2433.     (This)->lpVtbl -> GetFontBold(This,pbFontBold)
  2434.  
  2435. #define IAgentBalloon_GetFontItalic(This,pbFontItalic)    \
  2436.     (This)->lpVtbl -> GetFontItalic(This,pbFontItalic)
  2437.  
  2438. #define IAgentBalloon_GetFontStrikethru(This,pbFontStrikethru)    \
  2439.     (This)->lpVtbl -> GetFontStrikethru(This,pbFontStrikethru)
  2440.  
  2441. #define IAgentBalloon_GetFontUnderline(This,pbFontUnderline)    \
  2442.     (This)->lpVtbl -> GetFontUnderline(This,pbFontUnderline)
  2443.  
  2444. #define IAgentBalloon_GetForeColor(This,plFGColor)    \
  2445.     (This)->lpVtbl -> GetForeColor(This,plFGColor)
  2446.  
  2447. #define IAgentBalloon_GetBackColor(This,plBGColor)    \
  2448.     (This)->lpVtbl -> GetBackColor(This,plBGColor)
  2449.  
  2450. #define IAgentBalloon_GetBorderColor(This,plBorderColor)    \
  2451.     (This)->lpVtbl -> GetBorderColor(This,plBorderColor)
  2452.  
  2453. #define IAgentBalloon_SetVisible(This,bVisible)    \
  2454.     (This)->lpVtbl -> SetVisible(This,bVisible)
  2455.  
  2456. #define IAgentBalloon_GetVisible(This,pbVisible)    \
  2457.     (This)->lpVtbl -> GetVisible(This,pbVisible)
  2458.  
  2459. #define IAgentBalloon_SetFontName(This,bszFontName)    \
  2460.     (This)->lpVtbl -> SetFontName(This,bszFontName)
  2461.  
  2462. #define IAgentBalloon_SetFontSize(This,lFontSize)    \
  2463.     (This)->lpVtbl -> SetFontSize(This,lFontSize)
  2464.  
  2465. #define IAgentBalloon_SetFontCharSet(This,sFontCharSet)    \
  2466.     (This)->lpVtbl -> SetFontCharSet(This,sFontCharSet)
  2467.  
  2468. #define IAgentBalloon_GetFontCharSet(This,psFontCharSet)    \
  2469.     (This)->lpVtbl -> GetFontCharSet(This,psFontCharSet)
  2470.  
  2471. #endif /* COBJMACROS */
  2472.  
  2473.  
  2474. #endif     /* C style interface */
  2475.  
  2476.  
  2477.  
  2478. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetEnabled_Proxy( 
  2479.     IAgentBalloon __RPC_FAR * This,
  2480.     /* [out] */ long __RPC_FAR *pbEnabled);
  2481.  
  2482.  
  2483. void __RPC_STUB IAgentBalloon_GetEnabled_Stub(
  2484.     IRpcStubBuffer *This,
  2485.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2486.     PRPC_MESSAGE _pRpcMessage,
  2487.     DWORD *_pdwStubPhase);
  2488.  
  2489.  
  2490. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetNumLines_Proxy( 
  2491.     IAgentBalloon __RPC_FAR * This,
  2492.     /* [out] */ long __RPC_FAR *plcLines);
  2493.  
  2494.  
  2495. void __RPC_STUB IAgentBalloon_GetNumLines_Stub(
  2496.     IRpcStubBuffer *This,
  2497.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2498.     PRPC_MESSAGE _pRpcMessage,
  2499.     DWORD *_pdwStubPhase);
  2500.  
  2501.  
  2502. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetNumCharsPerLine_Proxy( 
  2503.     IAgentBalloon __RPC_FAR * This,
  2504.     /* [out] */ long __RPC_FAR *plCharsPerLine);
  2505.  
  2506.  
  2507. void __RPC_STUB IAgentBalloon_GetNumCharsPerLine_Stub(
  2508.     IRpcStubBuffer *This,
  2509.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2510.     PRPC_MESSAGE _pRpcMessage,
  2511.     DWORD *_pdwStubPhase);
  2512.  
  2513.  
  2514. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontName_Proxy( 
  2515.     IAgentBalloon __RPC_FAR * This,
  2516.     /* [out] */ BSTR __RPC_FAR *pbszFontName);
  2517.  
  2518.  
  2519. void __RPC_STUB IAgentBalloon_GetFontName_Stub(
  2520.     IRpcStubBuffer *This,
  2521.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2522.     PRPC_MESSAGE _pRpcMessage,
  2523.     DWORD *_pdwStubPhase);
  2524.  
  2525.  
  2526. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontSize_Proxy( 
  2527.     IAgentBalloon __RPC_FAR * This,
  2528.     /* [out] */ long __RPC_FAR *plFontSize);
  2529.  
  2530.  
  2531. void __RPC_STUB IAgentBalloon_GetFontSize_Stub(
  2532.     IRpcStubBuffer *This,
  2533.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2534.     PRPC_MESSAGE _pRpcMessage,
  2535.     DWORD *_pdwStubPhase);
  2536.  
  2537.  
  2538. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontBold_Proxy( 
  2539.     IAgentBalloon __RPC_FAR * This,
  2540.     /* [out] */ long __RPC_FAR *pbFontBold);
  2541.  
  2542.  
  2543. void __RPC_STUB IAgentBalloon_GetFontBold_Stub(
  2544.     IRpcStubBuffer *This,
  2545.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2546.     PRPC_MESSAGE _pRpcMessage,
  2547.     DWORD *_pdwStubPhase);
  2548.  
  2549.  
  2550. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontItalic_Proxy( 
  2551.     IAgentBalloon __RPC_FAR * This,
  2552.     /* [out] */ long __RPC_FAR *pbFontItalic);
  2553.  
  2554.  
  2555. void __RPC_STUB IAgentBalloon_GetFontItalic_Stub(
  2556.     IRpcStubBuffer *This,
  2557.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2558.     PRPC_MESSAGE _pRpcMessage,
  2559.     DWORD *_pdwStubPhase);
  2560.  
  2561.  
  2562. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontStrikethru_Proxy( 
  2563.     IAgentBalloon __RPC_FAR * This,
  2564.     /* [out] */ long __RPC_FAR *pbFontStrikethru);
  2565.  
  2566.  
  2567. void __RPC_STUB IAgentBalloon_GetFontStrikethru_Stub(
  2568.     IRpcStubBuffer *This,
  2569.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2570.     PRPC_MESSAGE _pRpcMessage,
  2571.     DWORD *_pdwStubPhase);
  2572.  
  2573.  
  2574. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontUnderline_Proxy( 
  2575.     IAgentBalloon __RPC_FAR * This,
  2576.     /* [out] */ long __RPC_FAR *pbFontUnderline);
  2577.  
  2578.  
  2579. void __RPC_STUB IAgentBalloon_GetFontUnderline_Stub(
  2580.     IRpcStubBuffer *This,
  2581.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2582.     PRPC_MESSAGE _pRpcMessage,
  2583.     DWORD *_pdwStubPhase);
  2584.  
  2585.  
  2586. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetForeColor_Proxy( 
  2587.     IAgentBalloon __RPC_FAR * This,
  2588.     /* [out] */ long __RPC_FAR *plFGColor);
  2589.  
  2590.  
  2591. void __RPC_STUB IAgentBalloon_GetForeColor_Stub(
  2592.     IRpcStubBuffer *This,
  2593.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2594.     PRPC_MESSAGE _pRpcMessage,
  2595.     DWORD *_pdwStubPhase);
  2596.  
  2597.  
  2598. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetBackColor_Proxy( 
  2599.     IAgentBalloon __RPC_FAR * This,
  2600.     /* [out] */ long __RPC_FAR *plBGColor);
  2601.  
  2602.  
  2603. void __RPC_STUB IAgentBalloon_GetBackColor_Stub(
  2604.     IRpcStubBuffer *This,
  2605.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2606.     PRPC_MESSAGE _pRpcMessage,
  2607.     DWORD *_pdwStubPhase);
  2608.  
  2609.  
  2610. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetBorderColor_Proxy( 
  2611.     IAgentBalloon __RPC_FAR * This,
  2612.     /* [out] */ long __RPC_FAR *plBorderColor);
  2613.  
  2614.  
  2615. void __RPC_STUB IAgentBalloon_GetBorderColor_Stub(
  2616.     IRpcStubBuffer *This,
  2617.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2618.     PRPC_MESSAGE _pRpcMessage,
  2619.     DWORD *_pdwStubPhase);
  2620.  
  2621.  
  2622. HRESULT STDMETHODCALLTYPE IAgentBalloon_SetVisible_Proxy( 
  2623.     IAgentBalloon __RPC_FAR * This,
  2624.     /* [in] */ long bVisible);
  2625.  
  2626.  
  2627. void __RPC_STUB IAgentBalloon_SetVisible_Stub(
  2628.     IRpcStubBuffer *This,
  2629.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2630.     PRPC_MESSAGE _pRpcMessage,
  2631.     DWORD *_pdwStubPhase);
  2632.  
  2633.  
  2634. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetVisible_Proxy( 
  2635.     IAgentBalloon __RPC_FAR * This,
  2636.     /* [out] */ long __RPC_FAR *pbVisible);
  2637.  
  2638.  
  2639. void __RPC_STUB IAgentBalloon_GetVisible_Stub(
  2640.     IRpcStubBuffer *This,
  2641.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2642.     PRPC_MESSAGE _pRpcMessage,
  2643.     DWORD *_pdwStubPhase);
  2644.  
  2645.  
  2646. HRESULT STDMETHODCALLTYPE IAgentBalloon_SetFontName_Proxy( 
  2647.     IAgentBalloon __RPC_FAR * This,
  2648.     /* [in] */ BSTR bszFontName);
  2649.  
  2650.  
  2651. void __RPC_STUB IAgentBalloon_SetFontName_Stub(
  2652.     IRpcStubBuffer *This,
  2653.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2654.     PRPC_MESSAGE _pRpcMessage,
  2655.     DWORD *_pdwStubPhase);
  2656.  
  2657.  
  2658. HRESULT STDMETHODCALLTYPE IAgentBalloon_SetFontSize_Proxy( 
  2659.     IAgentBalloon __RPC_FAR * This,
  2660.     /* [in] */ long lFontSize);
  2661.  
  2662.  
  2663. void __RPC_STUB IAgentBalloon_SetFontSize_Stub(
  2664.     IRpcStubBuffer *This,
  2665.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2666.     PRPC_MESSAGE _pRpcMessage,
  2667.     DWORD *_pdwStubPhase);
  2668.  
  2669.  
  2670. HRESULT STDMETHODCALLTYPE IAgentBalloon_SetFontCharSet_Proxy( 
  2671.     IAgentBalloon __RPC_FAR * This,
  2672.     /* [in] */ short sFontCharSet);
  2673.  
  2674.  
  2675. void __RPC_STUB IAgentBalloon_SetFontCharSet_Stub(
  2676.     IRpcStubBuffer *This,
  2677.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2678.     PRPC_MESSAGE _pRpcMessage,
  2679.     DWORD *_pdwStubPhase);
  2680.  
  2681.  
  2682. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontCharSet_Proxy( 
  2683.     IAgentBalloon __RPC_FAR * This,
  2684.     /* [out] */ short __RPC_FAR *psFontCharSet);
  2685.  
  2686.  
  2687. void __RPC_STUB IAgentBalloon_GetFontCharSet_Stub(
  2688.     IRpcStubBuffer *This,
  2689.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2690.     PRPC_MESSAGE _pRpcMessage,
  2691.     DWORD *_pdwStubPhase);
  2692.  
  2693.  
  2694.  
  2695. #endif     /* __IAgentBalloon_INTERFACE_DEFINED__ */
  2696.  
  2697.  
  2698. #ifndef __IAgentCharacter_INTERFACE_DEFINED__
  2699. #define __IAgentCharacter_INTERFACE_DEFINED__
  2700.  
  2701. /****************************************
  2702.  * Generated header for interface: IAgentCharacter
  2703.  * at Wed Aug 13 21:04:17 1997
  2704.  * using MIDL 3.01.75
  2705.  ****************************************/
  2706. /* [unique][helpstring][dual][uuid][object] */ 
  2707.  
  2708.  
  2709.  
  2710. EXTERN_C const IID IID_IAgentCharacter;
  2711.  
  2712. #if defined(__cplusplus) && !defined(CINTERFACE)
  2713.     
  2714.     interface DECLSPEC_UUID("A7B93C8F-7B81-11D0-AC5F-00C04FD97575")
  2715.     IAgentCharacter : public IDispatch
  2716.     {
  2717.     public:
  2718.         virtual HRESULT STDMETHODCALLTYPE GetVisible( 
  2719.             /* [out] */ long __RPC_FAR *pbVisible) = 0;
  2720.         
  2721.         virtual HRESULT STDMETHODCALLTYPE SetPosition( 
  2722.             /* [in] */ long lLeft,
  2723.             /* [in] */ long lTop) = 0;
  2724.         
  2725.         virtual HRESULT STDMETHODCALLTYPE GetPosition( 
  2726.             /* [out] */ long __RPC_FAR *plLeft,
  2727.             /* [out] */ long __RPC_FAR *plTop) = 0;
  2728.         
  2729.         virtual HRESULT STDMETHODCALLTYPE SetSize( 
  2730.             /* [in] */ long lWidth,
  2731.             /* [in] */ long lHeight) = 0;
  2732.         
  2733.         virtual HRESULT STDMETHODCALLTYPE GetSize( 
  2734.             /* [out] */ long __RPC_FAR *plWidth,
  2735.             /* [out] */ long __RPC_FAR *plHeight) = 0;
  2736.         
  2737.         virtual HRESULT STDMETHODCALLTYPE GetName( 
  2738.             /* [out] */ BSTR __RPC_FAR *pbszName) = 0;
  2739.         
  2740.         virtual HRESULT STDMETHODCALLTYPE GetDescription( 
  2741.             /* [out] */ BSTR __RPC_FAR *pbszDescription) = 0;
  2742.         
  2743.         virtual HRESULT STDMETHODCALLTYPE GetTTSSpeed( 
  2744.             /* [out] */ long __RPC_FAR *pdwSpeed) = 0;
  2745.         
  2746.         virtual HRESULT STDMETHODCALLTYPE GetTTSPitch( 
  2747.             /* [out] */ short __RPC_FAR *pwPitch) = 0;
  2748.         
  2749.         virtual HRESULT STDMETHODCALLTYPE Activate( 
  2750.             /* [in] */ short sState) = 0;
  2751.         
  2752.         virtual HRESULT STDMETHODCALLTYPE SetIdleOn( 
  2753.             /* [in] */ long bOn) = 0;
  2754.         
  2755.         virtual HRESULT STDMETHODCALLTYPE GetIdleOn( 
  2756.             /* [out] */ long __RPC_FAR *pbOn) = 0;
  2757.         
  2758.         virtual HRESULT STDMETHODCALLTYPE Prepare( 
  2759.             /* [in] */ long dwType,
  2760.             /* [in] */ BSTR bszName,
  2761.             /* [in] */ long bQueue,
  2762.             /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  2763.         
  2764.         virtual HRESULT STDMETHODCALLTYPE Play( 
  2765.             /* [in] */ BSTR bszAnimation,
  2766.             /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  2767.         
  2768.         virtual HRESULT STDMETHODCALLTYPE Stop( 
  2769.             /* [in] */ long dwReqID) = 0;
  2770.         
  2771.         virtual HRESULT STDMETHODCALLTYPE StopAll( 
  2772.             /* [in] */ long lTypes) = 0;
  2773.         
  2774.         virtual HRESULT STDMETHODCALLTYPE Wait( 
  2775.             /* [in] */ long dwReqID,
  2776.             /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  2777.         
  2778.         virtual HRESULT STDMETHODCALLTYPE Interrupt( 
  2779.             /* [in] */ long dwReqID,
  2780.             /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  2781.         
  2782.         virtual HRESULT STDMETHODCALLTYPE Show( 
  2783.             /* [in] */ long bFast,
  2784.             /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  2785.         
  2786.         virtual HRESULT STDMETHODCALLTYPE Hide( 
  2787.             /* [in] */ long bFast,
  2788.             /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  2789.         
  2790.         virtual HRESULT STDMETHODCALLTYPE Speak( 
  2791.             /* [in] */ BSTR bszText,
  2792.             /* [in] */ BSTR bszUrl,
  2793.             /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  2794.         
  2795.         virtual HRESULT STDMETHODCALLTYPE MoveTo( 
  2796.             /* [in] */ short x,
  2797.             /* [in] */ short y,
  2798.             /* [in] */ long lSpeed,
  2799.             /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  2800.         
  2801.         virtual HRESULT STDMETHODCALLTYPE GestureAt( 
  2802.             /* [in] */ short x,
  2803.             /* [in] */ short y,
  2804.             /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  2805.         
  2806.         virtual HRESULT STDMETHODCALLTYPE GetMoveCause( 
  2807.             /* [out] */ long __RPC_FAR *pdwCause) = 0;
  2808.         
  2809.         virtual HRESULT STDMETHODCALLTYPE GetVisibilityCause( 
  2810.             /* [out] */ long __RPC_FAR *pdwCause) = 0;
  2811.         
  2812.         virtual HRESULT STDMETHODCALLTYPE HasOtherClients( 
  2813.             /* [out] */ long __RPC_FAR *pbHasOtherClients) = 0;
  2814.         
  2815.         virtual HRESULT STDMETHODCALLTYPE SetSoundEffectsOn( 
  2816.             /* [in] */ long bOn) = 0;
  2817.         
  2818.         virtual HRESULT STDMETHODCALLTYPE GetSoundEffectsOn( 
  2819.             /* [out] */ long __RPC_FAR *pbOn) = 0;
  2820.         
  2821.         virtual HRESULT STDMETHODCALLTYPE SetName( 
  2822.             /* [in] */ BSTR bszName) = 0;
  2823.         
  2824.         virtual HRESULT STDMETHODCALLTYPE SetDescription( 
  2825.             /* [in] */ BSTR bszDescription) = 0;
  2826.         
  2827.         virtual HRESULT STDMETHODCALLTYPE GetExtraData( 
  2828.             /* [out] */ BSTR __RPC_FAR *pbszExtraData) = 0;
  2829.         
  2830.     };
  2831.     
  2832. #else     /* C style interface */
  2833.  
  2834.     typedef struct IAgentCharacterVtbl
  2835.     {
  2836.         BEGIN_INTERFACE
  2837.         
  2838.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2839.             IAgentCharacter __RPC_FAR * This,
  2840.             /* [in] */ REFIID riid,
  2841.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2842.         
  2843.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2844.             IAgentCharacter __RPC_FAR * This);
  2845.         
  2846.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2847.             IAgentCharacter __RPC_FAR * This);
  2848.         
  2849.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  2850.             IAgentCharacter __RPC_FAR * This,
  2851.             /* [out] */ UINT __RPC_FAR *pctinfo);
  2852.         
  2853.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  2854.             IAgentCharacter __RPC_FAR * This,
  2855.             /* [in] */ UINT iTInfo,
  2856.             /* [in] */ LCID lcid,
  2857.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2858.         
  2859.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  2860.             IAgentCharacter __RPC_FAR * This,
  2861.             /* [in] */ REFIID riid,
  2862.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2863.             /* [in] */ UINT cNames,
  2864.             /* [in] */ LCID lcid,
  2865.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2866.         
  2867.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  2868.             IAgentCharacter __RPC_FAR * This,
  2869.             /* [in] */ DISPID dispIdMember,
  2870.             /* [in] */ REFIID riid,
  2871.             /* [in] */ LCID lcid,
  2872.             /* [in] */ WORD wFlags,
  2873.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2874.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2875.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2876.             /* [out] */ UINT __RPC_FAR *puArgErr);
  2877.         
  2878.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )( 
  2879.             IAgentCharacter __RPC_FAR * This,
  2880.             /* [out] */ long __RPC_FAR *pbVisible);
  2881.         
  2882.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPosition )( 
  2883.             IAgentCharacter __RPC_FAR * This,
  2884.             /* [in] */ long lLeft,
  2885.             /* [in] */ long lTop);
  2886.         
  2887.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPosition )( 
  2888.             IAgentCharacter __RPC_FAR * This,
  2889.             /* [out] */ long __RPC_FAR *plLeft,
  2890.             /* [out] */ long __RPC_FAR *plTop);
  2891.         
  2892.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSize )( 
  2893.             IAgentCharacter __RPC_FAR * This,
  2894.             /* [in] */ long lWidth,
  2895.             /* [in] */ long lHeight);
  2896.         
  2897.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSize )( 
  2898.             IAgentCharacter __RPC_FAR * This,
  2899.             /* [out] */ long __RPC_FAR *plWidth,
  2900.             /* [out] */ long __RPC_FAR *plHeight);
  2901.         
  2902.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetName )( 
  2903.             IAgentCharacter __RPC_FAR * This,
  2904.             /* [out] */ BSTR __RPC_FAR *pbszName);
  2905.         
  2906.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDescription )( 
  2907.             IAgentCharacter __RPC_FAR * This,
  2908.             /* [out] */ BSTR __RPC_FAR *pbszDescription);
  2909.         
  2910.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTTSSpeed )( 
  2911.             IAgentCharacter __RPC_FAR * This,
  2912.             /* [out] */ long __RPC_FAR *pdwSpeed);
  2913.         
  2914.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTTSPitch )( 
  2915.             IAgentCharacter __RPC_FAR * This,
  2916.             /* [out] */ short __RPC_FAR *pwPitch);
  2917.         
  2918.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Activate )( 
  2919.             IAgentCharacter __RPC_FAR * This,
  2920.             /* [in] */ short sState);
  2921.         
  2922.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetIdleOn )( 
  2923.             IAgentCharacter __RPC_FAR * This,
  2924.             /* [in] */ long bOn);
  2925.         
  2926.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIdleOn )( 
  2927.             IAgentCharacter __RPC_FAR * This,
  2928.             /* [out] */ long __RPC_FAR *pbOn);
  2929.         
  2930.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Prepare )( 
  2931.             IAgentCharacter __RPC_FAR * This,
  2932.             /* [in] */ long dwType,
  2933.             /* [in] */ BSTR bszName,
  2934.             /* [in] */ long bQueue,
  2935.             /* [out] */ long __RPC_FAR *pdwReqID);
  2936.         
  2937.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Play )( 
  2938.             IAgentCharacter __RPC_FAR * This,
  2939.             /* [in] */ BSTR bszAnimation,
  2940.             /* [out] */ long __RPC_FAR *pdwReqID);
  2941.         
  2942.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Stop )( 
  2943.             IAgentCharacter __RPC_FAR * This,
  2944.             /* [in] */ long dwReqID);
  2945.         
  2946.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *StopAll )( 
  2947.             IAgentCharacter __RPC_FAR * This,
  2948.             /* [in] */ long lTypes);
  2949.         
  2950.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Wait )( 
  2951.             IAgentCharacter __RPC_FAR * This,
  2952.             /* [in] */ long dwReqID,
  2953.             /* [out] */ long __RPC_FAR *pdwReqID);
  2954.         
  2955.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Interrupt )( 
  2956.             IAgentCharacter __RPC_FAR * This,
  2957.             /* [in] */ long dwReqID,
  2958.             /* [out] */ long __RPC_FAR *pdwReqID);
  2959.         
  2960.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Show )( 
  2961.             IAgentCharacter __RPC_FAR * This,
  2962.             /* [in] */ long bFast,
  2963.             /* [out] */ long __RPC_FAR *pdwReqID);
  2964.         
  2965.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Hide )( 
  2966.             IAgentCharacter __RPC_FAR * This,
  2967.             /* [in] */ long bFast,
  2968.             /* [out] */ long __RPC_FAR *pdwReqID);
  2969.         
  2970.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Speak )( 
  2971.             IAgentCharacter __RPC_FAR * This,
  2972.             /* [in] */ BSTR bszText,
  2973.             /* [in] */ BSTR bszUrl,
  2974.             /* [out] */ long __RPC_FAR *pdwReqID);
  2975.         
  2976.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveTo )( 
  2977.             IAgentCharacter __RPC_FAR * This,
  2978.             /* [in] */ short x,
  2979.             /* [in] */ short y,
  2980.             /* [in] */ long lSpeed,
  2981.             /* [out] */ long __RPC_FAR *pdwReqID);
  2982.         
  2983.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GestureAt )( 
  2984.             IAgentCharacter __RPC_FAR * This,
  2985.             /* [in] */ short x,
  2986.             /* [in] */ short y,
  2987.             /* [out] */ long __RPC_FAR *pdwReqID);
  2988.         
  2989.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMoveCause )( 
  2990.             IAgentCharacter __RPC_FAR * This,
  2991.             /* [out] */ long __RPC_FAR *pdwCause);
  2992.         
  2993.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisibilityCause )( 
  2994.             IAgentCharacter __RPC_FAR * This,
  2995.             /* [out] */ long __RPC_FAR *pdwCause);
  2996.         
  2997.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HasOtherClients )( 
  2998.             IAgentCharacter __RPC_FAR * This,
  2999.             /* [out] */ long __RPC_FAR *pbHasOtherClients);
  3000.         
  3001.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSoundEffectsOn )( 
  3002.             IAgentCharacter __RPC_FAR * This,
  3003.             /* [in] */ long bOn);
  3004.         
  3005.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSoundEffectsOn )( 
  3006.             IAgentCharacter __RPC_FAR * This,
  3007.             /* [out] */ long __RPC_FAR *pbOn);
  3008.         
  3009.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetName )( 
  3010.             IAgentCharacter __RPC_FAR * This,
  3011.             /* [in] */ BSTR bszName);
  3012.         
  3013.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetDescription )( 
  3014.             IAgentCharacter __RPC_FAR * This,
  3015.             /* [in] */ BSTR bszDescription);
  3016.         
  3017.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetExtraData )( 
  3018.             IAgentCharacter __RPC_FAR * This,
  3019.             /* [out] */ BSTR __RPC_FAR *pbszExtraData);
  3020.         
  3021.         END_INTERFACE
  3022.     } IAgentCharacterVtbl;
  3023.  
  3024.     interface IAgentCharacter
  3025.     {
  3026.         CONST_VTBL struct IAgentCharacterVtbl __RPC_FAR *lpVtbl;
  3027.     };
  3028.  
  3029.     
  3030.  
  3031. #ifdef COBJMACROS
  3032.  
  3033.  
  3034. #define IAgentCharacter_QueryInterface(This,riid,ppvObject)    \
  3035.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3036.  
  3037. #define IAgentCharacter_AddRef(This)    \
  3038.     (This)->lpVtbl -> AddRef(This)
  3039.  
  3040. #define IAgentCharacter_Release(This)    \
  3041.     (This)->lpVtbl -> Release(This)
  3042.  
  3043.  
  3044. #define IAgentCharacter_GetTypeInfoCount(This,pctinfo)    \
  3045.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3046.  
  3047. #define IAgentCharacter_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  3048.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3049.  
  3050. #define IAgentCharacter_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  3051.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3052.  
  3053. #define IAgentCharacter_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  3054.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3055.  
  3056.  
  3057. #define IAgentCharacter_GetVisible(This,pbVisible)    \
  3058.     (This)->lpVtbl -> GetVisible(This,pbVisible)
  3059.  
  3060. #define IAgentCharacter_SetPosition(This,lLeft,lTop)    \
  3061.     (This)->lpVtbl -> SetPosition(This,lLeft,lTop)
  3062.  
  3063. #define IAgentCharacter_GetPosition(This,plLeft,plTop)    \
  3064.     (This)->lpVtbl -> GetPosition(This,plLeft,plTop)
  3065.  
  3066. #define IAgentCharacter_SetSize(This,lWidth,lHeight)    \
  3067.     (This)->lpVtbl -> SetSize(This,lWidth,lHeight)
  3068.  
  3069. #define IAgentCharacter_GetSize(This,plWidth,plHeight)    \
  3070.     (This)->lpVtbl -> GetSize(This,plWidth,plHeight)
  3071.  
  3072. #define IAgentCharacter_GetName(This,pbszName)    \
  3073.     (This)->lpVtbl -> GetName(This,pbszName)
  3074.  
  3075. #define IAgentCharacter_GetDescription(This,pbszDescription)    \
  3076.     (This)->lpVtbl -> GetDescription(This,pbszDescription)
  3077.  
  3078. #define IAgentCharacter_GetTTSSpeed(This,pdwSpeed)    \
  3079.     (This)->lpVtbl -> GetTTSSpeed(This,pdwSpeed)
  3080.  
  3081. #define IAgentCharacter_GetTTSPitch(This,pwPitch)    \
  3082.     (This)->lpVtbl -> GetTTSPitch(This,pwPitch)
  3083.  
  3084. #define IAgentCharacter_Activate(This,sState)    \
  3085.     (This)->lpVtbl -> Activate(This,sState)
  3086.  
  3087. #define IAgentCharacter_SetIdleOn(This,bOn)    \
  3088.     (This)->lpVtbl -> SetIdleOn(This,bOn)
  3089.  
  3090. #define IAgentCharacter_GetIdleOn(This,pbOn)    \
  3091.     (This)->lpVtbl -> GetIdleOn(This,pbOn)
  3092.  
  3093. #define IAgentCharacter_Prepare(This,dwType,bszName,bQueue,pdwReqID)    \
  3094.     (This)->lpVtbl -> Prepare(This,dwType,bszName,bQueue,pdwReqID)
  3095.  
  3096. #define IAgentCharacter_Play(This,bszAnimation,pdwReqID)    \
  3097.     (This)->lpVtbl -> Play(This,bszAnimation,pdwReqID)
  3098.  
  3099. #define IAgentCharacter_Stop(This,dwReqID)    \
  3100.     (This)->lpVtbl -> Stop(This,dwReqID)
  3101.  
  3102. #define IAgentCharacter_StopAll(This,lTypes)    \
  3103.     (This)->lpVtbl -> StopAll(This,lTypes)
  3104.  
  3105. #define IAgentCharacter_Wait(This,dwReqID,pdwReqID)    \
  3106.     (This)->lpVtbl -> Wait(This,dwReqID,pdwReqID)
  3107.  
  3108. #define IAgentCharacter_Interrupt(This,dwReqID,pdwReqID)    \
  3109.     (This)->lpVtbl -> Interrupt(This,dwReqID,pdwReqID)
  3110.  
  3111. #define IAgentCharacter_Show(This,bFast,pdwReqID)    \
  3112.     (This)->lpVtbl -> Show(This,bFast,pdwReqID)
  3113.  
  3114. #define IAgentCharacter_Hide(This,bFast,pdwReqID)    \
  3115.     (This)->lpVtbl -> Hide(This,bFast,pdwReqID)
  3116.  
  3117. #define IAgentCharacter_Speak(This,bszText,bszUrl,pdwReqID)    \
  3118.     (This)->lpVtbl -> Speak(This,bszText,bszUrl,pdwReqID)
  3119.  
  3120. #define IAgentCharacter_MoveTo(This,x,y,lSpeed,pdwReqID)    \
  3121.     (This)->lpVtbl -> MoveTo(This,x,y,lSpeed,pdwReqID)
  3122.  
  3123. #define IAgentCharacter_GestureAt(This,x,y,pdwReqID)    \
  3124.     (This)->lpVtbl -> GestureAt(This,x,y,pdwReqID)
  3125.  
  3126. #define IAgentCharacter_GetMoveCause(This,pdwCause)    \
  3127.     (This)->lpVtbl -> GetMoveCause(This,pdwCause)
  3128.  
  3129. #define IAgentCharacter_GetVisibilityCause(This,pdwCause)    \
  3130.     (This)->lpVtbl -> GetVisibilityCause(This,pdwCause)
  3131.  
  3132. #define IAgentCharacter_HasOtherClients(This,pbHasOtherClients)    \
  3133.     (This)->lpVtbl -> HasOtherClients(This,pbHasOtherClients)
  3134.  
  3135. #define IAgentCharacter_SetSoundEffectsOn(This,bOn)    \
  3136.     (This)->lpVtbl -> SetSoundEffectsOn(This,bOn)
  3137.  
  3138. #define IAgentCharacter_GetSoundEffectsOn(This,pbOn)    \
  3139.     (This)->lpVtbl -> GetSoundEffectsOn(This,pbOn)
  3140.  
  3141. #define IAgentCharacter_SetName(This,bszName)    \
  3142.     (This)->lpVtbl -> SetName(This,bszName)
  3143.  
  3144. #define IAgentCharacter_SetDescription(This,bszDescription)    \
  3145.     (This)->lpVtbl -> SetDescription(This,bszDescription)
  3146.  
  3147. #define IAgentCharacter_GetExtraData(This,pbszExtraData)    \
  3148.     (This)->lpVtbl -> GetExtraData(This,pbszExtraData)
  3149.  
  3150. #endif /* COBJMACROS */
  3151.  
  3152.  
  3153. #endif     /* C style interface */
  3154.  
  3155.  
  3156.  
  3157. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetVisible_Proxy( 
  3158.     IAgentCharacter __RPC_FAR * This,
  3159.     /* [out] */ long __RPC_FAR *pbVisible);
  3160.  
  3161.  
  3162. void __RPC_STUB IAgentCharacter_GetVisible_Stub(
  3163.     IRpcStubBuffer *This,
  3164.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3165.     PRPC_MESSAGE _pRpcMessage,
  3166.     DWORD *_pdwStubPhase);
  3167.  
  3168.  
  3169. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetPosition_Proxy( 
  3170.     IAgentCharacter __RPC_FAR * This,
  3171.     /* [in] */ long lLeft,
  3172.     /* [in] */ long lTop);
  3173.  
  3174.  
  3175. void __RPC_STUB IAgentCharacter_SetPosition_Stub(
  3176.     IRpcStubBuffer *This,
  3177.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3178.     PRPC_MESSAGE _pRpcMessage,
  3179.     DWORD *_pdwStubPhase);
  3180.  
  3181.  
  3182. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetPosition_Proxy( 
  3183.     IAgentCharacter __RPC_FAR * This,
  3184.     /* [out] */ long __RPC_FAR *plLeft,
  3185.     /* [out] */ long __RPC_FAR *plTop);
  3186.  
  3187.  
  3188. void __RPC_STUB IAgentCharacter_GetPosition_Stub(
  3189.     IRpcStubBuffer *This,
  3190.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3191.     PRPC_MESSAGE _pRpcMessage,
  3192.     DWORD *_pdwStubPhase);
  3193.  
  3194.  
  3195. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetSize_Proxy( 
  3196.     IAgentCharacter __RPC_FAR * This,
  3197.     /* [in] */ long lWidth,
  3198.     /* [in] */ long lHeight);
  3199.  
  3200.  
  3201. void __RPC_STUB IAgentCharacter_SetSize_Stub(
  3202.     IRpcStubBuffer *This,
  3203.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3204.     PRPC_MESSAGE _pRpcMessage,
  3205.     DWORD *_pdwStubPhase);
  3206.  
  3207.  
  3208. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetSize_Proxy( 
  3209.     IAgentCharacter __RPC_FAR * This,
  3210.     /* [out] */ long __RPC_FAR *plWidth,
  3211.     /* [out] */ long __RPC_FAR *plHeight);
  3212.  
  3213.  
  3214. void __RPC_STUB IAgentCharacter_GetSize_Stub(
  3215.     IRpcStubBuffer *This,
  3216.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3217.     PRPC_MESSAGE _pRpcMessage,
  3218.     DWORD *_pdwStubPhase);
  3219.  
  3220.  
  3221. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetName_Proxy( 
  3222.     IAgentCharacter __RPC_FAR * This,
  3223.     /* [out] */ BSTR __RPC_FAR *pbszName);
  3224.  
  3225.  
  3226. void __RPC_STUB IAgentCharacter_GetName_Stub(
  3227.     IRpcStubBuffer *This,
  3228.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3229.     PRPC_MESSAGE _pRpcMessage,
  3230.     DWORD *_pdwStubPhase);
  3231.  
  3232.  
  3233. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetDescription_Proxy( 
  3234.     IAgentCharacter __RPC_FAR * This,
  3235.     /* [out] */ BSTR __RPC_FAR *pbszDescription);
  3236.  
  3237.  
  3238. void __RPC_STUB IAgentCharacter_GetDescription_Stub(
  3239.     IRpcStubBuffer *This,
  3240.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3241.     PRPC_MESSAGE _pRpcMessage,
  3242.     DWORD *_pdwStubPhase);
  3243.  
  3244.  
  3245. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetTTSSpeed_Proxy( 
  3246.     IAgentCharacter __RPC_FAR * This,
  3247.     /* [out] */ long __RPC_FAR *pdwSpeed);
  3248.  
  3249.  
  3250. void __RPC_STUB IAgentCharacter_GetTTSSpeed_Stub(
  3251.     IRpcStubBuffer *This,
  3252.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3253.     PRPC_MESSAGE _pRpcMessage,
  3254.     DWORD *_pdwStubPhase);
  3255.  
  3256.  
  3257. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetTTSPitch_Proxy( 
  3258.     IAgentCharacter __RPC_FAR * This,
  3259.     /* [out] */ short __RPC_FAR *pwPitch);
  3260.  
  3261.  
  3262. void __RPC_STUB IAgentCharacter_GetTTSPitch_Stub(
  3263.     IRpcStubBuffer *This,
  3264.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3265.     PRPC_MESSAGE _pRpcMessage,
  3266.     DWORD *_pdwStubPhase);
  3267.  
  3268.  
  3269. HRESULT STDMETHODCALLTYPE IAgentCharacter_Activate_Proxy( 
  3270.     IAgentCharacter __RPC_FAR * This,
  3271.     /* [in] */ short sState);
  3272.  
  3273.  
  3274. void __RPC_STUB IAgentCharacter_Activate_Stub(
  3275.     IRpcStubBuffer *This,
  3276.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3277.     PRPC_MESSAGE _pRpcMessage,
  3278.     DWORD *_pdwStubPhase);
  3279.  
  3280.  
  3281. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetIdleOn_Proxy( 
  3282.     IAgentCharacter __RPC_FAR * This,
  3283.     /* [in] */ long bOn);
  3284.  
  3285.  
  3286. void __RPC_STUB IAgentCharacter_SetIdleOn_Stub(
  3287.     IRpcStubBuffer *This,
  3288.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3289.     PRPC_MESSAGE _pRpcMessage,
  3290.     DWORD *_pdwStubPhase);
  3291.  
  3292.  
  3293. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetIdleOn_Proxy( 
  3294.     IAgentCharacter __RPC_FAR * This,
  3295.     /* [out] */ long __RPC_FAR *pbOn);
  3296.  
  3297.  
  3298. void __RPC_STUB IAgentCharacter_GetIdleOn_Stub(
  3299.     IRpcStubBuffer *This,
  3300.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3301.     PRPC_MESSAGE _pRpcMessage,
  3302.     DWORD *_pdwStubPhase);
  3303.  
  3304.  
  3305. HRESULT STDMETHODCALLTYPE IAgentCharacter_Prepare_Proxy( 
  3306.     IAgentCharacter __RPC_FAR * This,
  3307.     /* [in] */ long dwType,
  3308.     /* [in] */ BSTR bszName,
  3309.     /* [in] */ long bQueue,
  3310.     /* [out] */ long __RPC_FAR *pdwReqID);
  3311.  
  3312.  
  3313. void __RPC_STUB IAgentCharacter_Prepare_Stub(
  3314.     IRpcStubBuffer *This,
  3315.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3316.     PRPC_MESSAGE _pRpcMessage,
  3317.     DWORD *_pdwStubPhase);
  3318.  
  3319.  
  3320. HRESULT STDMETHODCALLTYPE IAgentCharacter_Play_Proxy( 
  3321.     IAgentCharacter __RPC_FAR * This,
  3322.     /* [in] */ BSTR bszAnimation,
  3323.     /* [out] */ long __RPC_FAR *pdwReqID);
  3324.  
  3325.  
  3326. void __RPC_STUB IAgentCharacter_Play_Stub(
  3327.     IRpcStubBuffer *This,
  3328.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3329.     PRPC_MESSAGE _pRpcMessage,
  3330.     DWORD *_pdwStubPhase);
  3331.  
  3332.  
  3333. HRESULT STDMETHODCALLTYPE IAgentCharacter_Stop_Proxy( 
  3334.     IAgentCharacter __RPC_FAR * This,
  3335.     /* [in] */ long dwReqID);
  3336.  
  3337.  
  3338. void __RPC_STUB IAgentCharacter_Stop_Stub(
  3339.     IRpcStubBuffer *This,
  3340.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3341.     PRPC_MESSAGE _pRpcMessage,
  3342.     DWORD *_pdwStubPhase);
  3343.  
  3344.  
  3345. HRESULT STDMETHODCALLTYPE IAgentCharacter_StopAll_Proxy( 
  3346.     IAgentCharacter __RPC_FAR * This,
  3347.     /* [in] */ long lTypes);
  3348.  
  3349.  
  3350. void __RPC_STUB IAgentCharacter_StopAll_Stub(
  3351.     IRpcStubBuffer *This,
  3352.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3353.     PRPC_MESSAGE _pRpcMessage,
  3354.     DWORD *_pdwStubPhase);
  3355.  
  3356.  
  3357. HRESULT STDMETHODCALLTYPE IAgentCharacter_Wait_Proxy( 
  3358.     IAgentCharacter __RPC_FAR * This,
  3359.     /* [in] */ long dwReqID,
  3360.     /* [out] */ long __RPC_FAR *pdwReqID);
  3361.  
  3362.  
  3363. void __RPC_STUB IAgentCharacter_Wait_Stub(
  3364.     IRpcStubBuffer *This,
  3365.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3366.     PRPC_MESSAGE _pRpcMessage,
  3367.     DWORD *_pdwStubPhase);
  3368.  
  3369.  
  3370. HRESULT STDMETHODCALLTYPE IAgentCharacter_Interrupt_Proxy( 
  3371.     IAgentCharacter __RPC_FAR * This,
  3372.     /* [in] */ long dwReqID,
  3373.     /* [out] */ long __RPC_FAR *pdwReqID);
  3374.  
  3375.  
  3376. void __RPC_STUB IAgentCharacter_Interrupt_Stub(
  3377.     IRpcStubBuffer *This,
  3378.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3379.     PRPC_MESSAGE _pRpcMessage,
  3380.     DWORD *_pdwStubPhase);
  3381.  
  3382.  
  3383. HRESULT STDMETHODCALLTYPE IAgentCharacter_Show_Proxy( 
  3384.     IAgentCharacter __RPC_FAR * This,
  3385.     /* [in] */ long bFast,
  3386.     /* [out] */ long __RPC_FAR *pdwReqID);
  3387.  
  3388.  
  3389. void __RPC_STUB IAgentCharacter_Show_Stub(
  3390.     IRpcStubBuffer *This,
  3391.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3392.     PRPC_MESSAGE _pRpcMessage,
  3393.     DWORD *_pdwStubPhase);
  3394.  
  3395.  
  3396. HRESULT STDMETHODCALLTYPE IAgentCharacter_Hide_Proxy( 
  3397.     IAgentCharacter __RPC_FAR * This,
  3398.     /* [in] */ long bFast,
  3399.     /* [out] */ long __RPC_FAR *pdwReqID);
  3400.  
  3401.  
  3402. void __RPC_STUB IAgentCharacter_Hide_Stub(
  3403.     IRpcStubBuffer *This,
  3404.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3405.     PRPC_MESSAGE _pRpcMessage,
  3406.     DWORD *_pdwStubPhase);
  3407.  
  3408.  
  3409. HRESULT STDMETHODCALLTYPE IAgentCharacter_Speak_Proxy( 
  3410.     IAgentCharacter __RPC_FAR * This,
  3411.     /* [in] */ BSTR bszText,
  3412.     /* [in] */ BSTR bszUrl,
  3413.     /* [out] */ long __RPC_FAR *pdwReqID);
  3414.  
  3415.  
  3416. void __RPC_STUB IAgentCharacter_Speak_Stub(
  3417.     IRpcStubBuffer *This,
  3418.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3419.     PRPC_MESSAGE _pRpcMessage,
  3420.     DWORD *_pdwStubPhase);
  3421.  
  3422.  
  3423. HRESULT STDMETHODCALLTYPE IAgentCharacter_MoveTo_Proxy( 
  3424.     IAgentCharacter __RPC_FAR * This,
  3425.     /* [in] */ short x,
  3426.     /* [in] */ short y,
  3427.     /* [in] */ long lSpeed,
  3428.     /* [out] */ long __RPC_FAR *pdwReqID);
  3429.  
  3430.  
  3431. void __RPC_STUB IAgentCharacter_MoveTo_Stub(
  3432.     IRpcStubBuffer *This,
  3433.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3434.     PRPC_MESSAGE _pRpcMessage,
  3435.     DWORD *_pdwStubPhase);
  3436.  
  3437.  
  3438. HRESULT STDMETHODCALLTYPE IAgentCharacter_GestureAt_Proxy( 
  3439.     IAgentCharacter __RPC_FAR * This,
  3440.     /* [in] */ short x,
  3441.     /* [in] */ short y,
  3442.     /* [out] */ long __RPC_FAR *pdwReqID);
  3443.  
  3444.  
  3445. void __RPC_STUB IAgentCharacter_GestureAt_Stub(
  3446.     IRpcStubBuffer *This,
  3447.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3448.     PRPC_MESSAGE _pRpcMessage,
  3449.     DWORD *_pdwStubPhase);
  3450.  
  3451.  
  3452. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetMoveCause_Proxy( 
  3453.     IAgentCharacter __RPC_FAR * This,
  3454.     /* [out] */ long __RPC_FAR *pdwCause);
  3455.  
  3456.  
  3457. void __RPC_STUB IAgentCharacter_GetMoveCause_Stub(
  3458.     IRpcStubBuffer *This,
  3459.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3460.     PRPC_MESSAGE _pRpcMessage,
  3461.     DWORD *_pdwStubPhase);
  3462.  
  3463.  
  3464. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetVisibilityCause_Proxy( 
  3465.     IAgentCharacter __RPC_FAR * This,
  3466.     /* [out] */ long __RPC_FAR *pdwCause);
  3467.  
  3468.  
  3469. void __RPC_STUB IAgentCharacter_GetVisibilityCause_Stub(
  3470.     IRpcStubBuffer *This,
  3471.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3472.     PRPC_MESSAGE _pRpcMessage,
  3473.     DWORD *_pdwStubPhase);
  3474.  
  3475.  
  3476. HRESULT STDMETHODCALLTYPE IAgentCharacter_HasOtherClients_Proxy( 
  3477.     IAgentCharacter __RPC_FAR * This,
  3478.     /* [out] */ long __RPC_FAR *pbHasOtherClients);
  3479.  
  3480.  
  3481. void __RPC_STUB IAgentCharacter_HasOtherClients_Stub(
  3482.     IRpcStubBuffer *This,
  3483.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3484.     PRPC_MESSAGE _pRpcMessage,
  3485.     DWORD *_pdwStubPhase);
  3486.  
  3487.  
  3488. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetSoundEffectsOn_Proxy( 
  3489.     IAgentCharacter __RPC_FAR * This,
  3490.     /* [in] */ long bOn);
  3491.  
  3492.  
  3493. void __RPC_STUB IAgentCharacter_SetSoundEffectsOn_Stub(
  3494.     IRpcStubBuffer *This,
  3495.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3496.     PRPC_MESSAGE _pRpcMessage,
  3497.     DWORD *_pdwStubPhase);
  3498.  
  3499.  
  3500. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetSoundEffectsOn_Proxy( 
  3501.     IAgentCharacter __RPC_FAR * This,
  3502.     /* [out] */ long __RPC_FAR *pbOn);
  3503.  
  3504.  
  3505. void __RPC_STUB IAgentCharacter_GetSoundEffectsOn_Stub(
  3506.     IRpcStubBuffer *This,
  3507.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3508.     PRPC_MESSAGE _pRpcMessage,
  3509.     DWORD *_pdwStubPhase);
  3510.  
  3511.  
  3512. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetName_Proxy( 
  3513.     IAgentCharacter __RPC_FAR * This,
  3514.     /* [in] */ BSTR bszName);
  3515.  
  3516.  
  3517. void __RPC_STUB IAgentCharacter_SetName_Stub(
  3518.     IRpcStubBuffer *This,
  3519.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3520.     PRPC_MESSAGE _pRpcMessage,
  3521.     DWORD *_pdwStubPhase);
  3522.  
  3523.  
  3524. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetDescription_Proxy( 
  3525.     IAgentCharacter __RPC_FAR * This,
  3526.     /* [in] */ BSTR bszDescription);
  3527.  
  3528.  
  3529. void __RPC_STUB IAgentCharacter_SetDescription_Stub(
  3530.     IRpcStubBuffer *This,
  3531.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3532.     PRPC_MESSAGE _pRpcMessage,
  3533.     DWORD *_pdwStubPhase);
  3534.  
  3535.  
  3536. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetExtraData_Proxy( 
  3537.     IAgentCharacter __RPC_FAR * This,
  3538.     /* [out] */ BSTR __RPC_FAR *pbszExtraData);
  3539.  
  3540.  
  3541. void __RPC_STUB IAgentCharacter_GetExtraData_Stub(
  3542.     IRpcStubBuffer *This,
  3543.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3544.     PRPC_MESSAGE _pRpcMessage,
  3545.     DWORD *_pdwStubPhase);
  3546.  
  3547.  
  3548.  
  3549. #endif     /* __IAgentCharacter_INTERFACE_DEFINED__ */
  3550.  
  3551.  
  3552. #ifndef __IAgent_INTERFACE_DEFINED__
  3553. #define __IAgent_INTERFACE_DEFINED__
  3554.  
  3555. /****************************************
  3556.  * Generated header for interface: IAgent
  3557.  * at Wed Aug 13 21:04:17 1997
  3558.  * using MIDL 3.01.75
  3559.  ****************************************/
  3560. /* [unique][helpstring][dual][uuid][object] */ 
  3561.  
  3562.  
  3563.  
  3564. EXTERN_C const IID IID_IAgent;
  3565.  
  3566. #if defined(__cplusplus) && !defined(CINTERFACE)
  3567.     
  3568.     interface DECLSPEC_UUID("A7B93C91-7B81-11D0-AC5F-00C04FD97575")
  3569.     IAgent : public IDispatch
  3570.     {
  3571.     public:
  3572.         virtual HRESULT STDMETHODCALLTYPE Load( 
  3573.             /* [in] */ VARIANT vLoadKey,
  3574.             /* [out] */ long __RPC_FAR *pdwCharID,
  3575.             /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  3576.         
  3577.         virtual HRESULT STDMETHODCALLTYPE Unload( 
  3578.             /* [in] */ long dwCharID) = 0;
  3579.         
  3580.         virtual HRESULT STDMETHODCALLTYPE Register( 
  3581.             /* [in] */ IUnknown __RPC_FAR *punkNotifySink,
  3582.             /* [out] */ long __RPC_FAR *pdwSinkID) = 0;
  3583.         
  3584.         virtual HRESULT STDMETHODCALLTYPE Unregister( 
  3585.             /* [in] */ long dwSinkID) = 0;
  3586.         
  3587.         virtual HRESULT STDMETHODCALLTYPE GetCharacter( 
  3588.             /* [in] */ long dwCharID,
  3589.             /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppunkCharacter) = 0;
  3590.         
  3591.         virtual HRESULT STDMETHODCALLTYPE GetSuspended( 
  3592.             /* [out] */ long __RPC_FAR *pbSuspended) = 0;
  3593.         
  3594.     };
  3595.     
  3596. #else     /* C style interface */
  3597.  
  3598.     typedef struct IAgentVtbl
  3599.     {
  3600.         BEGIN_INTERFACE
  3601.         
  3602.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  3603.             IAgent __RPC_FAR * This,
  3604.             /* [in] */ REFIID riid,
  3605.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3606.         
  3607.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  3608.             IAgent __RPC_FAR * This);
  3609.         
  3610.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  3611.             IAgent __RPC_FAR * This);
  3612.         
  3613.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  3614.             IAgent __RPC_FAR * This,
  3615.             /* [out] */ UINT __RPC_FAR *pctinfo);
  3616.         
  3617.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  3618.             IAgent __RPC_FAR * This,
  3619.             /* [in] */ UINT iTInfo,
  3620.             /* [in] */ LCID lcid,
  3621.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  3622.         
  3623.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  3624.             IAgent __RPC_FAR * This,
  3625.             /* [in] */ REFIID riid,
  3626.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  3627.             /* [in] */ UINT cNames,
  3628.             /* [in] */ LCID lcid,
  3629.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  3630.         
  3631.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  3632.             IAgent __RPC_FAR * This,
  3633.             /* [in] */ DISPID dispIdMember,
  3634.             /* [in] */ REFIID riid,
  3635.             /* [in] */ LCID lcid,
  3636.             /* [in] */ WORD wFlags,
  3637.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  3638.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  3639.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  3640.             /* [out] */ UINT __RPC_FAR *puArgErr);
  3641.         
  3642.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Load )( 
  3643.             IAgent __RPC_FAR * This,
  3644.             /* [in] */ VARIANT vLoadKey,
  3645.             /* [out] */ long __RPC_FAR *pdwCharID,
  3646.             /* [out] */ long __RPC_FAR *pdwReqID);
  3647.         
  3648.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unload )( 
  3649.             IAgent __RPC_FAR * This,
  3650.             /* [in] */ long dwCharID);
  3651.         
  3652.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Register )( 
  3653.             IAgent __RPC_FAR * This,
  3654.             /* [in] */ IUnknown __RPC_FAR *punkNotifySink,
  3655.             /* [out] */ long __RPC_FAR *pdwSinkID);
  3656.         
  3657.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unregister )( 
  3658.             IAgent __RPC_FAR * This,
  3659.             /* [in] */ long dwSinkID);
  3660.         
  3661.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCharacter )( 
  3662.             IAgent __RPC_FAR * This,
  3663.             /* [in] */ long dwCharID,
  3664.             /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppunkCharacter);
  3665.         
  3666.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSuspended )( 
  3667.             IAgent __RPC_FAR * This,
  3668.             /* [out] */ long __RPC_FAR *pbSuspended);
  3669.         
  3670.         END_INTERFACE
  3671.     } IAgentVtbl;
  3672.  
  3673.     interface IAgent
  3674.     {
  3675.         CONST_VTBL struct IAgentVtbl __RPC_FAR *lpVtbl;
  3676.     };
  3677.  
  3678.     
  3679.  
  3680. #ifdef COBJMACROS
  3681.  
  3682.  
  3683. #define IAgent_QueryInterface(This,riid,ppvObject)    \
  3684.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3685.  
  3686. #define IAgent_AddRef(This)    \
  3687.     (This)->lpVtbl -> AddRef(This)
  3688.  
  3689. #define IAgent_Release(This)    \
  3690.     (This)->lpVtbl -> Release(This)
  3691.  
  3692.  
  3693. #define IAgent_GetTypeInfoCount(This,pctinfo)    \
  3694.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3695.  
  3696. #define IAgent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  3697.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3698.  
  3699. #define IAgent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  3700.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3701.  
  3702. #define IAgent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  3703.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3704.  
  3705.  
  3706. #define IAgent_Load(This,vLoadKey,pdwCharID,pdwReqID)    \
  3707.     (This)->lpVtbl -> Load(This,vLoadKey,pdwCharID,pdwReqID)
  3708.  
  3709. #define IAgent_Unload(This,dwCharID)    \
  3710.     (This)->lpVtbl -> Unload(This,dwCharID)
  3711.  
  3712. #define IAgent_Register(This,punkNotifySink,pdwSinkID)    \
  3713.     (This)->lpVtbl -> Register(This,punkNotifySink,pdwSinkID)
  3714.  
  3715. #define IAgent_Unregister(This,dwSinkID)    \
  3716.     (This)->lpVtbl -> Unregister(This,dwSinkID)
  3717.  
  3718. #define IAgent_GetCharacter(This,dwCharID,ppunkCharacter)    \
  3719.     (This)->lpVtbl -> GetCharacter(This,dwCharID,ppunkCharacter)
  3720.  
  3721. #define IAgent_GetSuspended(This,pbSuspended)    \
  3722.     (This)->lpVtbl -> GetSuspended(This,pbSuspended)
  3723.  
  3724. #endif /* COBJMACROS */
  3725.  
  3726.  
  3727. #endif     /* C style interface */
  3728.  
  3729.  
  3730.  
  3731. HRESULT STDMETHODCALLTYPE IAgent_Load_Proxy( 
  3732.     IAgent __RPC_FAR * This,
  3733.     /* [in] */ VARIANT vLoadKey,
  3734.     /* [out] */ long __RPC_FAR *pdwCharID,
  3735.     /* [out] */ long __RPC_FAR *pdwReqID);
  3736.  
  3737.  
  3738. void __RPC_STUB IAgent_Load_Stub(
  3739.     IRpcStubBuffer *This,
  3740.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3741.     PRPC_MESSAGE _pRpcMessage,
  3742.     DWORD *_pdwStubPhase);
  3743.  
  3744.  
  3745. HRESULT STDMETHODCALLTYPE IAgent_Unload_Proxy( 
  3746.     IAgent __RPC_FAR * This,
  3747.     /* [in] */ long dwCharID);
  3748.  
  3749.  
  3750. void __RPC_STUB IAgent_Unload_Stub(
  3751.     IRpcStubBuffer *This,
  3752.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3753.     PRPC_MESSAGE _pRpcMessage,
  3754.     DWORD *_pdwStubPhase);
  3755.  
  3756.  
  3757. HRESULT STDMETHODCALLTYPE IAgent_Register_Proxy( 
  3758.     IAgent __RPC_FAR * This,
  3759.     /* [in] */ IUnknown __RPC_FAR *punkNotifySink,
  3760.     /* [out] */ long __RPC_FAR *pdwSinkID);
  3761.  
  3762.  
  3763. void __RPC_STUB IAgent_Register_Stub(
  3764.     IRpcStubBuffer *This,
  3765.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3766.     PRPC_MESSAGE _pRpcMessage,
  3767.     DWORD *_pdwStubPhase);
  3768.  
  3769.  
  3770. HRESULT STDMETHODCALLTYPE IAgent_Unregister_Proxy( 
  3771.     IAgent __RPC_FAR * This,
  3772.     /* [in] */ long dwSinkID);
  3773.  
  3774.  
  3775. void __RPC_STUB IAgent_Unregister_Stub(
  3776.     IRpcStubBuffer *This,
  3777.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3778.     PRPC_MESSAGE _pRpcMessage,
  3779.     DWORD *_pdwStubPhase);
  3780.  
  3781.  
  3782. HRESULT STDMETHODCALLTYPE IAgent_GetCharacter_Proxy( 
  3783.     IAgent __RPC_FAR * This,
  3784.     /* [in] */ long dwCharID,
  3785.     /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppunkCharacter);
  3786.  
  3787.  
  3788. void __RPC_STUB IAgent_GetCharacter_Stub(
  3789.     IRpcStubBuffer *This,
  3790.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3791.     PRPC_MESSAGE _pRpcMessage,
  3792.     DWORD *_pdwStubPhase);
  3793.  
  3794.  
  3795. HRESULT STDMETHODCALLTYPE IAgent_GetSuspended_Proxy( 
  3796.     IAgent __RPC_FAR * This,
  3797.     /* [out] */ long __RPC_FAR *pbSuspended);
  3798.  
  3799.  
  3800. void __RPC_STUB IAgent_GetSuspended_Stub(
  3801.     IRpcStubBuffer *This,
  3802.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3803.     PRPC_MESSAGE _pRpcMessage,
  3804.     DWORD *_pdwStubPhase);
  3805.  
  3806.  
  3807.  
  3808. #endif     /* __IAgent_INTERFACE_DEFINED__ */
  3809.  
  3810.  
  3811. #ifndef __IAgentNotifySink_INTERFACE_DEFINED__
  3812. #define __IAgentNotifySink_INTERFACE_DEFINED__
  3813.  
  3814. /****************************************
  3815.  * Generated header for interface: IAgentNotifySink
  3816.  * at Wed Aug 13 21:04:17 1997
  3817.  * using MIDL 3.01.75
  3818.  ****************************************/
  3819. /* [unique][helpstring][dual][uuid][object] */ 
  3820.  
  3821.  
  3822.  
  3823. EXTERN_C const IID IID_IAgentNotifySink;
  3824.  
  3825. #if defined(__cplusplus) && !defined(CINTERFACE)
  3826.     
  3827.     interface DECLSPEC_UUID("00D18159-8466-11D0-AC63-00C04FD97575")
  3828.     IAgentNotifySink : public IDispatch
  3829.     {
  3830.     public:
  3831.         virtual HRESULT STDMETHODCALLTYPE Command( 
  3832.             /* [in] */ long dwCommandID,
  3833.             /* [in] */ IUnknown __RPC_FAR *punkUserInput) = 0;
  3834.         
  3835.         virtual HRESULT STDMETHODCALLTYPE ActivateInputState( 
  3836.             /* [in] */ long dwCharID,
  3837.             /* [in] */ long bActivated) = 0;
  3838.         
  3839.         virtual HRESULT STDMETHODCALLTYPE Restart( void) = 0;
  3840.         
  3841.         virtual HRESULT STDMETHODCALLTYPE Shutdown( void) = 0;
  3842.         
  3843.         virtual HRESULT STDMETHODCALLTYPE VisibleState( 
  3844.             /* [in] */ long dwCharID,
  3845.             /* [in] */ long bVisible,
  3846.             /* [in] */ long dwCause) = 0;
  3847.         
  3848.         virtual HRESULT STDMETHODCALLTYPE Click( 
  3849.             /* [in] */ long dwCharID,
  3850.             /* [in] */ short fwKeys,
  3851.             /* [in] */ long x,
  3852.             /* [in] */ long y) = 0;
  3853.         
  3854.         virtual HRESULT STDMETHODCALLTYPE DblClick( 
  3855.             /* [in] */ long dwCharID,
  3856.             /* [in] */ short fwKeys,
  3857.             /* [in] */ long x,
  3858.             /* [in] */ long y) = 0;
  3859.         
  3860.         virtual HRESULT STDMETHODCALLTYPE DragStart( 
  3861.             /* [in] */ long dwCharID,
  3862.             /* [in] */ short fwKeys,
  3863.             /* [in] */ long x,
  3864.             /* [in] */ long y) = 0;
  3865.         
  3866.         virtual HRESULT STDMETHODCALLTYPE DragComplete( 
  3867.             /* [in] */ long dwCharID,
  3868.             /* [in] */ short fwKeys,
  3869.             /* [in] */ long x,
  3870.             /* [in] */ long y) = 0;
  3871.         
  3872.         virtual HRESULT STDMETHODCALLTYPE RequestStart( 
  3873.             /* [in] */ long dwRequestID) = 0;
  3874.         
  3875.         virtual HRESULT STDMETHODCALLTYPE RequestComplete( 
  3876.             /* [in] */ long dwRequestID,
  3877.             /* [in] */ long hrStatus) = 0;
  3878.         
  3879.         virtual HRESULT STDMETHODCALLTYPE BookMark( 
  3880.             /* [in] */ long dwBookMarkID) = 0;
  3881.         
  3882.         virtual HRESULT STDMETHODCALLTYPE Idle( 
  3883.             /* [in] */ long dwCharID,
  3884.             /* [in] */ long bStart) = 0;
  3885.         
  3886.         virtual HRESULT STDMETHODCALLTYPE Move( 
  3887.             /* [in] */ long dwCharID,
  3888.             /* [in] */ long x,
  3889.             /* [in] */ long y,
  3890.             /* [in] */ long dwCause) = 0;
  3891.         
  3892.         virtual HRESULT STDMETHODCALLTYPE Size( 
  3893.             /* [in] */ long dwCharID,
  3894.             /* [in] */ long lWidth,
  3895.             /* [in] */ long lHeight) = 0;
  3896.         
  3897.         virtual HRESULT STDMETHODCALLTYPE BalloonVisibleState( 
  3898.             /* [in] */ long dwCharID,
  3899.             /* [in] */ long bVisible) = 0;
  3900.         
  3901.     };
  3902.     
  3903. #else     /* C style interface */
  3904.  
  3905.     typedef struct IAgentNotifySinkVtbl
  3906.     {
  3907.         BEGIN_INTERFACE
  3908.         
  3909.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  3910.             IAgentNotifySink __RPC_FAR * This,
  3911.             /* [in] */ REFIID riid,
  3912.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3913.         
  3914.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  3915.             IAgentNotifySink __RPC_FAR * This);
  3916.         
  3917.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  3918.             IAgentNotifySink __RPC_FAR * This);
  3919.         
  3920.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  3921.             IAgentNotifySink __RPC_FAR * This,
  3922.             /* [out] */ UINT __RPC_FAR *pctinfo);
  3923.         
  3924.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  3925.             IAgentNotifySink __RPC_FAR * This,
  3926.             /* [in] */ UINT iTInfo,
  3927.             /* [in] */ LCID lcid,
  3928.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  3929.         
  3930.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  3931.             IAgentNotifySink __RPC_FAR * This,
  3932.             /* [in] */ REFIID riid,
  3933.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  3934.             /* [in] */ UINT cNames,
  3935.             /* [in] */ LCID lcid,
  3936.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  3937.         
  3938.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  3939.             IAgentNotifySink __RPC_FAR * This,
  3940.             /* [in] */ DISPID dispIdMember,
  3941.             /* [in] */ REFIID riid,
  3942.             /* [in] */ LCID lcid,
  3943.             /* [in] */ WORD wFlags,
  3944.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  3945.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  3946.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  3947.             /* [out] */ UINT __RPC_FAR *puArgErr);
  3948.         
  3949.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Command )( 
  3950.             IAgentNotifySink __RPC_FAR * This,
  3951.             /* [in] */ long dwCommandID,
  3952.             /* [in] */ IUnknown __RPC_FAR *punkUserInput);
  3953.         
  3954.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ActivateInputState )( 
  3955.             IAgentNotifySink __RPC_FAR * This,
  3956.             /* [in] */ long dwCharID,
  3957.             /* [in] */ long bActivated);
  3958.         
  3959.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Restart )( 
  3960.             IAgentNotifySink __RPC_FAR * This);
  3961.         
  3962.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Shutdown )( 
  3963.             IAgentNotifySink __RPC_FAR * This);
  3964.         
  3965.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *VisibleState )( 
  3966.             IAgentNotifySink __RPC_FAR * This,
  3967.             /* [in] */ long dwCharID,
  3968.             /* [in] */ long bVisible,
  3969.             /* [in] */ long dwCause);
  3970.         
  3971.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Click )( 
  3972.             IAgentNotifySink __RPC_FAR * This,
  3973.             /* [in] */ long dwCharID,
  3974.             /* [in] */ short fwKeys,
  3975.             /* [in] */ long x,
  3976.             /* [in] */ long y);
  3977.         
  3978.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DblClick )( 
  3979.             IAgentNotifySink __RPC_FAR * This,
  3980.             /* [in] */ long dwCharID,
  3981.             /* [in] */ short fwKeys,
  3982.             /* [in] */ long x,
  3983.             /* [in] */ long y);
  3984.         
  3985.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DragStart )( 
  3986.             IAgentNotifySink __RPC_FAR * This,
  3987.             /* [in] */ long dwCharID,
  3988.             /* [in] */ short fwKeys,
  3989.             /* [in] */ long x,
  3990.             /* [in] */ long y);
  3991.         
  3992.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DragComplete )( 
  3993.             IAgentNotifySink __RPC_FAR * This,
  3994.             /* [in] */ long dwCharID,
  3995.             /* [in] */ short fwKeys,
  3996.             /* [in] */ long x,
  3997.             /* [in] */ long y);
  3998.         
  3999.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestStart )( 
  4000.             IAgentNotifySink __RPC_FAR * This,
  4001.             /* [in] */ long dwRequestID);
  4002.         
  4003.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestComplete )( 
  4004.             IAgentNotifySink __RPC_FAR * This,
  4005.             /* [in] */ long dwRequestID,
  4006.             /* [in] */ long hrStatus);
  4007.         
  4008.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BookMark )( 
  4009.             IAgentNotifySink __RPC_FAR * This,
  4010.             /* [in] */ long dwBookMarkID);
  4011.         
  4012.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Idle )( 
  4013.             IAgentNotifySink __RPC_FAR * This,
  4014.             /* [in] */ long dwCharID,
  4015.             /* [in] */ long bStart);
  4016.         
  4017.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Move )( 
  4018.             IAgentNotifySink __RPC_FAR * This,
  4019.             /* [in] */ long dwCharID,
  4020.             /* [in] */ long x,
  4021.             /* [in] */ long y,
  4022.             /* [in] */ long dwCause);
  4023.         
  4024.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Size )( 
  4025.             IAgentNotifySink __RPC_FAR * This,
  4026.             /* [in] */ long dwCharID,
  4027.             /* [in] */ long lWidth,
  4028.             /* [in] */ long lHeight);
  4029.         
  4030.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BalloonVisibleState )( 
  4031.             IAgentNotifySink __RPC_FAR * This,
  4032.             /* [in] */ long dwCharID,
  4033.             /* [in] */ long bVisible);
  4034.         
  4035.         END_INTERFACE
  4036.     } IAgentNotifySinkVtbl;
  4037.  
  4038.     interface IAgentNotifySink
  4039.     {
  4040.         CONST_VTBL struct IAgentNotifySinkVtbl __RPC_FAR *lpVtbl;
  4041.     };
  4042.  
  4043.     
  4044.  
  4045. #ifdef COBJMACROS
  4046.  
  4047.  
  4048. #define IAgentNotifySink_QueryInterface(This,riid,ppvObject)    \
  4049.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4050.  
  4051. #define IAgentNotifySink_AddRef(This)    \
  4052.     (This)->lpVtbl -> AddRef(This)
  4053.  
  4054. #define IAgentNotifySink_Release(This)    \
  4055.     (This)->lpVtbl -> Release(This)
  4056.  
  4057.  
  4058. #define IAgentNotifySink_GetTypeInfoCount(This,pctinfo)    \
  4059.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4060.  
  4061. #define IAgentNotifySink_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  4062.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4063.  
  4064. #define IAgentNotifySink_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  4065.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4066.  
  4067. #define IAgentNotifySink_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  4068.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4069.  
  4070.  
  4071. #define IAgentNotifySink_Command(This,dwCommandID,punkUserInput)    \
  4072.     (This)->lpVtbl -> Command(This,dwCommandID,punkUserInput)
  4073.  
  4074. #define IAgentNotifySink_ActivateInputState(This,dwCharID,bActivated)    \
  4075.     (This)->lpVtbl -> ActivateInputState(This,dwCharID,bActivated)
  4076.  
  4077. #define IAgentNotifySink_Restart(This)    \
  4078.     (This)->lpVtbl -> Restart(This)
  4079.  
  4080. #define IAgentNotifySink_Shutdown(This)    \
  4081.     (This)->lpVtbl -> Shutdown(This)
  4082.  
  4083. #define IAgentNotifySink_VisibleState(This,dwCharID,bVisible,dwCause)    \
  4084.     (This)->lpVtbl -> VisibleState(This,dwCharID,bVisible,dwCause)
  4085.  
  4086. #define IAgentNotifySink_Click(This,dwCharID,fwKeys,x,y)    \
  4087.     (This)->lpVtbl -> Click(This,dwCharID,fwKeys,x,y)
  4088.  
  4089. #define IAgentNotifySink_DblClick(This,dwCharID,fwKeys,x,y)    \
  4090.     (This)->lpVtbl -> DblClick(This,dwCharID,fwKeys,x,y)
  4091.  
  4092. #define IAgentNotifySink_DragStart(This,dwCharID,fwKeys,x,y)    \
  4093.     (This)->lpVtbl -> DragStart(This,dwCharID,fwKeys,x,y)
  4094.  
  4095. #define IAgentNotifySink_DragComplete(This,dwCharID,fwKeys,x,y)    \
  4096.     (This)->lpVtbl -> DragComplete(This,dwCharID,fwKeys,x,y)
  4097.  
  4098. #define IAgentNotifySink_RequestStart(This,dwRequestID)    \
  4099.     (This)->lpVtbl -> RequestStart(This,dwRequestID)
  4100.  
  4101. #define IAgentNotifySink_RequestComplete(This,dwRequestID,hrStatus)    \
  4102.     (This)->lpVtbl -> RequestComplete(This,dwRequestID,hrStatus)
  4103.  
  4104. #define IAgentNotifySink_BookMark(This,dwBookMarkID)    \
  4105.     (This)->lpVtbl -> BookMark(This,dwBookMarkID)
  4106.  
  4107. #define IAgentNotifySink_Idle(This,dwCharID,bStart)    \
  4108.     (This)->lpVtbl -> Idle(This,dwCharID,bStart)
  4109.  
  4110. #define IAgentNotifySink_Move(This,dwCharID,x,y,dwCause)    \
  4111.     (This)->lpVtbl -> Move(This,dwCharID,x,y,dwCause)
  4112.  
  4113. #define IAgentNotifySink_Size(This,dwCharID,lWidth,lHeight)    \
  4114.     (This)->lpVtbl -> Size(This,dwCharID,lWidth,lHeight)
  4115.  
  4116. #define IAgentNotifySink_BalloonVisibleState(This,dwCharID,bVisible)    \
  4117.     (This)->lpVtbl -> BalloonVisibleState(This,dwCharID,bVisible)
  4118.  
  4119. #endif /* COBJMACROS */
  4120.  
  4121.  
  4122. #endif     /* C style interface */
  4123.  
  4124.  
  4125.  
  4126. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Command_Proxy( 
  4127.     IAgentNotifySink __RPC_FAR * This,
  4128.     /* [in] */ long dwCommandID,
  4129.     /* [in] */ IUnknown __RPC_FAR *punkUserInput);
  4130.  
  4131.  
  4132. void __RPC_STUB IAgentNotifySink_Command_Stub(
  4133.     IRpcStubBuffer *This,
  4134.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4135.     PRPC_MESSAGE _pRpcMessage,
  4136.     DWORD *_pdwStubPhase);
  4137.  
  4138.  
  4139. HRESULT STDMETHODCALLTYPE IAgentNotifySink_ActivateInputState_Proxy( 
  4140.     IAgentNotifySink __RPC_FAR * This,
  4141.     /* [in] */ long dwCharID,
  4142.     /* [in] */ long bActivated);
  4143.  
  4144.  
  4145. void __RPC_STUB IAgentNotifySink_ActivateInputState_Stub(
  4146.     IRpcStubBuffer *This,
  4147.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4148.     PRPC_MESSAGE _pRpcMessage,
  4149.     DWORD *_pdwStubPhase);
  4150.  
  4151.  
  4152. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Restart_Proxy( 
  4153.     IAgentNotifySink __RPC_FAR * This);
  4154.  
  4155.  
  4156. void __RPC_STUB IAgentNotifySink_Restart_Stub(
  4157.     IRpcStubBuffer *This,
  4158.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4159.     PRPC_MESSAGE _pRpcMessage,
  4160.     DWORD *_pdwStubPhase);
  4161.  
  4162.  
  4163. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Shutdown_Proxy( 
  4164.     IAgentNotifySink __RPC_FAR * This);
  4165.  
  4166.  
  4167. void __RPC_STUB IAgentNotifySink_Shutdown_Stub(
  4168.     IRpcStubBuffer *This,
  4169.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4170.     PRPC_MESSAGE _pRpcMessage,
  4171.     DWORD *_pdwStubPhase);
  4172.  
  4173.  
  4174. HRESULT STDMETHODCALLTYPE IAgentNotifySink_VisibleState_Proxy( 
  4175.     IAgentNotifySink __RPC_FAR * This,
  4176.     /* [in] */ long dwCharID,
  4177.     /* [in] */ long bVisible,
  4178.     /* [in] */ long dwCause);
  4179.  
  4180.  
  4181. void __RPC_STUB IAgentNotifySink_VisibleState_Stub(
  4182.     IRpcStubBuffer *This,
  4183.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4184.     PRPC_MESSAGE _pRpcMessage,
  4185.     DWORD *_pdwStubPhase);
  4186.  
  4187.  
  4188. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Click_Proxy( 
  4189.     IAgentNotifySink __RPC_FAR * This,
  4190.     /* [in] */ long dwCharID,
  4191.     /* [in] */ short fwKeys,
  4192.     /* [in] */ long x,
  4193.     /* [in] */ long y);
  4194.  
  4195.  
  4196. void __RPC_STUB IAgentNotifySink_Click_Stub(
  4197.     IRpcStubBuffer *This,
  4198.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4199.     PRPC_MESSAGE _pRpcMessage,
  4200.     DWORD *_pdwStubPhase);
  4201.  
  4202.  
  4203. HRESULT STDMETHODCALLTYPE IAgentNotifySink_DblClick_Proxy( 
  4204.     IAgentNotifySink __RPC_FAR * This,
  4205.     /* [in] */ long dwCharID,
  4206.     /* [in] */ short fwKeys,
  4207.     /* [in] */ long x,
  4208.     /* [in] */ long y);
  4209.  
  4210.  
  4211. void __RPC_STUB IAgentNotifySink_DblClick_Stub(
  4212.     IRpcStubBuffer *This,
  4213.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4214.     PRPC_MESSAGE _pRpcMessage,
  4215.     DWORD *_pdwStubPhase);
  4216.  
  4217.  
  4218. HRESULT STDMETHODCALLTYPE IAgentNotifySink_DragStart_Proxy( 
  4219.     IAgentNotifySink __RPC_FAR * This,
  4220.     /* [in] */ long dwCharID,
  4221.     /* [in] */ short fwKeys,
  4222.     /* [in] */ long x,
  4223.     /* [in] */ long y);
  4224.  
  4225.  
  4226. void __RPC_STUB IAgentNotifySink_DragStart_Stub(
  4227.     IRpcStubBuffer *This,
  4228.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4229.     PRPC_MESSAGE _pRpcMessage,
  4230.     DWORD *_pdwStubPhase);
  4231.  
  4232.  
  4233. HRESULT STDMETHODCALLTYPE IAgentNotifySink_DragComplete_Proxy( 
  4234.     IAgentNotifySink __RPC_FAR * This,
  4235.     /* [in] */ long dwCharID,
  4236.     /* [in] */ short fwKeys,
  4237.     /* [in] */ long x,
  4238.     /* [in] */ long y);
  4239.  
  4240.  
  4241. void __RPC_STUB IAgentNotifySink_DragComplete_Stub(
  4242.     IRpcStubBuffer *This,
  4243.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4244.     PRPC_MESSAGE _pRpcMessage,
  4245.     DWORD *_pdwStubPhase);
  4246.  
  4247.  
  4248. HRESULT STDMETHODCALLTYPE IAgentNotifySink_RequestStart_Proxy( 
  4249.     IAgentNotifySink __RPC_FAR * This,
  4250.     /* [in] */ long dwRequestID);
  4251.  
  4252.  
  4253. void __RPC_STUB IAgentNotifySink_RequestStart_Stub(
  4254.     IRpcStubBuffer *This,
  4255.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4256.     PRPC_MESSAGE _pRpcMessage,
  4257.     DWORD *_pdwStubPhase);
  4258.  
  4259.  
  4260. HRESULT STDMETHODCALLTYPE IAgentNotifySink_RequestComplete_Proxy( 
  4261.     IAgentNotifySink __RPC_FAR * This,
  4262.     /* [in] */ long dwRequestID,
  4263.     /* [in] */ long hrStatus);
  4264.  
  4265.  
  4266. void __RPC_STUB IAgentNotifySink_RequestComplete_Stub(
  4267.     IRpcStubBuffer *This,
  4268.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4269.     PRPC_MESSAGE _pRpcMessage,
  4270.     DWORD *_pdwStubPhase);
  4271.  
  4272.  
  4273. HRESULT STDMETHODCALLTYPE IAgentNotifySink_BookMark_Proxy( 
  4274.     IAgentNotifySink __RPC_FAR * This,
  4275.     /* [in] */ long dwBookMarkID);
  4276.  
  4277.  
  4278. void __RPC_STUB IAgentNotifySink_BookMark_Stub(
  4279.     IRpcStubBuffer *This,
  4280.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4281.     PRPC_MESSAGE _pRpcMessage,
  4282.     DWORD *_pdwStubPhase);
  4283.  
  4284.  
  4285. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Idle_Proxy( 
  4286.     IAgentNotifySink __RPC_FAR * This,
  4287.     /* [in] */ long dwCharID,
  4288.     /* [in] */ long bStart);
  4289.  
  4290.  
  4291. void __RPC_STUB IAgentNotifySink_Idle_Stub(
  4292.     IRpcStubBuffer *This,
  4293.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4294.     PRPC_MESSAGE _pRpcMessage,
  4295.     DWORD *_pdwStubPhase);
  4296.  
  4297.  
  4298. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Move_Proxy( 
  4299.     IAgentNotifySink __RPC_FAR * This,
  4300.     /* [in] */ long dwCharID,
  4301.     /* [in] */ long x,
  4302.     /* [in] */ long y,
  4303.     /* [in] */ long dwCause);
  4304.  
  4305.  
  4306. void __RPC_STUB IAgentNotifySink_Move_Stub(
  4307.     IRpcStubBuffer *This,
  4308.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4309.     PRPC_MESSAGE _pRpcMessage,
  4310.     DWORD *_pdwStubPhase);
  4311.  
  4312.  
  4313. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Size_Proxy( 
  4314.     IAgentNotifySink __RPC_FAR * This,
  4315.     /* [in] */ long dwCharID,
  4316.     /* [in] */ long lWidth,
  4317.     /* [in] */ long lHeight);
  4318.  
  4319.  
  4320. void __RPC_STUB IAgentNotifySink_Size_Stub(
  4321.     IRpcStubBuffer *This,
  4322.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4323.     PRPC_MESSAGE _pRpcMessage,
  4324.     DWORD *_pdwStubPhase);
  4325.  
  4326.  
  4327. HRESULT STDMETHODCALLTYPE IAgentNotifySink_BalloonVisibleState_Proxy( 
  4328.     IAgentNotifySink __RPC_FAR * This,
  4329.     /* [in] */ long dwCharID,
  4330.     /* [in] */ long bVisible);
  4331.  
  4332.  
  4333. void __RPC_STUB IAgentNotifySink_BalloonVisibleState_Stub(
  4334.     IRpcStubBuffer *This,
  4335.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4336.     PRPC_MESSAGE _pRpcMessage,
  4337.     DWORD *_pdwStubPhase);
  4338.  
  4339.  
  4340.  
  4341. #endif     /* __IAgentNotifySink_INTERFACE_DEFINED__ */
  4342.  
  4343.  
  4344. #ifndef __IAgentPrivateNotifySink_INTERFACE_DEFINED__
  4345. #define __IAgentPrivateNotifySink_INTERFACE_DEFINED__
  4346.  
  4347. /****************************************
  4348.  * Generated header for interface: IAgentPrivateNotifySink
  4349.  * at Wed Aug 13 21:04:17 1997
  4350.  * using MIDL 3.01.75
  4351.  ****************************************/
  4352. /* [unique][helpstring][uuid][local][object] */ 
  4353.  
  4354.  
  4355.  
  4356. EXTERN_C const IID IID_IAgentPrivateNotifySink;
  4357.  
  4358. #if defined(__cplusplus) && !defined(CINTERFACE)
  4359.     
  4360.     interface DECLSPEC_UUID("B741B760-8EA6-11d0-AC6A-00C04FD97575")
  4361.     IAgentPrivateNotifySink : public IUnknown
  4362.     {
  4363.     public:
  4364.         virtual HRESULT STDMETHODCALLTYPE ReleaseAll( void) = 0;
  4365.         
  4366.         virtual HRESULT STDMETHODCALLTYPE ReleaseOne( 
  4367.             void __RPC_FAR *pnNotify) = 0;
  4368.         
  4369.     };
  4370.     
  4371. #else     /* C style interface */
  4372.  
  4373.     typedef struct IAgentPrivateNotifySinkVtbl
  4374.     {
  4375.         BEGIN_INTERFACE
  4376.         
  4377.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  4378.             IAgentPrivateNotifySink __RPC_FAR * This,
  4379.             /* [in] */ REFIID riid,
  4380.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4381.         
  4382.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  4383.             IAgentPrivateNotifySink __RPC_FAR * This);
  4384.         
  4385.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  4386.             IAgentPrivateNotifySink __RPC_FAR * This);
  4387.         
  4388.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReleaseAll )( 
  4389.             IAgentPrivateNotifySink __RPC_FAR * This);
  4390.         
  4391.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReleaseOne )( 
  4392.             IAgentPrivateNotifySink __RPC_FAR * This,
  4393.             void __RPC_FAR *pnNotify);
  4394.         
  4395.         END_INTERFACE
  4396.     } IAgentPrivateNotifySinkVtbl;
  4397.  
  4398.     interface IAgentPrivateNotifySink
  4399.     {
  4400.         CONST_VTBL struct IAgentPrivateNotifySinkVtbl __RPC_FAR *lpVtbl;
  4401.     };
  4402.  
  4403.     
  4404.  
  4405. #ifdef COBJMACROS
  4406.  
  4407.  
  4408. #define IAgentPrivateNotifySink_QueryInterface(This,riid,ppvObject)    \
  4409.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4410.  
  4411. #define IAgentPrivateNotifySink_AddRef(This)    \
  4412.     (This)->lpVtbl -> AddRef(This)
  4413.  
  4414. #define IAgentPrivateNotifySink_Release(This)    \
  4415.     (This)->lpVtbl -> Release(This)
  4416.  
  4417.  
  4418. #define IAgentPrivateNotifySink_ReleaseAll(This)    \
  4419.     (This)->lpVtbl -> ReleaseAll(This)
  4420.  
  4421. #define IAgentPrivateNotifySink_ReleaseOne(This,pnNotify)    \
  4422.     (This)->lpVtbl -> ReleaseOne(This,pnNotify)
  4423.  
  4424. #endif /* COBJMACROS */
  4425.  
  4426.  
  4427. #endif     /* C style interface */
  4428.  
  4429.  
  4430.  
  4431. HRESULT STDMETHODCALLTYPE IAgentPrivateNotifySink_ReleaseAll_Proxy( 
  4432.     IAgentPrivateNotifySink __RPC_FAR * This);
  4433.  
  4434.  
  4435. void __RPC_STUB IAgentPrivateNotifySink_ReleaseAll_Stub(
  4436.     IRpcStubBuffer *This,
  4437.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4438.     PRPC_MESSAGE _pRpcMessage,
  4439.     DWORD *_pdwStubPhase);
  4440.  
  4441.  
  4442. HRESULT STDMETHODCALLTYPE IAgentPrivateNotifySink_ReleaseOne_Proxy( 
  4443.     IAgentPrivateNotifySink __RPC_FAR * This,
  4444.     void __RPC_FAR *pnNotify);
  4445.  
  4446.  
  4447. void __RPC_STUB IAgentPrivateNotifySink_ReleaseOne_Stub(
  4448.     IRpcStubBuffer *This,
  4449.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4450.     PRPC_MESSAGE _pRpcMessage,
  4451.     DWORD *_pdwStubPhase);
  4452.  
  4453.  
  4454.  
  4455. #endif     /* __IAgentPrivateNotifySink_INTERFACE_DEFINED__ */
  4456.  
  4457.  
  4458. /****************************************
  4459.  * Generated header for interface: __MIDL_itf_AgentServer_0147
  4460.  * at Wed Aug 13 21:04:17 1997
  4461.  * using MIDL 3.01.75
  4462.  ****************************************/
  4463. /* [local] */ 
  4464.  
  4465.  
  4466. #define    AGENT_VERSION_MAJOR    ( 1 )
  4467.  
  4468. #define    AGENT_VERSION_MINOR    ( 5 )
  4469.  
  4470.  
  4471.  
  4472. extern RPC_IF_HANDLE __MIDL_itf_AgentServer_0147_v0_0_c_ifspec;
  4473. extern RPC_IF_HANDLE __MIDL_itf_AgentServer_0147_v0_0_s_ifspec;
  4474.  
  4475.  
  4476. #ifndef __AgentServerObjects_LIBRARY_DEFINED__
  4477. #define __AgentServerObjects_LIBRARY_DEFINED__
  4478.  
  4479. /****************************************
  4480.  * Generated header for library: AgentServerObjects
  4481.  * at Wed Aug 13 21:04:17 1997
  4482.  * using MIDL 3.01.75
  4483.  ****************************************/
  4484. /* [helpstring][version][uuid] */ 
  4485.  
  4486.  
  4487.  
  4488.  
  4489.  
  4490.  
  4491.  
  4492.  
  4493.  
  4494.  
  4495.  
  4496.  
  4497.  
  4498.  
  4499. EXTERN_C const IID LIBID_AgentServerObjects;
  4500.  
  4501. #ifdef __cplusplus
  4502. EXTERN_C const CLSID CLSID_AgentServer;
  4503.  
  4504. class DECLSPEC_UUID("A7B93C92-7B81-11D0-AC5F-00C04FD97575")
  4505. AgentServer;
  4506. #endif
  4507. #endif /* __AgentServerObjects_LIBRARY_DEFINED__ */
  4508.  
  4509. /* Additional Prototypes for ALL interfaces */
  4510.  
  4511. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long __RPC_FAR *, unsigned long            , BSTR __RPC_FAR * ); 
  4512. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  4513. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  4514. void                      __RPC_USER  BSTR_UserFree(     unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); 
  4515.  
  4516. unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long __RPC_FAR *, unsigned long            , VARIANT __RPC_FAR * ); 
  4517. unsigned char __RPC_FAR * __RPC_USER  VARIANT_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * ); 
  4518. unsigned char __RPC_FAR * __RPC_USER  VARIANT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * ); 
  4519. void                      __RPC_USER  VARIANT_UserFree(     unsigned long __RPC_FAR *, VARIANT __RPC_FAR * ); 
  4520.  
  4521. /* end of Additional Prototypes */
  4522.  
  4523. #ifdef __cplusplus
  4524. }
  4525. #endif
  4526.  
  4527. #endif
  4528. #pragma option pop /*P_O_Pop*/
  4529.