home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / agtsvr.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  149KB  |  4,527 lines

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