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

模拟服务器

开发平台:

C/C++

  1.     IAgentBalloon __RPC_FAR * This,
  2.     /* [in] */ BSTR bszFontName);
  3. void __RPC_STUB IAgentBalloon_SetFontName_Stub(
  4.     IRpcStubBuffer *This,
  5.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6.     PRPC_MESSAGE _pRpcMessage,
  7.     DWORD *_pdwStubPhase);
  8. HRESULT STDMETHODCALLTYPE IAgentBalloon_SetFontSize_Proxy( 
  9.     IAgentBalloon __RPC_FAR * This,
  10.     /* [in] */ long lFontSize);
  11. void __RPC_STUB IAgentBalloon_SetFontSize_Stub(
  12.     IRpcStubBuffer *This,
  13.     IRpcChannelBuffer *_pRpcChannelBuffer,
  14.     PRPC_MESSAGE _pRpcMessage,
  15.     DWORD *_pdwStubPhase);
  16. HRESULT STDMETHODCALLTYPE IAgentBalloon_SetFontCharSet_Proxy( 
  17.     IAgentBalloon __RPC_FAR * This,
  18.     /* [in] */ short sFontCharSet);
  19. void __RPC_STUB IAgentBalloon_SetFontCharSet_Stub(
  20.     IRpcStubBuffer *This,
  21.     IRpcChannelBuffer *_pRpcChannelBuffer,
  22.     PRPC_MESSAGE _pRpcMessage,
  23.     DWORD *_pdwStubPhase);
  24. HRESULT STDMETHODCALLTYPE IAgentBalloon_GetFontCharSet_Proxy( 
  25.     IAgentBalloon __RPC_FAR * This,
  26.     /* [out] */ short __RPC_FAR *psFontCharSet);
  27. void __RPC_STUB IAgentBalloon_GetFontCharSet_Stub(
  28.     IRpcStubBuffer *This,
  29.     IRpcChannelBuffer *_pRpcChannelBuffer,
  30.     PRPC_MESSAGE _pRpcMessage,
  31.     DWORD *_pdwStubPhase);
  32. #endif  /* __IAgentBalloon_INTERFACE_DEFINED__ */
  33. #ifndef __IAgentBalloonEx_INTERFACE_DEFINED__
  34. #define __IAgentBalloonEx_INTERFACE_DEFINED__
  35. /****************************************
  36.  * Generated header for interface: IAgentBalloonEx
  37.  * at Mon Aug 31 17:00:38 1998
  38.  * using MIDL 3.01.75
  39.  ****************************************/
  40. /* [unique][helpstring][dual][uuid][object] */ 
  41. EXTERN_C const IID IID_IAgentBalloonEx;
  42. #if defined(__cplusplus) && !defined(CINTERFACE)
  43.     
  44.     interface DECLSPEC_UUID("D7A6D440-8872-11d1-9EC6-00C04FD7081F")
  45.     IAgentBalloonEx : public IAgentBalloon
  46.     {
  47.     public:
  48.         virtual HRESULT STDMETHODCALLTYPE SetStyle( 
  49.             /* [in] */ long lStyle) = 0;
  50.         
  51.         virtual HRESULT STDMETHODCALLTYPE GetStyle( 
  52.             /* [out] */ long __RPC_FAR *plStyle) = 0;
  53.         
  54.         virtual HRESULT STDMETHODCALLTYPE SetNumLines( 
  55.             /* [in] */ long lLines) = 0;
  56.         
  57.         virtual HRESULT STDMETHODCALLTYPE SetNumCharsPerLine( 
  58.             /* [in] */ long lCharsPerLine) = 0;
  59.         
  60.     };
  61.     
  62. #else  /* C style interface */
  63.     typedef struct IAgentBalloonExVtbl
  64.     {
  65.         BEGIN_INTERFACE
  66.         
  67.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  68.             IAgentBalloonEx __RPC_FAR * This,
  69.             /* [in] */ REFIID riid,
  70.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  71.         
  72.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  73.             IAgentBalloonEx __RPC_FAR * This);
  74.         
  75.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  76.             IAgentBalloonEx __RPC_FAR * This);
  77.         
  78.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  79.             IAgentBalloonEx __RPC_FAR * This,
  80.             /* [out] */ UINT __RPC_FAR *pctinfo);
  81.         
  82.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  83.             IAgentBalloonEx __RPC_FAR * This,
  84.             /* [in] */ UINT iTInfo,
  85.             /* [in] */ LCID lcid,
  86.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  87.         
  88.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  89.             IAgentBalloonEx __RPC_FAR * This,
  90.             /* [in] */ REFIID riid,
  91.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  92.             /* [in] */ UINT cNames,
  93.             /* [in] */ LCID lcid,
  94.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  95.         
  96.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  97.             IAgentBalloonEx __RPC_FAR * This,
  98.             /* [in] */ DISPID dispIdMember,
  99.             /* [in] */ REFIID riid,
  100.             /* [in] */ LCID lcid,
  101.             /* [in] */ WORD wFlags,
  102.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  103.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  104.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  105.             /* [out] */ UINT __RPC_FAR *puArgErr);
  106.         
  107.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnabled )( 
  108.             IAgentBalloonEx __RPC_FAR * This,
  109.             /* [out] */ long __RPC_FAR *pbEnabled);
  110.         
  111.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNumLines )( 
  112.             IAgentBalloonEx __RPC_FAR * This,
  113.             /* [out] */ long __RPC_FAR *plLines);
  114.         
  115.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNumCharsPerLine )( 
  116.             IAgentBalloonEx __RPC_FAR * This,
  117.             /* [out] */ long __RPC_FAR *plCharsPerLine);
  118.         
  119.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontName )( 
  120.             IAgentBalloonEx __RPC_FAR * This,
  121.             /* [out] */ BSTR __RPC_FAR *pbszFontName);
  122.         
  123.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontSize )( 
  124.             IAgentBalloonEx __RPC_FAR * This,
  125.             /* [out] */ long __RPC_FAR *plFontSize);
  126.         
  127.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontBold )( 
  128.             IAgentBalloonEx __RPC_FAR * This,
  129.             /* [out] */ long __RPC_FAR *pbFontBold);
  130.         
  131.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontItalic )( 
  132.             IAgentBalloonEx __RPC_FAR * This,
  133.             /* [out] */ long __RPC_FAR *pbFontItalic);
  134.         
  135.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontStrikethru )( 
  136.             IAgentBalloonEx __RPC_FAR * This,
  137.             /* [out] */ long __RPC_FAR *pbFontStrikethru);
  138.         
  139.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontUnderline )( 
  140.             IAgentBalloonEx __RPC_FAR * This,
  141.             /* [out] */ long __RPC_FAR *pbFontUnderline);
  142.         
  143.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetForeColor )( 
  144.             IAgentBalloonEx __RPC_FAR * This,
  145.             /* [out] */ long __RPC_FAR *plFGColor);
  146.         
  147.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBackColor )( 
  148.             IAgentBalloonEx __RPC_FAR * This,
  149.             /* [out] */ long __RPC_FAR *plBGColor);
  150.         
  151.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBorderColor )( 
  152.             IAgentBalloonEx __RPC_FAR * This,
  153.             /* [out] */ long __RPC_FAR *plBorderColor);
  154.         
  155.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetVisible )( 
  156.             IAgentBalloonEx __RPC_FAR * This,
  157.             /* [in] */ long bVisible);
  158.         
  159.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )( 
  160.             IAgentBalloonEx __RPC_FAR * This,
  161.             /* [out] */ long __RPC_FAR *pbVisible);
  162.         
  163.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontName )( 
  164.             IAgentBalloonEx __RPC_FAR * This,
  165.             /* [in] */ BSTR bszFontName);
  166.         
  167.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontSize )( 
  168.             IAgentBalloonEx __RPC_FAR * This,
  169.             /* [in] */ long lFontSize);
  170.         
  171.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFontCharSet )( 
  172.             IAgentBalloonEx __RPC_FAR * This,
  173.             /* [in] */ short sFontCharSet);
  174.         
  175.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFontCharSet )( 
  176.             IAgentBalloonEx __RPC_FAR * This,
  177.             /* [out] */ short __RPC_FAR *psFontCharSet);
  178.         
  179.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetStyle )( 
  180.             IAgentBalloonEx __RPC_FAR * This,
  181.             /* [in] */ long lStyle);
  182.         
  183.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStyle )( 
  184.             IAgentBalloonEx __RPC_FAR * This,
  185.             /* [out] */ long __RPC_FAR *plStyle);
  186.         
  187.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetNumLines )( 
  188.             IAgentBalloonEx __RPC_FAR * This,
  189.             /* [in] */ long lLines);
  190.         
  191.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetNumCharsPerLine )( 
  192.             IAgentBalloonEx __RPC_FAR * This,
  193.             /* [in] */ long lCharsPerLine);
  194.         
  195.         END_INTERFACE
  196.     } IAgentBalloonExVtbl;
  197.     interface IAgentBalloonEx
  198.     {
  199.         CONST_VTBL struct IAgentBalloonExVtbl __RPC_FAR *lpVtbl;
  200.     };
  201.     
  202. #ifdef COBJMACROS
  203. #define IAgentBalloonEx_QueryInterface(This,riid,ppvObject)
  204.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  205. #define IAgentBalloonEx_AddRef(This)
  206.     (This)->lpVtbl -> AddRef(This)
  207. #define IAgentBalloonEx_Release(This)
  208.     (This)->lpVtbl -> Release(This)
  209. #define IAgentBalloonEx_GetTypeInfoCount(This,pctinfo)
  210.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  211. #define IAgentBalloonEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  212.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  213. #define IAgentBalloonEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  214.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  215. #define IAgentBalloonEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  216.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  217. #define IAgentBalloonEx_GetEnabled(This,pbEnabled)
  218.     (This)->lpVtbl -> GetEnabled(This,pbEnabled)
  219. #define IAgentBalloonEx_GetNumLines(This,plLines)
  220.     (This)->lpVtbl -> GetNumLines(This,plLines)
  221. #define IAgentBalloonEx_GetNumCharsPerLine(This,plCharsPerLine)
  222.     (This)->lpVtbl -> GetNumCharsPerLine(This,plCharsPerLine)
  223. #define IAgentBalloonEx_GetFontName(This,pbszFontName)
  224.     (This)->lpVtbl -> GetFontName(This,pbszFontName)
  225. #define IAgentBalloonEx_GetFontSize(This,plFontSize)
  226.     (This)->lpVtbl -> GetFontSize(This,plFontSize)
  227. #define IAgentBalloonEx_GetFontBold(This,pbFontBold)
  228.     (This)->lpVtbl -> GetFontBold(This,pbFontBold)
  229. #define IAgentBalloonEx_GetFontItalic(This,pbFontItalic)
  230.     (This)->lpVtbl -> GetFontItalic(This,pbFontItalic)
  231. #define IAgentBalloonEx_GetFontStrikethru(This,pbFontStrikethru)
  232.     (This)->lpVtbl -> GetFontStrikethru(This,pbFontStrikethru)
  233. #define IAgentBalloonEx_GetFontUnderline(This,pbFontUnderline)
  234.     (This)->lpVtbl -> GetFontUnderline(This,pbFontUnderline)
  235. #define IAgentBalloonEx_GetForeColor(This,plFGColor)
  236.     (This)->lpVtbl -> GetForeColor(This,plFGColor)
  237. #define IAgentBalloonEx_GetBackColor(This,plBGColor)
  238.     (This)->lpVtbl -> GetBackColor(This,plBGColor)
  239. #define IAgentBalloonEx_GetBorderColor(This,plBorderColor)
  240.     (This)->lpVtbl -> GetBorderColor(This,plBorderColor)
  241. #define IAgentBalloonEx_SetVisible(This,bVisible)
  242.     (This)->lpVtbl -> SetVisible(This,bVisible)
  243. #define IAgentBalloonEx_GetVisible(This,pbVisible)
  244.     (This)->lpVtbl -> GetVisible(This,pbVisible)
  245. #define IAgentBalloonEx_SetFontName(This,bszFontName)
  246.     (This)->lpVtbl -> SetFontName(This,bszFontName)
  247. #define IAgentBalloonEx_SetFontSize(This,lFontSize)
  248.     (This)->lpVtbl -> SetFontSize(This,lFontSize)
  249. #define IAgentBalloonEx_SetFontCharSet(This,sFontCharSet)
  250.     (This)->lpVtbl -> SetFontCharSet(This,sFontCharSet)
  251. #define IAgentBalloonEx_GetFontCharSet(This,psFontCharSet)
  252.     (This)->lpVtbl -> GetFontCharSet(This,psFontCharSet)
  253. #define IAgentBalloonEx_SetStyle(This,lStyle)
  254.     (This)->lpVtbl -> SetStyle(This,lStyle)
  255. #define IAgentBalloonEx_GetStyle(This,plStyle)
  256.     (This)->lpVtbl -> GetStyle(This,plStyle)
  257. #define IAgentBalloonEx_SetNumLines(This,lLines)
  258.     (This)->lpVtbl -> SetNumLines(This,lLines)
  259. #define IAgentBalloonEx_SetNumCharsPerLine(This,lCharsPerLine)
  260.     (This)->lpVtbl -> SetNumCharsPerLine(This,lCharsPerLine)
  261. #endif /* COBJMACROS */
  262. #endif  /* C style interface */
  263. HRESULT STDMETHODCALLTYPE IAgentBalloonEx_SetStyle_Proxy( 
  264.     IAgentBalloonEx __RPC_FAR * This,
  265.     /* [in] */ long lStyle);
  266. void __RPC_STUB IAgentBalloonEx_SetStyle_Stub(
  267.     IRpcStubBuffer *This,
  268.     IRpcChannelBuffer *_pRpcChannelBuffer,
  269.     PRPC_MESSAGE _pRpcMessage,
  270.     DWORD *_pdwStubPhase);
  271. HRESULT STDMETHODCALLTYPE IAgentBalloonEx_GetStyle_Proxy( 
  272.     IAgentBalloonEx __RPC_FAR * This,
  273.     /* [out] */ long __RPC_FAR *plStyle);
  274. void __RPC_STUB IAgentBalloonEx_GetStyle_Stub(
  275.     IRpcStubBuffer *This,
  276.     IRpcChannelBuffer *_pRpcChannelBuffer,
  277.     PRPC_MESSAGE _pRpcMessage,
  278.     DWORD *_pdwStubPhase);
  279. HRESULT STDMETHODCALLTYPE IAgentBalloonEx_SetNumLines_Proxy( 
  280.     IAgentBalloonEx __RPC_FAR * This,
  281.     /* [in] */ long lLines);
  282. void __RPC_STUB IAgentBalloonEx_SetNumLines_Stub(
  283.     IRpcStubBuffer *This,
  284.     IRpcChannelBuffer *_pRpcChannelBuffer,
  285.     PRPC_MESSAGE _pRpcMessage,
  286.     DWORD *_pdwStubPhase);
  287. HRESULT STDMETHODCALLTYPE IAgentBalloonEx_SetNumCharsPerLine_Proxy( 
  288.     IAgentBalloonEx __RPC_FAR * This,
  289.     /* [in] */ long lCharsPerLine);
  290. void __RPC_STUB IAgentBalloonEx_SetNumCharsPerLine_Stub(
  291.     IRpcStubBuffer *This,
  292.     IRpcChannelBuffer *_pRpcChannelBuffer,
  293.     PRPC_MESSAGE _pRpcMessage,
  294.     DWORD *_pdwStubPhase);
  295. #endif  /* __IAgentBalloonEx_INTERFACE_DEFINED__ */
  296. #ifndef __IAgentCharacter_INTERFACE_DEFINED__
  297. #define __IAgentCharacter_INTERFACE_DEFINED__
  298. /****************************************
  299.  * Generated header for interface: IAgentCharacter
  300.  * at Mon Aug 31 17:00:38 1998
  301.  * using MIDL 3.01.75
  302.  ****************************************/
  303. /* [unique][helpstring][dual][uuid][object] */ 
  304. EXTERN_C const IID IID_IAgentCharacter;
  305. #if defined(__cplusplus) && !defined(CINTERFACE)
  306.     
  307.     interface DECLSPEC_UUID("A7B93C8F-7B81-11D0-AC5F-00C04FD97575")
  308.     IAgentCharacter : public IDispatch
  309.     {
  310.     public:
  311.         virtual HRESULT STDMETHODCALLTYPE GetVisible( 
  312.             /* [out] */ long __RPC_FAR *pbVisible) = 0;
  313.         
  314.         virtual HRESULT STDMETHODCALLTYPE SetPosition( 
  315.             /* [in] */ long lLeft,
  316.             /* [in] */ long lTop) = 0;
  317.         
  318.         virtual HRESULT STDMETHODCALLTYPE GetPosition( 
  319.             /* [out] */ long __RPC_FAR *plLeft,
  320.             /* [out] */ long __RPC_FAR *plTop) = 0;
  321.         
  322.         virtual HRESULT STDMETHODCALLTYPE SetSize( 
  323.             /* [in] */ long lWidth,
  324.             /* [in] */ long lHeight) = 0;
  325.         
  326.         virtual HRESULT STDMETHODCALLTYPE GetSize( 
  327.             /* [out] */ long __RPC_FAR *plWidth,
  328.             /* [out] */ long __RPC_FAR *plHeight) = 0;
  329.         
  330.         virtual HRESULT STDMETHODCALLTYPE GetName( 
  331.             /* [out] */ BSTR __RPC_FAR *pbszName) = 0;
  332.         
  333.         virtual HRESULT STDMETHODCALLTYPE GetDescription( 
  334.             /* [out] */ BSTR __RPC_FAR *pbszDescription) = 0;
  335.         
  336.         virtual HRESULT STDMETHODCALLTYPE GetTTSSpeed( 
  337.             /* [out] */ long __RPC_FAR *pdwSpeed) = 0;
  338.         
  339.         virtual HRESULT STDMETHODCALLTYPE GetTTSPitch( 
  340.             /* [out] */ short __RPC_FAR *pwPitch) = 0;
  341.         
  342.         virtual HRESULT STDMETHODCALLTYPE Activate( 
  343.             /* [in] */ short sState) = 0;
  344.         
  345.         virtual HRESULT STDMETHODCALLTYPE SetIdleOn( 
  346.             /* [in] */ long bOn) = 0;
  347.         
  348.         virtual HRESULT STDMETHODCALLTYPE GetIdleOn( 
  349.             /* [out] */ long __RPC_FAR *pbOn) = 0;
  350.         
  351.         virtual HRESULT STDMETHODCALLTYPE Prepare( 
  352.             /* [in] */ long dwType,
  353.             /* [in] */ BSTR bszName,
  354.             /* [in] */ long bQueue,
  355.             /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  356.         
  357.         virtual HRESULT STDMETHODCALLTYPE Play( 
  358.             /* [in] */ BSTR bszAnimation,
  359.             /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  360.         
  361.         virtual HRESULT STDMETHODCALLTYPE Stop( 
  362.             /* [in] */ long dwReqID) = 0;
  363.         
  364.         virtual HRESULT STDMETHODCALLTYPE StopAll( 
  365.             /* [in] */ long lTypes) = 0;
  366.         
  367.         virtual HRESULT STDMETHODCALLTYPE Wait( 
  368.             /* [in] */ long dwReqID,
  369.             /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  370.         
  371.         virtual HRESULT STDMETHODCALLTYPE Interrupt( 
  372.             /* [in] */ long dwReqID,
  373.             /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  374.         
  375.         virtual HRESULT STDMETHODCALLTYPE Show( 
  376.             /* [in] */ long bFast,
  377.             /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  378.         
  379.         virtual HRESULT STDMETHODCALLTYPE Hide( 
  380.             /* [in] */ long bFast,
  381.             /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  382.         
  383.         virtual HRESULT STDMETHODCALLTYPE Speak( 
  384.             /* [in] */ BSTR bszText,
  385.             /* [in] */ BSTR bszUrl,
  386.             /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  387.         
  388.         virtual HRESULT STDMETHODCALLTYPE MoveTo( 
  389.             /* [in] */ short x,
  390.             /* [in] */ short y,
  391.             /* [in] */ long lSpeed,
  392.             /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  393.         
  394.         virtual HRESULT STDMETHODCALLTYPE GestureAt( 
  395.             /* [in] */ short x,
  396.             /* [in] */ short y,
  397.             /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  398.         
  399.         virtual HRESULT STDMETHODCALLTYPE GetMoveCause( 
  400.             /* [out] */ long __RPC_FAR *pdwCause) = 0;
  401.         
  402.         virtual HRESULT STDMETHODCALLTYPE GetVisibilityCause( 
  403.             /* [out] */ long __RPC_FAR *pdwCause) = 0;
  404.         
  405.         virtual HRESULT STDMETHODCALLTYPE HasOtherClients( 
  406.             /* [out] */ long __RPC_FAR *plNumOtherClients) = 0;
  407.         
  408.         virtual HRESULT STDMETHODCALLTYPE SetSoundEffectsOn( 
  409.             /* [in] */ long bOn) = 0;
  410.         
  411.         virtual HRESULT STDMETHODCALLTYPE GetSoundEffectsOn( 
  412.             /* [out] */ long __RPC_FAR *pbOn) = 0;
  413.         
  414.         virtual HRESULT STDMETHODCALLTYPE SetName( 
  415.             /* [in] */ BSTR bszName) = 0;
  416.         
  417.         virtual HRESULT STDMETHODCALLTYPE SetDescription( 
  418.             /* [in] */ BSTR bszDescription) = 0;
  419.         
  420.         virtual HRESULT STDMETHODCALLTYPE GetExtraData( 
  421.             /* [out] */ BSTR __RPC_FAR *pbszExtraData) = 0;
  422.         
  423.     };
  424.     
  425. #else  /* C style interface */
  426.     typedef struct IAgentCharacterVtbl
  427.     {
  428.         BEGIN_INTERFACE
  429.         
  430.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  431.             IAgentCharacter __RPC_FAR * This,
  432.             /* [in] */ REFIID riid,
  433.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  434.         
  435.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  436.             IAgentCharacter __RPC_FAR * This);
  437.         
  438.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  439.             IAgentCharacter __RPC_FAR * This);
  440.         
  441.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  442.             IAgentCharacter __RPC_FAR * This,
  443.             /* [out] */ UINT __RPC_FAR *pctinfo);
  444.         
  445.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  446.             IAgentCharacter __RPC_FAR * This,
  447.             /* [in] */ UINT iTInfo,
  448.             /* [in] */ LCID lcid,
  449.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  450.         
  451.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  452.             IAgentCharacter __RPC_FAR * This,
  453.             /* [in] */ REFIID riid,
  454.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  455.             /* [in] */ UINT cNames,
  456.             /* [in] */ LCID lcid,
  457.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  458.         
  459.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  460.             IAgentCharacter __RPC_FAR * This,
  461.             /* [in] */ DISPID dispIdMember,
  462.             /* [in] */ REFIID riid,
  463.             /* [in] */ LCID lcid,
  464.             /* [in] */ WORD wFlags,
  465.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  466.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  467.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  468.             /* [out] */ UINT __RPC_FAR *puArgErr);
  469.         
  470.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )( 
  471.             IAgentCharacter __RPC_FAR * This,
  472.             /* [out] */ long __RPC_FAR *pbVisible);
  473.         
  474.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPosition )( 
  475.             IAgentCharacter __RPC_FAR * This,
  476.             /* [in] */ long lLeft,
  477.             /* [in] */ long lTop);
  478.         
  479.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPosition )( 
  480.             IAgentCharacter __RPC_FAR * This,
  481.             /* [out] */ long __RPC_FAR *plLeft,
  482.             /* [out] */ long __RPC_FAR *plTop);
  483.         
  484.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSize )( 
  485.             IAgentCharacter __RPC_FAR * This,
  486.             /* [in] */ long lWidth,
  487.             /* [in] */ long lHeight);
  488.         
  489.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSize )( 
  490.             IAgentCharacter __RPC_FAR * This,
  491.             /* [out] */ long __RPC_FAR *plWidth,
  492.             /* [out] */ long __RPC_FAR *plHeight);
  493.         
  494.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetName )( 
  495.             IAgentCharacter __RPC_FAR * This,
  496.             /* [out] */ BSTR __RPC_FAR *pbszName);
  497.         
  498.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDescription )( 
  499.             IAgentCharacter __RPC_FAR * This,
  500.             /* [out] */ BSTR __RPC_FAR *pbszDescription);
  501.         
  502.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTTSSpeed )( 
  503.             IAgentCharacter __RPC_FAR * This,
  504.             /* [out] */ long __RPC_FAR *pdwSpeed);
  505.         
  506.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTTSPitch )( 
  507.             IAgentCharacter __RPC_FAR * This,
  508.             /* [out] */ short __RPC_FAR *pwPitch);
  509.         
  510.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Activate )( 
  511.             IAgentCharacter __RPC_FAR * This,
  512.             /* [in] */ short sState);
  513.         
  514.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetIdleOn )( 
  515.             IAgentCharacter __RPC_FAR * This,
  516.             /* [in] */ long bOn);
  517.         
  518.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIdleOn )( 
  519.             IAgentCharacter __RPC_FAR * This,
  520.             /* [out] */ long __RPC_FAR *pbOn);
  521.         
  522.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Prepare )( 
  523.             IAgentCharacter __RPC_FAR * This,
  524.             /* [in] */ long dwType,
  525.             /* [in] */ BSTR bszName,
  526.             /* [in] */ long bQueue,
  527.             /* [out] */ long __RPC_FAR *pdwReqID);
  528.         
  529.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Play )( 
  530.             IAgentCharacter __RPC_FAR * This,
  531.             /* [in] */ BSTR bszAnimation,
  532.             /* [out] */ long __RPC_FAR *pdwReqID);
  533.         
  534.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Stop )( 
  535.             IAgentCharacter __RPC_FAR * This,
  536.             /* [in] */ long dwReqID);
  537.         
  538.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *StopAll )( 
  539.             IAgentCharacter __RPC_FAR * This,
  540.             /* [in] */ long lTypes);
  541.         
  542.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Wait )( 
  543.             IAgentCharacter __RPC_FAR * This,
  544.             /* [in] */ long dwReqID,
  545.             /* [out] */ long __RPC_FAR *pdwReqID);
  546.         
  547.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Interrupt )( 
  548.             IAgentCharacter __RPC_FAR * This,
  549.             /* [in] */ long dwReqID,
  550.             /* [out] */ long __RPC_FAR *pdwReqID);
  551.         
  552.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Show )( 
  553.             IAgentCharacter __RPC_FAR * This,
  554.             /* [in] */ long bFast,
  555.             /* [out] */ long __RPC_FAR *pdwReqID);
  556.         
  557.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Hide )( 
  558.             IAgentCharacter __RPC_FAR * This,
  559.             /* [in] */ long bFast,
  560.             /* [out] */ long __RPC_FAR *pdwReqID);
  561.         
  562.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Speak )( 
  563.             IAgentCharacter __RPC_FAR * This,
  564.             /* [in] */ BSTR bszText,
  565.             /* [in] */ BSTR bszUrl,
  566.             /* [out] */ long __RPC_FAR *pdwReqID);
  567.         
  568.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveTo )( 
  569.             IAgentCharacter __RPC_FAR * This,
  570.             /* [in] */ short x,
  571.             /* [in] */ short y,
  572.             /* [in] */ long lSpeed,
  573.             /* [out] */ long __RPC_FAR *pdwReqID);
  574.         
  575.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GestureAt )( 
  576.             IAgentCharacter __RPC_FAR * This,
  577.             /* [in] */ short x,
  578.             /* [in] */ short y,
  579.             /* [out] */ long __RPC_FAR *pdwReqID);
  580.         
  581.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMoveCause )( 
  582.             IAgentCharacter __RPC_FAR * This,
  583.             /* [out] */ long __RPC_FAR *pdwCause);
  584.         
  585.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisibilityCause )( 
  586.             IAgentCharacter __RPC_FAR * This,
  587.             /* [out] */ long __RPC_FAR *pdwCause);
  588.         
  589.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HasOtherClients )( 
  590.             IAgentCharacter __RPC_FAR * This,
  591.             /* [out] */ long __RPC_FAR *plNumOtherClients);
  592.         
  593.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSoundEffectsOn )( 
  594.             IAgentCharacter __RPC_FAR * This,
  595.             /* [in] */ long bOn);
  596.         
  597.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSoundEffectsOn )( 
  598.             IAgentCharacter __RPC_FAR * This,
  599.             /* [out] */ long __RPC_FAR *pbOn);
  600.         
  601.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetName )( 
  602.             IAgentCharacter __RPC_FAR * This,
  603.             /* [in] */ BSTR bszName);
  604.         
  605.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetDescription )( 
  606.             IAgentCharacter __RPC_FAR * This,
  607.             /* [in] */ BSTR bszDescription);
  608.         
  609.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetExtraData )( 
  610.             IAgentCharacter __RPC_FAR * This,
  611.             /* [out] */ BSTR __RPC_FAR *pbszExtraData);
  612.         
  613.         END_INTERFACE
  614.     } IAgentCharacterVtbl;
  615.     interface IAgentCharacter
  616.     {
  617.         CONST_VTBL struct IAgentCharacterVtbl __RPC_FAR *lpVtbl;
  618.     };
  619.     
  620. #ifdef COBJMACROS
  621. #define IAgentCharacter_QueryInterface(This,riid,ppvObject)
  622.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  623. #define IAgentCharacter_AddRef(This)
  624.     (This)->lpVtbl -> AddRef(This)
  625. #define IAgentCharacter_Release(This)
  626.     (This)->lpVtbl -> Release(This)
  627. #define IAgentCharacter_GetTypeInfoCount(This,pctinfo)
  628.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  629. #define IAgentCharacter_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  630.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  631. #define IAgentCharacter_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  632.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  633. #define IAgentCharacter_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  634.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  635. #define IAgentCharacter_GetVisible(This,pbVisible)
  636.     (This)->lpVtbl -> GetVisible(This,pbVisible)
  637. #define IAgentCharacter_SetPosition(This,lLeft,lTop)
  638.     (This)->lpVtbl -> SetPosition(This,lLeft,lTop)
  639. #define IAgentCharacter_GetPosition(This,plLeft,plTop)
  640.     (This)->lpVtbl -> GetPosition(This,plLeft,plTop)
  641. #define IAgentCharacter_SetSize(This,lWidth,lHeight)
  642.     (This)->lpVtbl -> SetSize(This,lWidth,lHeight)
  643. #define IAgentCharacter_GetSize(This,plWidth,plHeight)
  644.     (This)->lpVtbl -> GetSize(This,plWidth,plHeight)
  645. #define IAgentCharacter_GetName(This,pbszName)
  646.     (This)->lpVtbl -> GetName(This,pbszName)
  647. #define IAgentCharacter_GetDescription(This,pbszDescription)
  648.     (This)->lpVtbl -> GetDescription(This,pbszDescription)
  649. #define IAgentCharacter_GetTTSSpeed(This,pdwSpeed)
  650.     (This)->lpVtbl -> GetTTSSpeed(This,pdwSpeed)
  651. #define IAgentCharacter_GetTTSPitch(This,pwPitch)
  652.     (This)->lpVtbl -> GetTTSPitch(This,pwPitch)
  653. #define IAgentCharacter_Activate(This,sState)
  654.     (This)->lpVtbl -> Activate(This,sState)
  655. #define IAgentCharacter_SetIdleOn(This,bOn)
  656.     (This)->lpVtbl -> SetIdleOn(This,bOn)
  657. #define IAgentCharacter_GetIdleOn(This,pbOn)
  658.     (This)->lpVtbl -> GetIdleOn(This,pbOn)
  659. #define IAgentCharacter_Prepare(This,dwType,bszName,bQueue,pdwReqID)
  660.     (This)->lpVtbl -> Prepare(This,dwType,bszName,bQueue,pdwReqID)
  661. #define IAgentCharacter_Play(This,bszAnimation,pdwReqID)
  662.     (This)->lpVtbl -> Play(This,bszAnimation,pdwReqID)
  663. #define IAgentCharacter_Stop(This,dwReqID)
  664.     (This)->lpVtbl -> Stop(This,dwReqID)
  665. #define IAgentCharacter_StopAll(This,lTypes)
  666.     (This)->lpVtbl -> StopAll(This,lTypes)
  667. #define IAgentCharacter_Wait(This,dwReqID,pdwReqID)
  668.     (This)->lpVtbl -> Wait(This,dwReqID,pdwReqID)
  669. #define IAgentCharacter_Interrupt(This,dwReqID,pdwReqID)
  670.     (This)->lpVtbl -> Interrupt(This,dwReqID,pdwReqID)
  671. #define IAgentCharacter_Show(This,bFast,pdwReqID)
  672.     (This)->lpVtbl -> Show(This,bFast,pdwReqID)
  673. #define IAgentCharacter_Hide(This,bFast,pdwReqID)
  674.     (This)->lpVtbl -> Hide(This,bFast,pdwReqID)
  675. #define IAgentCharacter_Speak(This,bszText,bszUrl,pdwReqID)
  676.     (This)->lpVtbl -> Speak(This,bszText,bszUrl,pdwReqID)
  677. #define IAgentCharacter_MoveTo(This,x,y,lSpeed,pdwReqID)
  678.     (This)->lpVtbl -> MoveTo(This,x,y,lSpeed,pdwReqID)
  679. #define IAgentCharacter_GestureAt(This,x,y,pdwReqID)
  680.     (This)->lpVtbl -> GestureAt(This,x,y,pdwReqID)
  681. #define IAgentCharacter_GetMoveCause(This,pdwCause)
  682.     (This)->lpVtbl -> GetMoveCause(This,pdwCause)
  683. #define IAgentCharacter_GetVisibilityCause(This,pdwCause)
  684.     (This)->lpVtbl -> GetVisibilityCause(This,pdwCause)
  685. #define IAgentCharacter_HasOtherClients(This,plNumOtherClients)
  686.     (This)->lpVtbl -> HasOtherClients(This,plNumOtherClients)
  687. #define IAgentCharacter_SetSoundEffectsOn(This,bOn)
  688.     (This)->lpVtbl -> SetSoundEffectsOn(This,bOn)
  689. #define IAgentCharacter_GetSoundEffectsOn(This,pbOn)
  690.     (This)->lpVtbl -> GetSoundEffectsOn(This,pbOn)
  691. #define IAgentCharacter_SetName(This,bszName)
  692.     (This)->lpVtbl -> SetName(This,bszName)
  693. #define IAgentCharacter_SetDescription(This,bszDescription)
  694.     (This)->lpVtbl -> SetDescription(This,bszDescription)
  695. #define IAgentCharacter_GetExtraData(This,pbszExtraData)
  696.     (This)->lpVtbl -> GetExtraData(This,pbszExtraData)
  697. #endif /* COBJMACROS */
  698. #endif  /* C style interface */
  699. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetVisible_Proxy( 
  700.     IAgentCharacter __RPC_FAR * This,
  701.     /* [out] */ long __RPC_FAR *pbVisible);
  702. void __RPC_STUB IAgentCharacter_GetVisible_Stub(
  703.     IRpcStubBuffer *This,
  704.     IRpcChannelBuffer *_pRpcChannelBuffer,
  705.     PRPC_MESSAGE _pRpcMessage,
  706.     DWORD *_pdwStubPhase);
  707. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetPosition_Proxy( 
  708.     IAgentCharacter __RPC_FAR * This,
  709.     /* [in] */ long lLeft,
  710.     /* [in] */ long lTop);
  711. void __RPC_STUB IAgentCharacter_SetPosition_Stub(
  712.     IRpcStubBuffer *This,
  713.     IRpcChannelBuffer *_pRpcChannelBuffer,
  714.     PRPC_MESSAGE _pRpcMessage,
  715.     DWORD *_pdwStubPhase);
  716. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetPosition_Proxy( 
  717.     IAgentCharacter __RPC_FAR * This,
  718.     /* [out] */ long __RPC_FAR *plLeft,
  719.     /* [out] */ long __RPC_FAR *plTop);
  720. void __RPC_STUB IAgentCharacter_GetPosition_Stub(
  721.     IRpcStubBuffer *This,
  722.     IRpcChannelBuffer *_pRpcChannelBuffer,
  723.     PRPC_MESSAGE _pRpcMessage,
  724.     DWORD *_pdwStubPhase);
  725. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetSize_Proxy( 
  726.     IAgentCharacter __RPC_FAR * This,
  727.     /* [in] */ long lWidth,
  728.     /* [in] */ long lHeight);
  729. void __RPC_STUB IAgentCharacter_SetSize_Stub(
  730.     IRpcStubBuffer *This,
  731.     IRpcChannelBuffer *_pRpcChannelBuffer,
  732.     PRPC_MESSAGE _pRpcMessage,
  733.     DWORD *_pdwStubPhase);
  734. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetSize_Proxy( 
  735.     IAgentCharacter __RPC_FAR * This,
  736.     /* [out] */ long __RPC_FAR *plWidth,
  737.     /* [out] */ long __RPC_FAR *plHeight);
  738. void __RPC_STUB IAgentCharacter_GetSize_Stub(
  739.     IRpcStubBuffer *This,
  740.     IRpcChannelBuffer *_pRpcChannelBuffer,
  741.     PRPC_MESSAGE _pRpcMessage,
  742.     DWORD *_pdwStubPhase);
  743. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetName_Proxy( 
  744.     IAgentCharacter __RPC_FAR * This,
  745.     /* [out] */ BSTR __RPC_FAR *pbszName);
  746. void __RPC_STUB IAgentCharacter_GetName_Stub(
  747.     IRpcStubBuffer *This,
  748.     IRpcChannelBuffer *_pRpcChannelBuffer,
  749.     PRPC_MESSAGE _pRpcMessage,
  750.     DWORD *_pdwStubPhase);
  751. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetDescription_Proxy( 
  752.     IAgentCharacter __RPC_FAR * This,
  753.     /* [out] */ BSTR __RPC_FAR *pbszDescription);
  754. void __RPC_STUB IAgentCharacter_GetDescription_Stub(
  755.     IRpcStubBuffer *This,
  756.     IRpcChannelBuffer *_pRpcChannelBuffer,
  757.     PRPC_MESSAGE _pRpcMessage,
  758.     DWORD *_pdwStubPhase);
  759. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetTTSSpeed_Proxy( 
  760.     IAgentCharacter __RPC_FAR * This,
  761.     /* [out] */ long __RPC_FAR *pdwSpeed);
  762. void __RPC_STUB IAgentCharacter_GetTTSSpeed_Stub(
  763.     IRpcStubBuffer *This,
  764.     IRpcChannelBuffer *_pRpcChannelBuffer,
  765.     PRPC_MESSAGE _pRpcMessage,
  766.     DWORD *_pdwStubPhase);
  767. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetTTSPitch_Proxy( 
  768.     IAgentCharacter __RPC_FAR * This,
  769.     /* [out] */ short __RPC_FAR *pwPitch);
  770. void __RPC_STUB IAgentCharacter_GetTTSPitch_Stub(
  771.     IRpcStubBuffer *This,
  772.     IRpcChannelBuffer *_pRpcChannelBuffer,
  773.     PRPC_MESSAGE _pRpcMessage,
  774.     DWORD *_pdwStubPhase);
  775. HRESULT STDMETHODCALLTYPE IAgentCharacter_Activate_Proxy( 
  776.     IAgentCharacter __RPC_FAR * This,
  777.     /* [in] */ short sState);
  778. void __RPC_STUB IAgentCharacter_Activate_Stub(
  779.     IRpcStubBuffer *This,
  780.     IRpcChannelBuffer *_pRpcChannelBuffer,
  781.     PRPC_MESSAGE _pRpcMessage,
  782.     DWORD *_pdwStubPhase);
  783. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetIdleOn_Proxy( 
  784.     IAgentCharacter __RPC_FAR * This,
  785.     /* [in] */ long bOn);
  786. void __RPC_STUB IAgentCharacter_SetIdleOn_Stub(
  787.     IRpcStubBuffer *This,
  788.     IRpcChannelBuffer *_pRpcChannelBuffer,
  789.     PRPC_MESSAGE _pRpcMessage,
  790.     DWORD *_pdwStubPhase);
  791. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetIdleOn_Proxy( 
  792.     IAgentCharacter __RPC_FAR * This,
  793.     /* [out] */ long __RPC_FAR *pbOn);
  794. void __RPC_STUB IAgentCharacter_GetIdleOn_Stub(
  795.     IRpcStubBuffer *This,
  796.     IRpcChannelBuffer *_pRpcChannelBuffer,
  797.     PRPC_MESSAGE _pRpcMessage,
  798.     DWORD *_pdwStubPhase);
  799. HRESULT STDMETHODCALLTYPE IAgentCharacter_Prepare_Proxy( 
  800.     IAgentCharacter __RPC_FAR * This,
  801.     /* [in] */ long dwType,
  802.     /* [in] */ BSTR bszName,
  803.     /* [in] */ long bQueue,
  804.     /* [out] */ long __RPC_FAR *pdwReqID);
  805. void __RPC_STUB IAgentCharacter_Prepare_Stub(
  806.     IRpcStubBuffer *This,
  807.     IRpcChannelBuffer *_pRpcChannelBuffer,
  808.     PRPC_MESSAGE _pRpcMessage,
  809.     DWORD *_pdwStubPhase);
  810. HRESULT STDMETHODCALLTYPE IAgentCharacter_Play_Proxy( 
  811.     IAgentCharacter __RPC_FAR * This,
  812.     /* [in] */ BSTR bszAnimation,
  813.     /* [out] */ long __RPC_FAR *pdwReqID);
  814. void __RPC_STUB IAgentCharacter_Play_Stub(
  815.     IRpcStubBuffer *This,
  816.     IRpcChannelBuffer *_pRpcChannelBuffer,
  817.     PRPC_MESSAGE _pRpcMessage,
  818.     DWORD *_pdwStubPhase);
  819. HRESULT STDMETHODCALLTYPE IAgentCharacter_Stop_Proxy( 
  820.     IAgentCharacter __RPC_FAR * This,
  821.     /* [in] */ long dwReqID);
  822. void __RPC_STUB IAgentCharacter_Stop_Stub(
  823.     IRpcStubBuffer *This,
  824.     IRpcChannelBuffer *_pRpcChannelBuffer,
  825.     PRPC_MESSAGE _pRpcMessage,
  826.     DWORD *_pdwStubPhase);
  827. HRESULT STDMETHODCALLTYPE IAgentCharacter_StopAll_Proxy( 
  828.     IAgentCharacter __RPC_FAR * This,
  829.     /* [in] */ long lTypes);
  830. void __RPC_STUB IAgentCharacter_StopAll_Stub(
  831.     IRpcStubBuffer *This,
  832.     IRpcChannelBuffer *_pRpcChannelBuffer,
  833.     PRPC_MESSAGE _pRpcMessage,
  834.     DWORD *_pdwStubPhase);
  835. HRESULT STDMETHODCALLTYPE IAgentCharacter_Wait_Proxy( 
  836.     IAgentCharacter __RPC_FAR * This,
  837.     /* [in] */ long dwReqID,
  838.     /* [out] */ long __RPC_FAR *pdwReqID);
  839. void __RPC_STUB IAgentCharacter_Wait_Stub(
  840.     IRpcStubBuffer *This,
  841.     IRpcChannelBuffer *_pRpcChannelBuffer,
  842.     PRPC_MESSAGE _pRpcMessage,
  843.     DWORD *_pdwStubPhase);
  844. HRESULT STDMETHODCALLTYPE IAgentCharacter_Interrupt_Proxy( 
  845.     IAgentCharacter __RPC_FAR * This,
  846.     /* [in] */ long dwReqID,
  847.     /* [out] */ long __RPC_FAR *pdwReqID);
  848. void __RPC_STUB IAgentCharacter_Interrupt_Stub(
  849.     IRpcStubBuffer *This,
  850.     IRpcChannelBuffer *_pRpcChannelBuffer,
  851.     PRPC_MESSAGE _pRpcMessage,
  852.     DWORD *_pdwStubPhase);
  853. HRESULT STDMETHODCALLTYPE IAgentCharacter_Show_Proxy( 
  854.     IAgentCharacter __RPC_FAR * This,
  855.     /* [in] */ long bFast,
  856.     /* [out] */ long __RPC_FAR *pdwReqID);
  857. void __RPC_STUB IAgentCharacter_Show_Stub(
  858.     IRpcStubBuffer *This,
  859.     IRpcChannelBuffer *_pRpcChannelBuffer,
  860.     PRPC_MESSAGE _pRpcMessage,
  861.     DWORD *_pdwStubPhase);
  862. HRESULT STDMETHODCALLTYPE IAgentCharacter_Hide_Proxy( 
  863.     IAgentCharacter __RPC_FAR * This,
  864.     /* [in] */ long bFast,
  865.     /* [out] */ long __RPC_FAR *pdwReqID);
  866. void __RPC_STUB IAgentCharacter_Hide_Stub(
  867.     IRpcStubBuffer *This,
  868.     IRpcChannelBuffer *_pRpcChannelBuffer,
  869.     PRPC_MESSAGE _pRpcMessage,
  870.     DWORD *_pdwStubPhase);
  871. HRESULT STDMETHODCALLTYPE IAgentCharacter_Speak_Proxy( 
  872.     IAgentCharacter __RPC_FAR * This,
  873.     /* [in] */ BSTR bszText,
  874.     /* [in] */ BSTR bszUrl,
  875.     /* [out] */ long __RPC_FAR *pdwReqID);
  876. void __RPC_STUB IAgentCharacter_Speak_Stub(
  877.     IRpcStubBuffer *This,
  878.     IRpcChannelBuffer *_pRpcChannelBuffer,
  879.     PRPC_MESSAGE _pRpcMessage,
  880.     DWORD *_pdwStubPhase);
  881. HRESULT STDMETHODCALLTYPE IAgentCharacter_MoveTo_Proxy( 
  882.     IAgentCharacter __RPC_FAR * This,
  883.     /* [in] */ short x,
  884.     /* [in] */ short y,
  885.     /* [in] */ long lSpeed,
  886.     /* [out] */ long __RPC_FAR *pdwReqID);
  887. void __RPC_STUB IAgentCharacter_MoveTo_Stub(
  888.     IRpcStubBuffer *This,
  889.     IRpcChannelBuffer *_pRpcChannelBuffer,
  890.     PRPC_MESSAGE _pRpcMessage,
  891.     DWORD *_pdwStubPhase);
  892. HRESULT STDMETHODCALLTYPE IAgentCharacter_GestureAt_Proxy( 
  893.     IAgentCharacter __RPC_FAR * This,
  894.     /* [in] */ short x,
  895.     /* [in] */ short y,
  896.     /* [out] */ long __RPC_FAR *pdwReqID);
  897. void __RPC_STUB IAgentCharacter_GestureAt_Stub(
  898.     IRpcStubBuffer *This,
  899.     IRpcChannelBuffer *_pRpcChannelBuffer,
  900.     PRPC_MESSAGE _pRpcMessage,
  901.     DWORD *_pdwStubPhase);
  902. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetMoveCause_Proxy( 
  903.     IAgentCharacter __RPC_FAR * This,
  904.     /* [out] */ long __RPC_FAR *pdwCause);
  905. void __RPC_STUB IAgentCharacter_GetMoveCause_Stub(
  906.     IRpcStubBuffer *This,
  907.     IRpcChannelBuffer *_pRpcChannelBuffer,
  908.     PRPC_MESSAGE _pRpcMessage,
  909.     DWORD *_pdwStubPhase);
  910. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetVisibilityCause_Proxy( 
  911.     IAgentCharacter __RPC_FAR * This,
  912.     /* [out] */ long __RPC_FAR *pdwCause);
  913. void __RPC_STUB IAgentCharacter_GetVisibilityCause_Stub(
  914.     IRpcStubBuffer *This,
  915.     IRpcChannelBuffer *_pRpcChannelBuffer,
  916.     PRPC_MESSAGE _pRpcMessage,
  917.     DWORD *_pdwStubPhase);
  918. HRESULT STDMETHODCALLTYPE IAgentCharacter_HasOtherClients_Proxy( 
  919.     IAgentCharacter __RPC_FAR * This,
  920.     /* [out] */ long __RPC_FAR *plNumOtherClients);
  921. void __RPC_STUB IAgentCharacter_HasOtherClients_Stub(
  922.     IRpcStubBuffer *This,
  923.     IRpcChannelBuffer *_pRpcChannelBuffer,
  924.     PRPC_MESSAGE _pRpcMessage,
  925.     DWORD *_pdwStubPhase);
  926. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetSoundEffectsOn_Proxy( 
  927.     IAgentCharacter __RPC_FAR * This,
  928.     /* [in] */ long bOn);
  929. void __RPC_STUB IAgentCharacter_SetSoundEffectsOn_Stub(
  930.     IRpcStubBuffer *This,
  931.     IRpcChannelBuffer *_pRpcChannelBuffer,
  932.     PRPC_MESSAGE _pRpcMessage,
  933.     DWORD *_pdwStubPhase);
  934. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetSoundEffectsOn_Proxy( 
  935.     IAgentCharacter __RPC_FAR * This,
  936.     /* [out] */ long __RPC_FAR *pbOn);
  937. void __RPC_STUB IAgentCharacter_GetSoundEffectsOn_Stub(
  938.     IRpcStubBuffer *This,
  939.     IRpcChannelBuffer *_pRpcChannelBuffer,
  940.     PRPC_MESSAGE _pRpcMessage,
  941.     DWORD *_pdwStubPhase);
  942. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetName_Proxy( 
  943.     IAgentCharacter __RPC_FAR * This,
  944.     /* [in] */ BSTR bszName);
  945. void __RPC_STUB IAgentCharacter_SetName_Stub(
  946.     IRpcStubBuffer *This,
  947.     IRpcChannelBuffer *_pRpcChannelBuffer,
  948.     PRPC_MESSAGE _pRpcMessage,
  949.     DWORD *_pdwStubPhase);
  950. HRESULT STDMETHODCALLTYPE IAgentCharacter_SetDescription_Proxy( 
  951.     IAgentCharacter __RPC_FAR * This,
  952.     /* [in] */ BSTR bszDescription);
  953. void __RPC_STUB IAgentCharacter_SetDescription_Stub(
  954.     IRpcStubBuffer *This,
  955.     IRpcChannelBuffer *_pRpcChannelBuffer,
  956.     PRPC_MESSAGE _pRpcMessage,
  957.     DWORD *_pdwStubPhase);
  958. HRESULT STDMETHODCALLTYPE IAgentCharacter_GetExtraData_Proxy( 
  959.     IAgentCharacter __RPC_FAR * This,
  960.     /* [out] */ BSTR __RPC_FAR *pbszExtraData);
  961. void __RPC_STUB IAgentCharacter_GetExtraData_Stub(
  962.     IRpcStubBuffer *This,
  963.     IRpcChannelBuffer *_pRpcChannelBuffer,
  964.     PRPC_MESSAGE _pRpcMessage,
  965.     DWORD *_pdwStubPhase);
  966. #endif  /* __IAgentCharacter_INTERFACE_DEFINED__ */
  967. #ifndef __IAgentCharacterEx_INTERFACE_DEFINED__
  968. #define __IAgentCharacterEx_INTERFACE_DEFINED__
  969. /****************************************
  970.  * Generated header for interface: IAgentCharacterEx
  971.  * at Mon Aug 31 17:00:38 1998
  972.  * using MIDL 3.01.75
  973.  ****************************************/
  974. /* [unique][helpstring][dual][uuid][object] */ 
  975. EXTERN_C const IID IID_IAgentCharacterEx;
  976. #if defined(__cplusplus) && !defined(CINTERFACE)
  977.     
  978.     interface DECLSPEC_UUID("98BBE491-2EED-11d1-ACAC-00C04FD97575")
  979.     IAgentCharacterEx : public IAgentCharacter
  980.     {
  981.     public:
  982.         virtual HRESULT STDMETHODCALLTYPE ShowPopupMenu( 
  983.             /* [in] */ short x,
  984.             /* [in] */ short y) = 0;
  985.         
  986.         virtual HRESULT STDMETHODCALLTYPE SetAutoPopupMenu( 
  987.             /* [in] */ long bAutoPopupMenu) = 0;
  988.         
  989.         virtual HRESULT STDMETHODCALLTYPE GetAutoPopupMenu( 
  990.             /* [out] */ long __RPC_FAR *pbAutoPopupMenu) = 0;
  991.         
  992.         virtual HRESULT STDMETHODCALLTYPE GetHelpFileName( 
  993.             /* [out] */ BSTR __RPC_FAR *pbszName) = 0;
  994.         
  995.         virtual HRESULT STDMETHODCALLTYPE SetHelpFileName( 
  996.             /* [in] */ BSTR bszName) = 0;
  997.         
  998.         virtual HRESULT STDMETHODCALLTYPE SetHelpModeOn( 
  999.             /* [in] */ long bHelpModeOn) = 0;
  1000.         
  1001.         virtual HRESULT STDMETHODCALLTYPE GetHelpModeOn( 
  1002.             /* [out] */ long __RPC_FAR *pbHelpModeOn) = 0;
  1003.         
  1004.         virtual HRESULT STDMETHODCALLTYPE SetHelpContextID( 
  1005.             /* [in] */ long ulID) = 0;
  1006.         
  1007.         virtual HRESULT STDMETHODCALLTYPE GetHelpContextID( 
  1008.             /* [out] */ long __RPC_FAR *pulID) = 0;
  1009.         
  1010.         virtual HRESULT STDMETHODCALLTYPE GetActive( 
  1011.             /* [out] */ short __RPC_FAR *psState) = 0;
  1012.         
  1013.         virtual HRESULT STDMETHODCALLTYPE Listen( 
  1014.             /* [in] */ long bListen) = 0;
  1015.         
  1016.         virtual HRESULT STDMETHODCALLTYPE SetLanguageID( 
  1017.             /* [in] */ long langid) = 0;
  1018.         
  1019.         virtual HRESULT STDMETHODCALLTYPE GetLanguageID( 
  1020.             /* [out] */ long __RPC_FAR *plangid) = 0;
  1021.         
  1022.         virtual HRESULT STDMETHODCALLTYPE GetTTSModeID( 
  1023.             /* [out] */ BSTR __RPC_FAR *pbszModeID) = 0;
  1024.         
  1025.         virtual HRESULT STDMETHODCALLTYPE SetTTSModeID( 
  1026.             /* [in] */ BSTR bszModeID) = 0;
  1027.         
  1028.         virtual HRESULT STDMETHODCALLTYPE GetSRModeID( 
  1029.             /* [out] */ BSTR __RPC_FAR *pbszModeID) = 0;
  1030.         
  1031.         virtual HRESULT STDMETHODCALLTYPE SetSRModeID( 
  1032.             /* [in] */ BSTR bszModeID) = 0;
  1033.         
  1034.         virtual HRESULT STDMETHODCALLTYPE GetGUID( 
  1035.             /* [out] */ BSTR __RPC_FAR *pbszID) = 0;
  1036.         
  1037.         virtual HRESULT STDMETHODCALLTYPE GetOriginalSize( 
  1038.             /* [out] */ long __RPC_FAR *plWidth,
  1039.             /* [out] */ long __RPC_FAR *plHeight) = 0;
  1040.         
  1041.         virtual HRESULT STDMETHODCALLTYPE Think( 
  1042.             /* [in] */ BSTR bszText,
  1043.             /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  1044.         
  1045.         virtual HRESULT STDMETHODCALLTYPE GetVersion( 
  1046.             /* [out] */ short __RPC_FAR *psMajor,
  1047.             /* [out] */ short __RPC_FAR *psMinor) = 0;
  1048.         
  1049.         virtual HRESULT STDMETHODCALLTYPE GetAnimationNames( 
  1050.             /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *punkEnum) = 0;
  1051.         
  1052.         virtual HRESULT STDMETHODCALLTYPE GetSRStatus( 
  1053.             /* [out] */ long __RPC_FAR *plStatus) = 0;
  1054.         
  1055.     };
  1056.     
  1057. #else  /* C style interface */
  1058.     typedef struct IAgentCharacterExVtbl
  1059.     {
  1060.         BEGIN_INTERFACE
  1061.         
  1062.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1063.             IAgentCharacterEx __RPC_FAR * This,
  1064.             /* [in] */ REFIID riid,
  1065.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1066.         
  1067.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1068.             IAgentCharacterEx __RPC_FAR * This);
  1069.         
  1070.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1071.             IAgentCharacterEx __RPC_FAR * This);
  1072.         
  1073.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  1074.             IAgentCharacterEx __RPC_FAR * This,
  1075.             /* [out] */ UINT __RPC_FAR *pctinfo);
  1076.         
  1077.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  1078.             IAgentCharacterEx __RPC_FAR * This,
  1079.             /* [in] */ UINT iTInfo,
  1080.             /* [in] */ LCID lcid,
  1081.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1082.         
  1083.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  1084.             IAgentCharacterEx __RPC_FAR * This,
  1085.             /* [in] */ REFIID riid,
  1086.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1087.             /* [in] */ UINT cNames,
  1088.             /* [in] */ LCID lcid,
  1089.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1090.         
  1091.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  1092.             IAgentCharacterEx __RPC_FAR * This,
  1093.             /* [in] */ DISPID dispIdMember,
  1094.             /* [in] */ REFIID riid,
  1095.             /* [in] */ LCID lcid,
  1096.             /* [in] */ WORD wFlags,
  1097.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1098.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1099.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1100.             /* [out] */ UINT __RPC_FAR *puArgErr);
  1101.         
  1102.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisible )( 
  1103.             IAgentCharacterEx __RPC_FAR * This,
  1104.             /* [out] */ long __RPC_FAR *pbVisible);
  1105.         
  1106.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPosition )( 
  1107.             IAgentCharacterEx __RPC_FAR * This,
  1108.             /* [in] */ long lLeft,
  1109.             /* [in] */ long lTop);
  1110.         
  1111.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPosition )( 
  1112.             IAgentCharacterEx __RPC_FAR * This,
  1113.             /* [out] */ long __RPC_FAR *plLeft,
  1114.             /* [out] */ long __RPC_FAR *plTop);
  1115.         
  1116.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSize )( 
  1117.             IAgentCharacterEx __RPC_FAR * This,
  1118.             /* [in] */ long lWidth,
  1119.             /* [in] */ long lHeight);
  1120.         
  1121.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSize )( 
  1122.             IAgentCharacterEx __RPC_FAR * This,
  1123.             /* [out] */ long __RPC_FAR *plWidth,
  1124.             /* [out] */ long __RPC_FAR *plHeight);
  1125.         
  1126.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetName )( 
  1127.             IAgentCharacterEx __RPC_FAR * This,
  1128.             /* [out] */ BSTR __RPC_FAR *pbszName);
  1129.         
  1130.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDescription )( 
  1131.             IAgentCharacterEx __RPC_FAR * This,
  1132.             /* [out] */ BSTR __RPC_FAR *pbszDescription);
  1133.         
  1134.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTTSSpeed )( 
  1135.             IAgentCharacterEx __RPC_FAR * This,
  1136.             /* [out] */ long __RPC_FAR *pdwSpeed);
  1137.         
  1138.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTTSPitch )( 
  1139.             IAgentCharacterEx __RPC_FAR * This,
  1140.             /* [out] */ short __RPC_FAR *pwPitch);
  1141.         
  1142.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Activate )( 
  1143.             IAgentCharacterEx __RPC_FAR * This,
  1144.             /* [in] */ short sState);
  1145.         
  1146.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetIdleOn )( 
  1147.             IAgentCharacterEx __RPC_FAR * This,
  1148.             /* [in] */ long bOn);
  1149.         
  1150.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIdleOn )( 
  1151.             IAgentCharacterEx __RPC_FAR * This,
  1152.             /* [out] */ long __RPC_FAR *pbOn);
  1153.         
  1154.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Prepare )( 
  1155.             IAgentCharacterEx __RPC_FAR * This,
  1156.             /* [in] */ long dwType,
  1157.             /* [in] */ BSTR bszName,
  1158.             /* [in] */ long bQueue,
  1159.             /* [out] */ long __RPC_FAR *pdwReqID);
  1160.         
  1161.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Play )( 
  1162.             IAgentCharacterEx __RPC_FAR * This,
  1163.             /* [in] */ BSTR bszAnimation,
  1164.             /* [out] */ long __RPC_FAR *pdwReqID);
  1165.         
  1166.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Stop )( 
  1167.             IAgentCharacterEx __RPC_FAR * This,
  1168.             /* [in] */ long dwReqID);
  1169.         
  1170.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *StopAll )( 
  1171.             IAgentCharacterEx __RPC_FAR * This,
  1172.             /* [in] */ long lTypes);
  1173.         
  1174.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Wait )( 
  1175.             IAgentCharacterEx __RPC_FAR * This,
  1176.             /* [in] */ long dwReqID,
  1177.             /* [out] */ long __RPC_FAR *pdwReqID);
  1178.         
  1179.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Interrupt )( 
  1180.             IAgentCharacterEx __RPC_FAR * This,
  1181.             /* [in] */ long dwReqID,
  1182.             /* [out] */ long __RPC_FAR *pdwReqID);
  1183.         
  1184.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Show )( 
  1185.             IAgentCharacterEx __RPC_FAR * This,
  1186.             /* [in] */ long bFast,
  1187.             /* [out] */ long __RPC_FAR *pdwReqID);
  1188.         
  1189.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Hide )( 
  1190.             IAgentCharacterEx __RPC_FAR * This,
  1191.             /* [in] */ long bFast,
  1192.             /* [out] */ long __RPC_FAR *pdwReqID);
  1193.         
  1194.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Speak )( 
  1195.             IAgentCharacterEx __RPC_FAR * This,
  1196.             /* [in] */ BSTR bszText,
  1197.             /* [in] */ BSTR bszUrl,
  1198.             /* [out] */ long __RPC_FAR *pdwReqID);
  1199.         
  1200.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveTo )( 
  1201.             IAgentCharacterEx __RPC_FAR * This,
  1202.             /* [in] */ short x,
  1203.             /* [in] */ short y,
  1204.             /* [in] */ long lSpeed,
  1205.             /* [out] */ long __RPC_FAR *pdwReqID);
  1206.         
  1207.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GestureAt )( 
  1208.             IAgentCharacterEx __RPC_FAR * This,
  1209.             /* [in] */ short x,
  1210.             /* [in] */ short y,
  1211.             /* [out] */ long __RPC_FAR *pdwReqID);
  1212.         
  1213.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMoveCause )( 
  1214.             IAgentCharacterEx __RPC_FAR * This,
  1215.             /* [out] */ long __RPC_FAR *pdwCause);
  1216.         
  1217.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVisibilityCause )( 
  1218.             IAgentCharacterEx __RPC_FAR * This,
  1219.             /* [out] */ long __RPC_FAR *pdwCause);
  1220.         
  1221.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HasOtherClients )( 
  1222.             IAgentCharacterEx __RPC_FAR * This,
  1223.             /* [out] */ long __RPC_FAR *plNumOtherClients);
  1224.         
  1225.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSoundEffectsOn )( 
  1226.             IAgentCharacterEx __RPC_FAR * This,
  1227.             /* [in] */ long bOn);
  1228.         
  1229.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSoundEffectsOn )( 
  1230.             IAgentCharacterEx __RPC_FAR * This,
  1231.             /* [out] */ long __RPC_FAR *pbOn);
  1232.         
  1233.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetName )( 
  1234.             IAgentCharacterEx __RPC_FAR * This,
  1235.             /* [in] */ BSTR bszName);
  1236.         
  1237.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetDescription )( 
  1238.             IAgentCharacterEx __RPC_FAR * This,
  1239.             /* [in] */ BSTR bszDescription);
  1240.         
  1241.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetExtraData )( 
  1242.             IAgentCharacterEx __RPC_FAR * This,
  1243.             /* [out] */ BSTR __RPC_FAR *pbszExtraData);
  1244.         
  1245.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShowPopupMenu )( 
  1246.             IAgentCharacterEx __RPC_FAR * This,
  1247.             /* [in] */ short x,
  1248.             /* [in] */ short y);
  1249.         
  1250.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetAutoPopupMenu )( 
  1251.             IAgentCharacterEx __RPC_FAR * This,
  1252.             /* [in] */ long bAutoPopupMenu);
  1253.         
  1254.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAutoPopupMenu )( 
  1255.             IAgentCharacterEx __RPC_FAR * This,
  1256.             /* [out] */ long __RPC_FAR *pbAutoPopupMenu);
  1257.         
  1258.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHelpFileName )( 
  1259.             IAgentCharacterEx __RPC_FAR * This,
  1260.             /* [out] */ BSTR __RPC_FAR *pbszName);
  1261.         
  1262.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetHelpFileName )( 
  1263.             IAgentCharacterEx __RPC_FAR * This,
  1264.             /* [in] */ BSTR bszName);
  1265.         
  1266.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetHelpModeOn )( 
  1267.             IAgentCharacterEx __RPC_FAR * This,
  1268.             /* [in] */ long bHelpModeOn);
  1269.         
  1270.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHelpModeOn )( 
  1271.             IAgentCharacterEx __RPC_FAR * This,
  1272.             /* [out] */ long __RPC_FAR *pbHelpModeOn);
  1273.         
  1274.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetHelpContextID )( 
  1275.             IAgentCharacterEx __RPC_FAR * This,
  1276.             /* [in] */ long ulID);
  1277.         
  1278.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHelpContextID )( 
  1279.             IAgentCharacterEx __RPC_FAR * This,
  1280.             /* [out] */ long __RPC_FAR *pulID);
  1281.         
  1282.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetActive )( 
  1283.             IAgentCharacterEx __RPC_FAR * This,
  1284.             /* [out] */ short __RPC_FAR *psState);
  1285.         
  1286.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Listen )( 
  1287.             IAgentCharacterEx __RPC_FAR * This,
  1288.             /* [in] */ long bListen);
  1289.         
  1290.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetLanguageID )( 
  1291.             IAgentCharacterEx __RPC_FAR * This,
  1292.             /* [in] */ long langid);
  1293.         
  1294.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLanguageID )( 
  1295.             IAgentCharacterEx __RPC_FAR * This,
  1296.             /* [out] */ long __RPC_FAR *plangid);
  1297.         
  1298.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTTSModeID )( 
  1299.             IAgentCharacterEx __RPC_FAR * This,
  1300.             /* [out] */ BSTR __RPC_FAR *pbszModeID);
  1301.         
  1302.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetTTSModeID )( 
  1303.             IAgentCharacterEx __RPC_FAR * This,
  1304.             /* [in] */ BSTR bszModeID);
  1305.         
  1306.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSRModeID )( 
  1307.             IAgentCharacterEx __RPC_FAR * This,
  1308.             /* [out] */ BSTR __RPC_FAR *pbszModeID);
  1309.         
  1310.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSRModeID )( 
  1311.             IAgentCharacterEx __RPC_FAR * This,
  1312.             /* [in] */ BSTR bszModeID);
  1313.         
  1314.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetGUID )( 
  1315.             IAgentCharacterEx __RPC_FAR * This,
  1316.             /* [out] */ BSTR __RPC_FAR *pbszID);
  1317.         
  1318.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetOriginalSize )( 
  1319.             IAgentCharacterEx __RPC_FAR * This,
  1320.             /* [out] */ long __RPC_FAR *plWidth,
  1321.             /* [out] */ long __RPC_FAR *plHeight);
  1322.         
  1323.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Think )( 
  1324.             IAgentCharacterEx __RPC_FAR * This,
  1325.             /* [in] */ BSTR bszText,
  1326.             /* [out] */ long __RPC_FAR *pdwReqID);
  1327.         
  1328.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVersion )( 
  1329.             IAgentCharacterEx __RPC_FAR * This,
  1330.             /* [out] */ short __RPC_FAR *psMajor,
  1331.             /* [out] */ short __RPC_FAR *psMinor);
  1332.         
  1333.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAnimationNames )( 
  1334.             IAgentCharacterEx __RPC_FAR * This,
  1335.             /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *punkEnum);
  1336.         
  1337.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSRStatus )( 
  1338.             IAgentCharacterEx __RPC_FAR * This,
  1339.             /* [out] */ long __RPC_FAR *plStatus);
  1340.         
  1341.         END_INTERFACE
  1342.     } IAgentCharacterExVtbl;
  1343.     interface IAgentCharacterEx
  1344.     {
  1345.         CONST_VTBL struct IAgentCharacterExVtbl __RPC_FAR *lpVtbl;
  1346.     };
  1347.     
  1348. #ifdef COBJMACROS
  1349. #define IAgentCharacterEx_QueryInterface(This,riid,ppvObject)
  1350.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1351. #define IAgentCharacterEx_AddRef(This)
  1352.     (This)->lpVtbl -> AddRef(This)
  1353. #define IAgentCharacterEx_Release(This)
  1354.     (This)->lpVtbl -> Release(This)
  1355. #define IAgentCharacterEx_GetTypeInfoCount(This,pctinfo)
  1356.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1357. #define IAgentCharacterEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1358.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1359. #define IAgentCharacterEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1360.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1361. #define IAgentCharacterEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1362.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1363. #define IAgentCharacterEx_GetVisible(This,pbVisible)
  1364.     (This)->lpVtbl -> GetVisible(This,pbVisible)
  1365. #define IAgentCharacterEx_SetPosition(This,lLeft,lTop)
  1366.     (This)->lpVtbl -> SetPosition(This,lLeft,lTop)
  1367. #define IAgentCharacterEx_GetPosition(This,plLeft,plTop)
  1368.     (This)->lpVtbl -> GetPosition(This,plLeft,plTop)
  1369. #define IAgentCharacterEx_SetSize(This,lWidth,lHeight)
  1370.     (This)->lpVtbl -> SetSize(This,lWidth,lHeight)
  1371. #define IAgentCharacterEx_GetSize(This,plWidth,plHeight)
  1372.     (This)->lpVtbl -> GetSize(This,plWidth,plHeight)
  1373. #define IAgentCharacterEx_GetName(This,pbszName)
  1374.     (This)->lpVtbl -> GetName(This,pbszName)
  1375. #define IAgentCharacterEx_GetDescription(This,pbszDescription)
  1376.     (This)->lpVtbl -> GetDescription(This,pbszDescription)
  1377. #define IAgentCharacterEx_GetTTSSpeed(This,pdwSpeed)
  1378.     (This)->lpVtbl -> GetTTSSpeed(This,pdwSpeed)
  1379. #define IAgentCharacterEx_GetTTSPitch(This,pwPitch)
  1380.     (This)->lpVtbl -> GetTTSPitch(This,pwPitch)
  1381. #define IAgentCharacterEx_Activate(This,sState)
  1382.     (This)->lpVtbl -> Activate(This,sState)
  1383. #define IAgentCharacterEx_SetIdleOn(This,bOn)
  1384.     (This)->lpVtbl -> SetIdleOn(This,bOn)
  1385. #define IAgentCharacterEx_GetIdleOn(This,pbOn)
  1386.     (This)->lpVtbl -> GetIdleOn(This,pbOn)
  1387. #define IAgentCharacterEx_Prepare(This,dwType,bszName,bQueue,pdwReqID)
  1388.     (This)->lpVtbl -> Prepare(This,dwType,bszName,bQueue,pdwReqID)
  1389. #define IAgentCharacterEx_Play(This,bszAnimation,pdwReqID)
  1390.     (This)->lpVtbl -> Play(This,bszAnimation,pdwReqID)
  1391. #define IAgentCharacterEx_Stop(This,dwReqID)
  1392.     (This)->lpVtbl -> Stop(This,dwReqID)
  1393. #define IAgentCharacterEx_StopAll(This,lTypes)
  1394.     (This)->lpVtbl -> StopAll(This,lTypes)
  1395. #define IAgentCharacterEx_Wait(This,dwReqID,pdwReqID)
  1396.     (This)->lpVtbl -> Wait(This,dwReqID,pdwReqID)
  1397. #define IAgentCharacterEx_Interrupt(This,dwReqID,pdwReqID)
  1398.     (This)->lpVtbl -> Interrupt(This,dwReqID,pdwReqID)
  1399. #define IAgentCharacterEx_Show(This,bFast,pdwReqID)
  1400.     (This)->lpVtbl -> Show(This,bFast,pdwReqID)
  1401. #define IAgentCharacterEx_Hide(This,bFast,pdwReqID)
  1402.     (This)->lpVtbl -> Hide(This,bFast,pdwReqID)
  1403. #define IAgentCharacterEx_Speak(This,bszText,bszUrl,pdwReqID)
  1404.     (This)->lpVtbl -> Speak(This,bszText,bszUrl,pdwReqID)
  1405. #define IAgentCharacterEx_MoveTo(This,x,y,lSpeed,pdwReqID)
  1406.     (This)->lpVtbl -> MoveTo(This,x,y,lSpeed,pdwReqID)
  1407. #define IAgentCharacterEx_GestureAt(This,x,y,pdwReqID)
  1408.     (This)->lpVtbl -> GestureAt(This,x,y,pdwReqID)
  1409. #define IAgentCharacterEx_GetMoveCause(This,pdwCause)
  1410.     (This)->lpVtbl -> GetMoveCause(This,pdwCause)
  1411. #define IAgentCharacterEx_GetVisibilityCause(This,pdwCause)
  1412.     (This)->lpVtbl -> GetVisibilityCause(This,pdwCause)
  1413. #define IAgentCharacterEx_HasOtherClients(This,plNumOtherClients)
  1414.     (This)->lpVtbl -> HasOtherClients(This,plNumOtherClients)
  1415. #define IAgentCharacterEx_SetSoundEffectsOn(This,bOn)
  1416.     (This)->lpVtbl -> SetSoundEffectsOn(This,bOn)
  1417. #define IAgentCharacterEx_GetSoundEffectsOn(This,pbOn)
  1418.     (This)->lpVtbl -> GetSoundEffectsOn(This,pbOn)
  1419. #define IAgentCharacterEx_SetName(This,bszName)
  1420.     (This)->lpVtbl -> SetName(This,bszName)
  1421. #define IAgentCharacterEx_SetDescription(This,bszDescription)
  1422.     (This)->lpVtbl -> SetDescription(This,bszDescription)
  1423. #define IAgentCharacterEx_GetExtraData(This,pbszExtraData)
  1424.     (This)->lpVtbl -> GetExtraData(This,pbszExtraData)
  1425. #define IAgentCharacterEx_ShowPopupMenu(This,x,y)
  1426.     (This)->lpVtbl -> ShowPopupMenu(This,x,y)
  1427. #define IAgentCharacterEx_SetAutoPopupMenu(This,bAutoPopupMenu)
  1428.     (This)->lpVtbl -> SetAutoPopupMenu(This,bAutoPopupMenu)
  1429. #define IAgentCharacterEx_GetAutoPopupMenu(This,pbAutoPopupMenu)
  1430.     (This)->lpVtbl -> GetAutoPopupMenu(This,pbAutoPopupMenu)
  1431. #define IAgentCharacterEx_GetHelpFileName(This,pbszName)
  1432.     (This)->lpVtbl -> GetHelpFileName(This,pbszName)
  1433. #define IAgentCharacterEx_SetHelpFileName(This,bszName)
  1434.     (This)->lpVtbl -> SetHelpFileName(This,bszName)
  1435. #define IAgentCharacterEx_SetHelpModeOn(This,bHelpModeOn)
  1436.     (This)->lpVtbl -> SetHelpModeOn(This,bHelpModeOn)
  1437. #define IAgentCharacterEx_GetHelpModeOn(This,pbHelpModeOn)
  1438.     (This)->lpVtbl -> GetHelpModeOn(This,pbHelpModeOn)
  1439. #define IAgentCharacterEx_SetHelpContextID(This,ulID)
  1440.     (This)->lpVtbl -> SetHelpContextID(This,ulID)
  1441. #define IAgentCharacterEx_GetHelpContextID(This,pulID)
  1442.     (This)->lpVtbl -> GetHelpContextID(This,pulID)
  1443. #define IAgentCharacterEx_GetActive(This,psState)
  1444.     (This)->lpVtbl -> GetActive(This,psState)
  1445. #define IAgentCharacterEx_Listen(This,bListen)
  1446.     (This)->lpVtbl -> Listen(This,bListen)
  1447. #define IAgentCharacterEx_SetLanguageID(This,langid)
  1448.     (This)->lpVtbl -> SetLanguageID(This,langid)
  1449. #define IAgentCharacterEx_GetLanguageID(This,plangid)
  1450.     (This)->lpVtbl -> GetLanguageID(This,plangid)
  1451. #define IAgentCharacterEx_GetTTSModeID(This,pbszModeID)
  1452.     (This)->lpVtbl -> GetTTSModeID(This,pbszModeID)
  1453. #define IAgentCharacterEx_SetTTSModeID(This,bszModeID)
  1454.     (This)->lpVtbl -> SetTTSModeID(This,bszModeID)
  1455. #define IAgentCharacterEx_GetSRModeID(This,pbszModeID)
  1456.     (This)->lpVtbl -> GetSRModeID(This,pbszModeID)
  1457. #define IAgentCharacterEx_SetSRModeID(This,bszModeID)
  1458.     (This)->lpVtbl -> SetSRModeID(This,bszModeID)
  1459. #define IAgentCharacterEx_GetGUID(This,pbszID)
  1460.     (This)->lpVtbl -> GetGUID(This,pbszID)
  1461. #define IAgentCharacterEx_GetOriginalSize(This,plWidth,plHeight)
  1462.     (This)->lpVtbl -> GetOriginalSize(This,plWidth,plHeight)
  1463. #define IAgentCharacterEx_Think(This,bszText,pdwReqID)
  1464.     (This)->lpVtbl -> Think(This,bszText,pdwReqID)
  1465. #define IAgentCharacterEx_GetVersion(This,psMajor,psMinor)
  1466.     (This)->lpVtbl -> GetVersion(This,psMajor,psMinor)
  1467. #define IAgentCharacterEx_GetAnimationNames(This,punkEnum)
  1468.     (This)->lpVtbl -> GetAnimationNames(This,punkEnum)
  1469. #define IAgentCharacterEx_GetSRStatus(This,plStatus)
  1470.     (This)->lpVtbl -> GetSRStatus(This,plStatus)
  1471. #endif /* COBJMACROS */
  1472. #endif  /* C style interface */
  1473. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_ShowPopupMenu_Proxy( 
  1474.     IAgentCharacterEx __RPC_FAR * This,
  1475.     /* [in] */ short x,
  1476.     /* [in] */ short y);
  1477. void __RPC_STUB IAgentCharacterEx_ShowPopupMenu_Stub(
  1478.     IRpcStubBuffer *This,
  1479.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1480.     PRPC_MESSAGE _pRpcMessage,
  1481.     DWORD *_pdwStubPhase);
  1482. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_SetAutoPopupMenu_Proxy( 
  1483.     IAgentCharacterEx __RPC_FAR * This,
  1484.     /* [in] */ long bAutoPopupMenu);
  1485. void __RPC_STUB IAgentCharacterEx_SetAutoPopupMenu_Stub(
  1486.     IRpcStubBuffer *This,
  1487.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1488.     PRPC_MESSAGE _pRpcMessage,
  1489.     DWORD *_pdwStubPhase);
  1490. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetAutoPopupMenu_Proxy( 
  1491.     IAgentCharacterEx __RPC_FAR * This,
  1492.     /* [out] */ long __RPC_FAR *pbAutoPopupMenu);
  1493. void __RPC_STUB IAgentCharacterEx_GetAutoPopupMenu_Stub(
  1494.     IRpcStubBuffer *This,
  1495.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1496.     PRPC_MESSAGE _pRpcMessage,
  1497.     DWORD *_pdwStubPhase);
  1498. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetHelpFileName_Proxy( 
  1499.     IAgentCharacterEx __RPC_FAR * This,
  1500.     /* [out] */ BSTR __RPC_FAR *pbszName);
  1501. void __RPC_STUB IAgentCharacterEx_GetHelpFileName_Stub(
  1502.     IRpcStubBuffer *This,
  1503.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1504.     PRPC_MESSAGE _pRpcMessage,
  1505.     DWORD *_pdwStubPhase);
  1506. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_SetHelpFileName_Proxy( 
  1507.     IAgentCharacterEx __RPC_FAR * This,
  1508.     /* [in] */ BSTR bszName);
  1509. void __RPC_STUB IAgentCharacterEx_SetHelpFileName_Stub(
  1510.     IRpcStubBuffer *This,
  1511.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1512.     PRPC_MESSAGE _pRpcMessage,
  1513.     DWORD *_pdwStubPhase);
  1514. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_SetHelpModeOn_Proxy( 
  1515.     IAgentCharacterEx __RPC_FAR * This,
  1516.     /* [in] */ long bHelpModeOn);
  1517. void __RPC_STUB IAgentCharacterEx_SetHelpModeOn_Stub(
  1518.     IRpcStubBuffer *This,
  1519.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1520.     PRPC_MESSAGE _pRpcMessage,
  1521.     DWORD *_pdwStubPhase);
  1522. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetHelpModeOn_Proxy( 
  1523.     IAgentCharacterEx __RPC_FAR * This,
  1524.     /* [out] */ long __RPC_FAR *pbHelpModeOn);
  1525. void __RPC_STUB IAgentCharacterEx_GetHelpModeOn_Stub(
  1526.     IRpcStubBuffer *This,
  1527.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1528.     PRPC_MESSAGE _pRpcMessage,
  1529.     DWORD *_pdwStubPhase);
  1530. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_SetHelpContextID_Proxy( 
  1531.     IAgentCharacterEx __RPC_FAR * This,
  1532.     /* [in] */ long ulID);
  1533. void __RPC_STUB IAgentCharacterEx_SetHelpContextID_Stub(
  1534.     IRpcStubBuffer *This,
  1535.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1536.     PRPC_MESSAGE _pRpcMessage,
  1537.     DWORD *_pdwStubPhase);
  1538. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetHelpContextID_Proxy( 
  1539.     IAgentCharacterEx __RPC_FAR * This,
  1540.     /* [out] */ long __RPC_FAR *pulID);
  1541. void __RPC_STUB IAgentCharacterEx_GetHelpContextID_Stub(
  1542.     IRpcStubBuffer *This,
  1543.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1544.     PRPC_MESSAGE _pRpcMessage,
  1545.     DWORD *_pdwStubPhase);
  1546. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetActive_Proxy( 
  1547.     IAgentCharacterEx __RPC_FAR * This,
  1548.     /* [out] */ short __RPC_FAR *psState);
  1549. void __RPC_STUB IAgentCharacterEx_GetActive_Stub(
  1550.     IRpcStubBuffer *This,
  1551.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1552.     PRPC_MESSAGE _pRpcMessage,
  1553.     DWORD *_pdwStubPhase);
  1554. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_Listen_Proxy( 
  1555.     IAgentCharacterEx __RPC_FAR * This,
  1556.     /* [in] */ long bListen);
  1557. void __RPC_STUB IAgentCharacterEx_Listen_Stub(
  1558.     IRpcStubBuffer *This,
  1559.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1560.     PRPC_MESSAGE _pRpcMessage,
  1561.     DWORD *_pdwStubPhase);
  1562. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_SetLanguageID_Proxy( 
  1563.     IAgentCharacterEx __RPC_FAR * This,
  1564.     /* [in] */ long langid);
  1565. void __RPC_STUB IAgentCharacterEx_SetLanguageID_Stub(
  1566.     IRpcStubBuffer *This,
  1567.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1568.     PRPC_MESSAGE _pRpcMessage,
  1569.     DWORD *_pdwStubPhase);
  1570. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetLanguageID_Proxy( 
  1571.     IAgentCharacterEx __RPC_FAR * This,
  1572.     /* [out] */ long __RPC_FAR *plangid);
  1573. void __RPC_STUB IAgentCharacterEx_GetLanguageID_Stub(
  1574.     IRpcStubBuffer *This,
  1575.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1576.     PRPC_MESSAGE _pRpcMessage,
  1577.     DWORD *_pdwStubPhase);
  1578. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetTTSModeID_Proxy( 
  1579.     IAgentCharacterEx __RPC_FAR * This,
  1580.     /* [out] */ BSTR __RPC_FAR *pbszModeID);
  1581. void __RPC_STUB IAgentCharacterEx_GetTTSModeID_Stub(
  1582.     IRpcStubBuffer *This,
  1583.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1584.     PRPC_MESSAGE _pRpcMessage,
  1585.     DWORD *_pdwStubPhase);
  1586. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_SetTTSModeID_Proxy( 
  1587.     IAgentCharacterEx __RPC_FAR * This,
  1588.     /* [in] */ BSTR bszModeID);
  1589. void __RPC_STUB IAgentCharacterEx_SetTTSModeID_Stub(
  1590.     IRpcStubBuffer *This,
  1591.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1592.     PRPC_MESSAGE _pRpcMessage,
  1593.     DWORD *_pdwStubPhase);
  1594. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetSRModeID_Proxy( 
  1595.     IAgentCharacterEx __RPC_FAR * This,
  1596.     /* [out] */ BSTR __RPC_FAR *pbszModeID);
  1597. void __RPC_STUB IAgentCharacterEx_GetSRModeID_Stub(
  1598.     IRpcStubBuffer *This,
  1599.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1600.     PRPC_MESSAGE _pRpcMessage,
  1601.     DWORD *_pdwStubPhase);
  1602. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_SetSRModeID_Proxy( 
  1603.     IAgentCharacterEx __RPC_FAR * This,
  1604.     /* [in] */ BSTR bszModeID);
  1605. void __RPC_STUB IAgentCharacterEx_SetSRModeID_Stub(
  1606.     IRpcStubBuffer *This,
  1607.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1608.     PRPC_MESSAGE _pRpcMessage,
  1609.     DWORD *_pdwStubPhase);
  1610. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetGUID_Proxy( 
  1611.     IAgentCharacterEx __RPC_FAR * This,
  1612.     /* [out] */ BSTR __RPC_FAR *pbszID);
  1613. void __RPC_STUB IAgentCharacterEx_GetGUID_Stub(
  1614.     IRpcStubBuffer *This,
  1615.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1616.     PRPC_MESSAGE _pRpcMessage,
  1617.     DWORD *_pdwStubPhase);
  1618. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetOriginalSize_Proxy( 
  1619.     IAgentCharacterEx __RPC_FAR * This,
  1620.     /* [out] */ long __RPC_FAR *plWidth,
  1621.     /* [out] */ long __RPC_FAR *plHeight);
  1622. void __RPC_STUB IAgentCharacterEx_GetOriginalSize_Stub(
  1623.     IRpcStubBuffer *This,
  1624.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1625.     PRPC_MESSAGE _pRpcMessage,
  1626.     DWORD *_pdwStubPhase);
  1627. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_Think_Proxy( 
  1628.     IAgentCharacterEx __RPC_FAR * This,
  1629.     /* [in] */ BSTR bszText,
  1630.     /* [out] */ long __RPC_FAR *pdwReqID);
  1631. void __RPC_STUB IAgentCharacterEx_Think_Stub(
  1632.     IRpcStubBuffer *This,
  1633.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1634.     PRPC_MESSAGE _pRpcMessage,
  1635.     DWORD *_pdwStubPhase);
  1636. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetVersion_Proxy( 
  1637.     IAgentCharacterEx __RPC_FAR * This,
  1638.     /* [out] */ short __RPC_FAR *psMajor,
  1639.     /* [out] */ short __RPC_FAR *psMinor);
  1640. void __RPC_STUB IAgentCharacterEx_GetVersion_Stub(
  1641.     IRpcStubBuffer *This,
  1642.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1643.     PRPC_MESSAGE _pRpcMessage,
  1644.     DWORD *_pdwStubPhase);
  1645. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetAnimationNames_Proxy( 
  1646.     IAgentCharacterEx __RPC_FAR * This,
  1647.     /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *punkEnum);
  1648. void __RPC_STUB IAgentCharacterEx_GetAnimationNames_Stub(
  1649.     IRpcStubBuffer *This,
  1650.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1651.     PRPC_MESSAGE _pRpcMessage,
  1652.     DWORD *_pdwStubPhase);
  1653. HRESULT STDMETHODCALLTYPE IAgentCharacterEx_GetSRStatus_Proxy( 
  1654.     IAgentCharacterEx __RPC_FAR * This,
  1655.     /* [out] */ long __RPC_FAR *plStatus);
  1656. void __RPC_STUB IAgentCharacterEx_GetSRStatus_Stub(
  1657.     IRpcStubBuffer *This,
  1658.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1659.     PRPC_MESSAGE _pRpcMessage,
  1660.     DWORD *_pdwStubPhase);
  1661. #endif  /* __IAgentCharacterEx_INTERFACE_DEFINED__ */
  1662. #ifndef __IAgent_INTERFACE_DEFINED__
  1663. #define __IAgent_INTERFACE_DEFINED__
  1664. /****************************************
  1665.  * Generated header for interface: IAgent
  1666.  * at Mon Aug 31 17:00:38 1998
  1667.  * using MIDL 3.01.75
  1668.  ****************************************/
  1669. /* [unique][helpstring][dual][uuid][object] */ 
  1670. EXTERN_C const IID IID_IAgent;
  1671. #if defined(__cplusplus) && !defined(CINTERFACE)
  1672.     
  1673.     interface DECLSPEC_UUID("A7B93C91-7B81-11D0-AC5F-00C04FD97575")
  1674.     IAgent : public IDispatch
  1675.     {
  1676.     public:
  1677.         virtual HRESULT STDMETHODCALLTYPE Load( 
  1678.             /* [in] */ VARIANT vLoadKey,
  1679.             /* [out] */ long __RPC_FAR *pdwCharID,
  1680.             /* [out] */ long __RPC_FAR *pdwReqID) = 0;
  1681.         
  1682.         virtual HRESULT STDMETHODCALLTYPE Unload( 
  1683.             /* [in] */ long dwCharID) = 0;
  1684.         
  1685.         virtual HRESULT STDMETHODCALLTYPE Register( 
  1686.             /* [in] */ IUnknown __RPC_FAR *punkNotifySink,
  1687.             /* [out] */ long __RPC_FAR *pdwSinkID) = 0;
  1688.         
  1689.         virtual HRESULT STDMETHODCALLTYPE Unregister( 
  1690.             /* [in] */ long dwSinkID) = 0;
  1691.         
  1692.         virtual HRESULT STDMETHODCALLTYPE GetCharacter( 
  1693.             /* [in] */ long dwCharID,
  1694.             /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppunkCharacter) = 0;
  1695.         
  1696.         virtual HRESULT STDMETHODCALLTYPE GetSuspended( 
  1697.             /* [out] */ long __RPC_FAR *pbSuspended) = 0;
  1698.         
  1699.     };
  1700.     
  1701. #else  /* C style interface */
  1702.     typedef struct IAgentVtbl
  1703.     {
  1704.         BEGIN_INTERFACE
  1705.         
  1706.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1707.             IAgent __RPC_FAR * This,
  1708.             /* [in] */ REFIID riid,
  1709.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1710.         
  1711.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1712.             IAgent __RPC_FAR * This);
  1713.         
  1714.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1715.             IAgent __RPC_FAR * This);
  1716.         
  1717.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  1718.             IAgent __RPC_FAR * This,
  1719.             /* [out] */ UINT __RPC_FAR *pctinfo);
  1720.         
  1721.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  1722.             IAgent __RPC_FAR * This,
  1723.             /* [in] */ UINT iTInfo,
  1724.             /* [in] */ LCID lcid,
  1725.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1726.         
  1727.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  1728.             IAgent __RPC_FAR * This,
  1729.             /* [in] */ REFIID riid,
  1730.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1731.             /* [in] */ UINT cNames,
  1732.             /* [in] */ LCID lcid,
  1733.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1734.         
  1735.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  1736.             IAgent __RPC_FAR * This,
  1737.             /* [in] */ DISPID dispIdMember,
  1738.             /* [in] */ REFIID riid,
  1739.             /* [in] */ LCID lcid,
  1740.             /* [in] */ WORD wFlags,
  1741.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1742.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1743.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1744.             /* [out] */ UINT __RPC_FAR *puArgErr);
  1745.         
  1746.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Load )( 
  1747.             IAgent __RPC_FAR * This,
  1748.             /* [in] */ VARIANT vLoadKey,
  1749.             /* [out] */ long __RPC_FAR *pdwCharID,
  1750.             /* [out] */ long __RPC_FAR *pdwReqID);
  1751.         
  1752.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unload )( 
  1753.             IAgent __RPC_FAR * This,
  1754.             /* [in] */ long dwCharID);
  1755.         
  1756.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Register )( 
  1757.             IAgent __RPC_FAR * This,
  1758.             /* [in] */ IUnknown __RPC_FAR *punkNotifySink,
  1759.             /* [out] */ long __RPC_FAR *pdwSinkID);
  1760.         
  1761.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unregister )( 
  1762.             IAgent __RPC_FAR * This,
  1763.             /* [in] */ long dwSinkID);
  1764.         
  1765.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCharacter )( 
  1766.             IAgent __RPC_FAR * This,
  1767.             /* [in] */ long dwCharID,
  1768.             /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppunkCharacter);
  1769.         
  1770.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSuspended )( 
  1771.             IAgent __RPC_FAR * This,
  1772.             /* [out] */ long __RPC_FAR *pbSuspended);
  1773.         
  1774.         END_INTERFACE
  1775.     } IAgentVtbl;
  1776.     interface IAgent
  1777.     {
  1778.         CONST_VTBL struct IAgentVtbl __RPC_FAR *lpVtbl;
  1779.     };
  1780.     
  1781. #ifdef COBJMACROS
  1782. #define IAgent_QueryInterface(This,riid,ppvObject)
  1783.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1784. #define IAgent_AddRef(This)
  1785.     (This)->lpVtbl -> AddRef(This)
  1786. #define IAgent_Release(This)
  1787.     (This)->lpVtbl -> Release(This)
  1788. #define IAgent_GetTypeInfoCount(This,pctinfo)
  1789.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1790. #define IAgent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1791.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1792. #define IAgent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1793.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1794. #define IAgent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1795.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1796. #define IAgent_Load(This,vLoadKey,pdwCharID,pdwReqID)
  1797.     (This)->lpVtbl -> Load(This,vLoadKey,pdwCharID,pdwReqID)
  1798. #define IAgent_Unload(This,dwCharID)
  1799.     (This)->lpVtbl -> Unload(This,dwCharID)
  1800. #define IAgent_Register(This,punkNotifySink,pdwSinkID)
  1801.     (This)->lpVtbl -> Register(This,punkNotifySink,pdwSinkID)
  1802. #define IAgent_Unregister(This,dwSinkID)
  1803.     (This)->lpVtbl -> Unregister(This,dwSinkID)
  1804. #define IAgent_GetCharacter(This,dwCharID,ppunkCharacter)
  1805.     (This)->lpVtbl -> GetCharacter(This,dwCharID,ppunkCharacter)
  1806. #define IAgent_GetSuspended(This,pbSuspended)
  1807.     (This)->lpVtbl -> GetSuspended(This,pbSuspended)
  1808. #endif /* COBJMACROS */
  1809. #endif  /* C style interface */
  1810. HRESULT STDMETHODCALLTYPE IAgent_Load_Proxy( 
  1811.     IAgent __RPC_FAR * This,
  1812.     /* [in] */ VARIANT vLoadKey,
  1813.     /* [out] */ long __RPC_FAR *pdwCharID,
  1814.     /* [out] */ long __RPC_FAR *pdwReqID);
  1815. void __RPC_STUB IAgent_Load_Stub(
  1816.     IRpcStubBuffer *This,
  1817.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1818.     PRPC_MESSAGE _pRpcMessage,
  1819.     DWORD *_pdwStubPhase);
  1820. HRESULT STDMETHODCALLTYPE IAgent_Unload_Proxy( 
  1821.     IAgent __RPC_FAR * This,
  1822.     /* [in] */ long dwCharID);
  1823. void __RPC_STUB IAgent_Unload_Stub(
  1824.     IRpcStubBuffer *This,
  1825.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1826.     PRPC_MESSAGE _pRpcMessage,
  1827.     DWORD *_pdwStubPhase);
  1828. HRESULT STDMETHODCALLTYPE IAgent_Register_Proxy( 
  1829.     IAgent __RPC_FAR * This,
  1830.     /* [in] */ IUnknown __RPC_FAR *punkNotifySink,
  1831.     /* [out] */ long __RPC_FAR *pdwSinkID);
  1832. void __RPC_STUB IAgent_Register_Stub(
  1833.     IRpcStubBuffer *This,
  1834.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1835.     PRPC_MESSAGE _pRpcMessage,
  1836.     DWORD *_pdwStubPhase);
  1837. HRESULT STDMETHODCALLTYPE IAgent_Unregister_Proxy( 
  1838.     IAgent __RPC_FAR * This,
  1839.     /* [in] */ long dwSinkID);
  1840. void __RPC_STUB IAgent_Unregister_Stub(
  1841.     IRpcStubBuffer *This,
  1842.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1843.     PRPC_MESSAGE _pRpcMessage,
  1844.     DWORD *_pdwStubPhase);
  1845. HRESULT STDMETHODCALLTYPE IAgent_GetCharacter_Proxy( 
  1846.     IAgent __RPC_FAR * This,
  1847.     /* [in] */ long dwCharID,
  1848.     /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppunkCharacter);
  1849. void __RPC_STUB IAgent_GetCharacter_Stub(
  1850.     IRpcStubBuffer *This,
  1851.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1852.     PRPC_MESSAGE _pRpcMessage,
  1853.     DWORD *_pdwStubPhase);
  1854. HRESULT STDMETHODCALLTYPE IAgent_GetSuspended_Proxy( 
  1855.     IAgent __RPC_FAR * This,
  1856.     /* [out] */ long __RPC_FAR *pbSuspended);
  1857. void __RPC_STUB IAgent_GetSuspended_Stub(
  1858.     IRpcStubBuffer *This,
  1859.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1860.     PRPC_MESSAGE _pRpcMessage,
  1861.     DWORD *_pdwStubPhase);
  1862. #endif  /* __IAgent_INTERFACE_DEFINED__ */
  1863. #ifndef __IAgentEx_INTERFACE_DEFINED__
  1864. #define __IAgentEx_INTERFACE_DEFINED__
  1865. /****************************************
  1866.  * Generated header for interface: IAgentEx
  1867.  * at Mon Aug 31 17:00:38 1998
  1868.  * using MIDL 3.01.75
  1869.  ****************************************/
  1870. /* [unique][helpstring][dual][uuid][object] */ 
  1871. EXTERN_C const IID IID_IAgentEx;
  1872. #if defined(__cplusplus) && !defined(CINTERFACE)
  1873.     
  1874.     interface DECLSPEC_UUID("48D12BA0-5B77-11d1-9EC1-00C04FD7081F")
  1875.     IAgentEx : public IAgent
  1876.     {
  1877.     public:
  1878.         virtual HRESULT STDMETHODCALLTYPE GetCharacterEx( 
  1879.             /* [in] */ long dwCharID,
  1880.             /* [out] */ IAgentCharacterEx __RPC_FAR *__RPC_FAR *ppCharacterEx) = 0;
  1881.         
  1882.         virtual HRESULT STDMETHODCALLTYPE GetVersion( 
  1883.             /* [out] */ short __RPC_FAR *psMajor,
  1884.             /* [out] */ short __RPC_FAR *psMinor) = 0;
  1885.         
  1886.         virtual HRESULT STDMETHODCALLTYPE ShowDefaultCharacterProperties( 
  1887.             /* [in] */ short x,
  1888.             /* [in] */ short y,
  1889.             /* [in] */ long bUseDefaultPosition) = 0;
  1890.         
  1891.     };
  1892.     
  1893. #else  /* C style interface */
  1894.     typedef struct IAgentExVtbl
  1895.     {
  1896.         BEGIN_INTERFACE
  1897.         
  1898.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1899.             IAgentEx __RPC_FAR * This,
  1900.             /* [in] */ REFIID riid,
  1901.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1902.         
  1903.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1904.             IAgentEx __RPC_FAR * This);
  1905.         
  1906.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1907.             IAgentEx __RPC_FAR * This);
  1908.         
  1909.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  1910.             IAgentEx __RPC_FAR * This,
  1911.             /* [out] */ UINT __RPC_FAR *pctinfo);
  1912.         
  1913.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  1914.             IAgentEx __RPC_FAR * This,
  1915.             /* [in] */ UINT iTInfo,
  1916.             /* [in] */ LCID lcid,
  1917.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1918.         
  1919.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  1920.             IAgentEx __RPC_FAR * This,
  1921.             /* [in] */ REFIID riid,
  1922.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1923.             /* [in] */ UINT cNames,
  1924.             /* [in] */ LCID lcid,
  1925.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1926.         
  1927.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  1928.             IAgentEx __RPC_FAR * This,
  1929.             /* [in] */ DISPID dispIdMember,
  1930.             /* [in] */ REFIID riid,
  1931.             /* [in] */ LCID lcid,
  1932.             /* [in] */ WORD wFlags,
  1933.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1934.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1935.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1936.             /* [out] */ UINT __RPC_FAR *puArgErr);
  1937.         
  1938.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Load )( 
  1939.             IAgentEx __RPC_FAR * This,
  1940.             /* [in] */ VARIANT vLoadKey,
  1941.             /* [out] */ long __RPC_FAR *pdwCharID,
  1942.             /* [out] */ long __RPC_FAR *pdwReqID);
  1943.         
  1944.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unload )( 
  1945.             IAgentEx __RPC_FAR * This,
  1946.             /* [in] */ long dwCharID);
  1947.         
  1948.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Register )( 
  1949.             IAgentEx __RPC_FAR * This,
  1950.             /* [in] */ IUnknown __RPC_FAR *punkNotifySink,
  1951.             /* [out] */ long __RPC_FAR *pdwSinkID);
  1952.         
  1953.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unregister )( 
  1954.             IAgentEx __RPC_FAR * This,
  1955.             /* [in] */ long dwSinkID);
  1956.         
  1957.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCharacter )( 
  1958.             IAgentEx __RPC_FAR * This,
  1959.             /* [in] */ long dwCharID,
  1960.             /* [out] */ IDispatch __RPC_FAR *__RPC_FAR *ppunkCharacter);
  1961.         
  1962.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSuspended )( 
  1963.             IAgentEx __RPC_FAR * This,
  1964.             /* [out] */ long __RPC_FAR *pbSuspended);
  1965.         
  1966.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCharacterEx )( 
  1967.             IAgentEx __RPC_FAR * This,
  1968.             /* [in] */ long dwCharID,
  1969.             /* [out] */ IAgentCharacterEx __RPC_FAR *__RPC_FAR *ppCharacterEx);
  1970.         
  1971.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVersion )( 
  1972.             IAgentEx __RPC_FAR * This,
  1973.             /* [out] */ short __RPC_FAR *psMajor,
  1974.             /* [out] */ short __RPC_FAR *psMinor);
  1975.         
  1976.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShowDefaultCharacterProperties )( 
  1977.             IAgentEx __RPC_FAR * This,
  1978.             /* [in] */ short x,
  1979.             /* [in] */ short y,
  1980.             /* [in] */ long bUseDefaultPosition);
  1981.         
  1982.         END_INTERFACE
  1983.     } IAgentExVtbl;
  1984.     interface IAgentEx
  1985.     {
  1986.         CONST_VTBL struct IAgentExVtbl __RPC_FAR *lpVtbl;
  1987.     };
  1988.     
  1989. #ifdef COBJMACROS
  1990. #define IAgentEx_QueryInterface(This,riid,ppvObject)
  1991.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1992. #define IAgentEx_AddRef(This)
  1993.     (This)->lpVtbl -> AddRef(This)
  1994. #define IAgentEx_Release(This)
  1995.     (This)->lpVtbl -> Release(This)
  1996. #define IAgentEx_GetTypeInfoCount(This,pctinfo)
  1997.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1998. #define IAgentEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1999.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2000. #define IAgentEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2001.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2002. #define IAgentEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2003.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2004. #define IAgentEx_Load(This,vLoadKey,pdwCharID,pdwReqID)
  2005.     (This)->lpVtbl -> Load(This,vLoadKey,pdwCharID,pdwReqID)
  2006. #define IAgentEx_Unload(This,dwCharID)
  2007.     (This)->lpVtbl -> Unload(This,dwCharID)
  2008. #define IAgentEx_Register(This,punkNotifySink,pdwSinkID)
  2009.     (This)->lpVtbl -> Register(This,punkNotifySink,pdwSinkID)
  2010. #define IAgentEx_Unregister(This,dwSinkID)
  2011.     (This)->lpVtbl -> Unregister(This,dwSinkID)
  2012. #define IAgentEx_GetCharacter(This,dwCharID,ppunkCharacter)
  2013.     (This)->lpVtbl -> GetCharacter(This,dwCharID,ppunkCharacter)
  2014. #define IAgentEx_GetSuspended(This,pbSuspended)
  2015.     (This)->lpVtbl -> GetSuspended(This,pbSuspended)
  2016. #define IAgentEx_GetCharacterEx(This,dwCharID,ppCharacterEx)
  2017.     (This)->lpVtbl -> GetCharacterEx(This,dwCharID,ppCharacterEx)
  2018. #define IAgentEx_GetVersion(This,psMajor,psMinor)
  2019.     (This)->lpVtbl -> GetVersion(This,psMajor,psMinor)
  2020. #define IAgentEx_ShowDefaultCharacterProperties(This,x,y,bUseDefaultPosition)
  2021.     (This)->lpVtbl -> ShowDefaultCharacterProperties(This,x,y,bUseDefaultPosition)
  2022. #endif /* COBJMACROS */
  2023. #endif  /* C style interface */
  2024. HRESULT STDMETHODCALLTYPE IAgentEx_GetCharacterEx_Proxy( 
  2025.     IAgentEx __RPC_FAR * This,
  2026.     /* [in] */ long dwCharID,
  2027.     /* [out] */ IAgentCharacterEx __RPC_FAR *__RPC_FAR *ppCharacterEx);
  2028. void __RPC_STUB IAgentEx_GetCharacterEx_Stub(
  2029.     IRpcStubBuffer *This,
  2030.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2031.     PRPC_MESSAGE _pRpcMessage,
  2032.     DWORD *_pdwStubPhase);
  2033. HRESULT STDMETHODCALLTYPE IAgentEx_GetVersion_Proxy( 
  2034.     IAgentEx __RPC_FAR * This,
  2035.     /* [out] */ short __RPC_FAR *psMajor,
  2036.     /* [out] */ short __RPC_FAR *psMinor);
  2037. void __RPC_STUB IAgentEx_GetVersion_Stub(
  2038.     IRpcStubBuffer *This,
  2039.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2040.     PRPC_MESSAGE _pRpcMessage,
  2041.     DWORD *_pdwStubPhase);
  2042. HRESULT STDMETHODCALLTYPE IAgentEx_ShowDefaultCharacterProperties_Proxy( 
  2043.     IAgentEx __RPC_FAR * This,
  2044.     /* [in] */ short x,
  2045.     /* [in] */ short y,
  2046.     /* [in] */ long bUseDefaultPosition);
  2047. void __RPC_STUB IAgentEx_ShowDefaultCharacterProperties_Stub(
  2048.     IRpcStubBuffer *This,
  2049.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2050.     PRPC_MESSAGE _pRpcMessage,
  2051.     DWORD *_pdwStubPhase);
  2052. #endif  /* __IAgentEx_INTERFACE_DEFINED__ */
  2053. #ifndef __IAgentNotifySink_INTERFACE_DEFINED__
  2054. #define __IAgentNotifySink_INTERFACE_DEFINED__
  2055. /****************************************
  2056.  * Generated header for interface: IAgentNotifySink
  2057.  * at Mon Aug 31 17:00:38 1998
  2058.  * using MIDL 3.01.75
  2059.  ****************************************/
  2060. /* [unique][helpstring][dual][uuid][object] */ 
  2061. EXTERN_C const IID IID_IAgentNotifySink;
  2062. #if defined(__cplusplus) && !defined(CINTERFACE)
  2063.     
  2064.     interface DECLSPEC_UUID("00D18159-8466-11D0-AC63-00C04FD97575")
  2065.     IAgentNotifySink : public IDispatch
  2066.     {
  2067.     public:
  2068.         virtual HRESULT STDMETHODCALLTYPE Command( 
  2069.             /* [in] */ long dwCommandID,
  2070.             /* [in] */ IUnknown __RPC_FAR *punkUserInput) = 0;
  2071.         
  2072.         virtual HRESULT STDMETHODCALLTYPE ActivateInputState( 
  2073.             /* [in] */ long dwCharID,
  2074.             /* [in] */ long bActivated) = 0;
  2075.         
  2076.         virtual HRESULT STDMETHODCALLTYPE Restart( void) = 0;
  2077.         
  2078.         virtual HRESULT STDMETHODCALLTYPE Shutdown( void) = 0;
  2079.         
  2080.         virtual HRESULT STDMETHODCALLTYPE VisibleState( 
  2081.             /* [in] */ long dwCharID,
  2082.             /* [in] */ long bVisible,
  2083.             /* [in] */ long dwCause) = 0;
  2084.         
  2085.         virtual HRESULT STDMETHODCALLTYPE Click( 
  2086.             /* [in] */ long dwCharID,
  2087.             /* [in] */ short fwKeys,
  2088.             /* [in] */ long x,
  2089.             /* [in] */ long y) = 0;
  2090.         
  2091.         virtual HRESULT STDMETHODCALLTYPE DblClick( 
  2092.             /* [in] */ long dwCharID,
  2093.             /* [in] */ short fwKeys,
  2094.             /* [in] */ long x,
  2095.             /* [in] */ long y) = 0;
  2096.         
  2097.         virtual HRESULT STDMETHODCALLTYPE DragStart( 
  2098.             /* [in] */ long dwCharID,
  2099.             /* [in] */ short fwKeys,
  2100.             /* [in] */ long x,
  2101.             /* [in] */ long y) = 0;
  2102.         
  2103.         virtual HRESULT STDMETHODCALLTYPE DragComplete( 
  2104.             /* [in] */ long dwCharID,
  2105.             /* [in] */ short fwKeys,
  2106.             /* [in] */ long x,
  2107.             /* [in] */ long y) = 0;
  2108.         
  2109.         virtual HRESULT STDMETHODCALLTYPE RequestStart( 
  2110.             /* [in] */ long dwRequestID) = 0;
  2111.         
  2112.         virtual HRESULT STDMETHODCALLTYPE RequestComplete( 
  2113.             /* [in] */ long dwRequestID,
  2114.             /* [in] */ long hrStatus) = 0;
  2115.         
  2116.         virtual HRESULT STDMETHODCALLTYPE BookMark( 
  2117.             /* [in] */ long dwBookMarkID) = 0;
  2118.         
  2119.         virtual HRESULT STDMETHODCALLTYPE Idle( 
  2120.             /* [in] */ long dwCharID,
  2121.             /* [in] */ long bStart) = 0;
  2122.         
  2123.         virtual HRESULT STDMETHODCALLTYPE Move( 
  2124.             /* [in] */ long dwCharID,
  2125.             /* [in] */ long x,
  2126.             /* [in] */ long y,
  2127.             /* [in] */ long dwCause) = 0;
  2128.         
  2129.         virtual HRESULT STDMETHODCALLTYPE Size( 
  2130.             /* [in] */ long dwCharID,
  2131.             /* [in] */ long lWidth,
  2132.             /* [in] */ long lHeight) = 0;
  2133.         
  2134.         virtual HRESULT STDMETHODCALLTYPE BalloonVisibleState( 
  2135.             /* [in] */ long dwCharID,
  2136.             /* [in] */ long bVisible) = 0;
  2137.         
  2138.     };
  2139.     
  2140. #else  /* C style interface */
  2141.     typedef struct IAgentNotifySinkVtbl
  2142.     {
  2143.         BEGIN_INTERFACE
  2144.         
  2145.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2146.             IAgentNotifySink __RPC_FAR * This,
  2147.             /* [in] */ REFIID riid,
  2148.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2149.         
  2150.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2151.             IAgentNotifySink __RPC_FAR * This);
  2152.         
  2153.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2154.             IAgentNotifySink __RPC_FAR * This);
  2155.         
  2156.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  2157.             IAgentNotifySink __RPC_FAR * This,
  2158.             /* [out] */ UINT __RPC_FAR *pctinfo);
  2159.         
  2160.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  2161.             IAgentNotifySink __RPC_FAR * This,
  2162.             /* [in] */ UINT iTInfo,
  2163.             /* [in] */ LCID lcid,
  2164.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2165.         
  2166.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  2167.             IAgentNotifySink __RPC_FAR * This,
  2168.             /* [in] */ REFIID riid,
  2169.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2170.             /* [in] */ UINT cNames,
  2171.             /* [in] */ LCID lcid,
  2172.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2173.         
  2174.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  2175.             IAgentNotifySink __RPC_FAR * This,
  2176.             /* [in] */ DISPID dispIdMember,
  2177.             /* [in] */ REFIID riid,
  2178.             /* [in] */ LCID lcid,
  2179.             /* [in] */ WORD wFlags,
  2180.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2181.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2182.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2183.             /* [out] */ UINT __RPC_FAR *puArgErr);
  2184.         
  2185.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Command )( 
  2186.             IAgentNotifySink __RPC_FAR * This,
  2187.             /* [in] */ long dwCommandID,
  2188.             /* [in] */ IUnknown __RPC_FAR *punkUserInput);
  2189.         
  2190.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ActivateInputState )( 
  2191.             IAgentNotifySink __RPC_FAR * This,
  2192.             /* [in] */ long dwCharID,
  2193.             /* [in] */ long bActivated);
  2194.         
  2195.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Restart )( 
  2196.             IAgentNotifySink __RPC_FAR * This);
  2197.         
  2198.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Shutdown )( 
  2199.             IAgentNotifySink __RPC_FAR * This);
  2200.         
  2201.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *VisibleState )( 
  2202.             IAgentNotifySink __RPC_FAR * This,
  2203.             /* [in] */ long dwCharID,
  2204.             /* [in] */ long bVisible,
  2205.             /* [in] */ long dwCause);
  2206.         
  2207.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Click )( 
  2208.             IAgentNotifySink __RPC_FAR * This,
  2209.             /* [in] */ long dwCharID,
  2210.             /* [in] */ short fwKeys,
  2211.             /* [in] */ long x,
  2212.             /* [in] */ long y);
  2213.         
  2214.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DblClick )( 
  2215.             IAgentNotifySink __RPC_FAR * This,
  2216.             /* [in] */ long dwCharID,
  2217.             /* [in] */ short fwKeys,
  2218.             /* [in] */ long x,
  2219.             /* [in] */ long y);
  2220.         
  2221.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DragStart )( 
  2222.             IAgentNotifySink __RPC_FAR * This,
  2223.             /* [in] */ long dwCharID,
  2224.             /* [in] */ short fwKeys,
  2225.             /* [in] */ long x,
  2226.             /* [in] */ long y);
  2227.         
  2228.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DragComplete )( 
  2229.             IAgentNotifySink __RPC_FAR * This,
  2230.             /* [in] */ long dwCharID,
  2231.             /* [in] */ short fwKeys,
  2232.             /* [in] */ long x,
  2233.             /* [in] */ long y);
  2234.         
  2235.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestStart )( 
  2236.             IAgentNotifySink __RPC_FAR * This,
  2237.             /* [in] */ long dwRequestID);
  2238.         
  2239.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestComplete )( 
  2240.             IAgentNotifySink __RPC_FAR * This,
  2241.             /* [in] */ long dwRequestID,
  2242.             /* [in] */ long hrStatus);
  2243.         
  2244.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BookMark )( 
  2245.             IAgentNotifySink __RPC_FAR * This,
  2246.             /* [in] */ long dwBookMarkID);
  2247.         
  2248.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Idle )( 
  2249.             IAgentNotifySink __RPC_FAR * This,
  2250.             /* [in] */ long dwCharID,
  2251.             /* [in] */ long bStart);
  2252.         
  2253.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Move )( 
  2254.             IAgentNotifySink __RPC_FAR * This,
  2255.             /* [in] */ long dwCharID,
  2256.             /* [in] */ long x,
  2257.             /* [in] */ long y,
  2258.             /* [in] */ long dwCause);
  2259.         
  2260.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Size )( 
  2261.             IAgentNotifySink __RPC_FAR * This,
  2262.             /* [in] */ long dwCharID,
  2263.             /* [in] */ long lWidth,
  2264.             /* [in] */ long lHeight);
  2265.         
  2266.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BalloonVisibleState )( 
  2267.             IAgentNotifySink __RPC_FAR * This,
  2268.             /* [in] */ long dwCharID,
  2269.             /* [in] */ long bVisible);
  2270.         
  2271.         END_INTERFACE
  2272.     } IAgentNotifySinkVtbl;
  2273.     interface IAgentNotifySink
  2274.     {
  2275.         CONST_VTBL struct IAgentNotifySinkVtbl __RPC_FAR *lpVtbl;
  2276.     };
  2277.     
  2278. #ifdef COBJMACROS
  2279. #define IAgentNotifySink_QueryInterface(This,riid,ppvObject)
  2280.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2281. #define IAgentNotifySink_AddRef(This)
  2282.     (This)->lpVtbl -> AddRef(This)
  2283. #define IAgentNotifySink_Release(This)
  2284.     (This)->lpVtbl -> Release(This)
  2285. #define IAgentNotifySink_GetTypeInfoCount(This,pctinfo)
  2286.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2287. #define IAgentNotifySink_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2288.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2289. #define IAgentNotifySink_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2290.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2291. #define IAgentNotifySink_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2292.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2293. #define IAgentNotifySink_Command(This,dwCommandID,punkUserInput)
  2294.     (This)->lpVtbl -> Command(This,dwCommandID,punkUserInput)
  2295. #define IAgentNotifySink_ActivateInputState(This,dwCharID,bActivated)
  2296.     (This)->lpVtbl -> ActivateInputState(This,dwCharID,bActivated)
  2297. #define IAgentNotifySink_Restart(This)
  2298.     (This)->lpVtbl -> Restart(This)
  2299. #define IAgentNotifySink_Shutdown(This)
  2300.     (This)->lpVtbl -> Shutdown(This)
  2301. #define IAgentNotifySink_VisibleState(This,dwCharID,bVisible,dwCause)
  2302.     (This)->lpVtbl -> VisibleState(This,dwCharID,bVisible,dwCause)
  2303. #define IAgentNotifySink_Click(This,dwCharID,fwKeys,x,y)
  2304.     (This)->lpVtbl -> Click(This,dwCharID,fwKeys,x,y)
  2305. #define IAgentNotifySink_DblClick(This,dwCharID,fwKeys,x,y)
  2306.     (This)->lpVtbl -> DblClick(This,dwCharID,fwKeys,x,y)
  2307. #define IAgentNotifySink_DragStart(This,dwCharID,fwKeys,x,y)
  2308.     (This)->lpVtbl -> DragStart(This,dwCharID,fwKeys,x,y)
  2309. #define IAgentNotifySink_DragComplete(This,dwCharID,fwKeys,x,y)
  2310.     (This)->lpVtbl -> DragComplete(This,dwCharID,fwKeys,x,y)
  2311. #define IAgentNotifySink_RequestStart(This,dwRequestID)
  2312.     (This)->lpVtbl -> RequestStart(This,dwRequestID)
  2313. #define IAgentNotifySink_RequestComplete(This,dwRequestID,hrStatus)
  2314.     (This)->lpVtbl -> RequestComplete(This,dwRequestID,hrStatus)
  2315. #define IAgentNotifySink_BookMark(This,dwBookMarkID)
  2316.     (This)->lpVtbl -> BookMark(This,dwBookMarkID)
  2317. #define IAgentNotifySink_Idle(This,dwCharID,bStart)
  2318.     (This)->lpVtbl -> Idle(This,dwCharID,bStart)
  2319. #define IAgentNotifySink_Move(This,dwCharID,x,y,dwCause)
  2320.     (This)->lpVtbl -> Move(This,dwCharID,x,y,dwCause)
  2321. #define IAgentNotifySink_Size(This,dwCharID,lWidth,lHeight)
  2322.     (This)->lpVtbl -> Size(This,dwCharID,lWidth,lHeight)
  2323. #define IAgentNotifySink_BalloonVisibleState(This,dwCharID,bVisible)
  2324.     (This)->lpVtbl -> BalloonVisibleState(This,dwCharID,bVisible)
  2325. #endif /* COBJMACROS */
  2326. #endif  /* C style interface */
  2327. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Command_Proxy( 
  2328.     IAgentNotifySink __RPC_FAR * This,
  2329.     /* [in] */ long dwCommandID,
  2330.     /* [in] */ IUnknown __RPC_FAR *punkUserInput);
  2331. void __RPC_STUB IAgentNotifySink_Command_Stub(
  2332.     IRpcStubBuffer *This,
  2333.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2334.     PRPC_MESSAGE _pRpcMessage,
  2335.     DWORD *_pdwStubPhase);
  2336. HRESULT STDMETHODCALLTYPE IAgentNotifySink_ActivateInputState_Proxy( 
  2337.     IAgentNotifySink __RPC_FAR * This,
  2338.     /* [in] */ long dwCharID,
  2339.     /* [in] */ long bActivated);
  2340. void __RPC_STUB IAgentNotifySink_ActivateInputState_Stub(
  2341.     IRpcStubBuffer *This,
  2342.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2343.     PRPC_MESSAGE _pRpcMessage,
  2344.     DWORD *_pdwStubPhase);
  2345. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Restart_Proxy( 
  2346.     IAgentNotifySink __RPC_FAR * This);
  2347. void __RPC_STUB IAgentNotifySink_Restart_Stub(
  2348.     IRpcStubBuffer *This,
  2349.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2350.     PRPC_MESSAGE _pRpcMessage,
  2351.     DWORD *_pdwStubPhase);
  2352. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Shutdown_Proxy( 
  2353.     IAgentNotifySink __RPC_FAR * This);
  2354. void __RPC_STUB IAgentNotifySink_Shutdown_Stub(
  2355.     IRpcStubBuffer *This,
  2356.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2357.     PRPC_MESSAGE _pRpcMessage,
  2358.     DWORD *_pdwStubPhase);
  2359. HRESULT STDMETHODCALLTYPE IAgentNotifySink_VisibleState_Proxy( 
  2360.     IAgentNotifySink __RPC_FAR * This,
  2361.     /* [in] */ long dwCharID,
  2362.     /* [in] */ long bVisible,
  2363.     /* [in] */ long dwCause);
  2364. void __RPC_STUB IAgentNotifySink_VisibleState_Stub(
  2365.     IRpcStubBuffer *This,
  2366.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2367.     PRPC_MESSAGE _pRpcMessage,
  2368.     DWORD *_pdwStubPhase);
  2369. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Click_Proxy( 
  2370.     IAgentNotifySink __RPC_FAR * This,
  2371.     /* [in] */ long dwCharID,
  2372.     /* [in] */ short fwKeys,
  2373.     /* [in] */ long x,
  2374.     /* [in] */ long y);
  2375. void __RPC_STUB IAgentNotifySink_Click_Stub(
  2376.     IRpcStubBuffer *This,
  2377.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2378.     PRPC_MESSAGE _pRpcMessage,
  2379.     DWORD *_pdwStubPhase);
  2380. HRESULT STDMETHODCALLTYPE IAgentNotifySink_DblClick_Proxy( 
  2381.     IAgentNotifySink __RPC_FAR * This,
  2382.     /* [in] */ long dwCharID,
  2383.     /* [in] */ short fwKeys,
  2384.     /* [in] */ long x,
  2385.     /* [in] */ long y);
  2386. void __RPC_STUB IAgentNotifySink_DblClick_Stub(
  2387.     IRpcStubBuffer *This,
  2388.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2389.     PRPC_MESSAGE _pRpcMessage,
  2390.     DWORD *_pdwStubPhase);
  2391. HRESULT STDMETHODCALLTYPE IAgentNotifySink_DragStart_Proxy( 
  2392.     IAgentNotifySink __RPC_FAR * This,
  2393.     /* [in] */ long dwCharID,
  2394.     /* [in] */ short fwKeys,
  2395.     /* [in] */ long x,
  2396.     /* [in] */ long y);
  2397. void __RPC_STUB IAgentNotifySink_DragStart_Stub(
  2398.     IRpcStubBuffer *This,
  2399.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2400.     PRPC_MESSAGE _pRpcMessage,
  2401.     DWORD *_pdwStubPhase);
  2402. HRESULT STDMETHODCALLTYPE IAgentNotifySink_DragComplete_Proxy( 
  2403.     IAgentNotifySink __RPC_FAR * This,
  2404.     /* [in] */ long dwCharID,
  2405.     /* [in] */ short fwKeys,
  2406.     /* [in] */ long x,
  2407.     /* [in] */ long y);
  2408. void __RPC_STUB IAgentNotifySink_DragComplete_Stub(
  2409.     IRpcStubBuffer *This,
  2410.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2411.     PRPC_MESSAGE _pRpcMessage,
  2412.     DWORD *_pdwStubPhase);
  2413. HRESULT STDMETHODCALLTYPE IAgentNotifySink_RequestStart_Proxy( 
  2414.     IAgentNotifySink __RPC_FAR * This,
  2415.     /* [in] */ long dwRequestID);
  2416. void __RPC_STUB IAgentNotifySink_RequestStart_Stub(
  2417.     IRpcStubBuffer *This,
  2418.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2419.     PRPC_MESSAGE _pRpcMessage,
  2420.     DWORD *_pdwStubPhase);
  2421. HRESULT STDMETHODCALLTYPE IAgentNotifySink_RequestComplete_Proxy( 
  2422.     IAgentNotifySink __RPC_FAR * This,
  2423.     /* [in] */ long dwRequestID,
  2424.     /* [in] */ long hrStatus);
  2425. void __RPC_STUB IAgentNotifySink_RequestComplete_Stub(
  2426.     IRpcStubBuffer *This,
  2427.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2428.     PRPC_MESSAGE _pRpcMessage,
  2429.     DWORD *_pdwStubPhase);
  2430. HRESULT STDMETHODCALLTYPE IAgentNotifySink_BookMark_Proxy( 
  2431.     IAgentNotifySink __RPC_FAR * This,
  2432.     /* [in] */ long dwBookMarkID);
  2433. void __RPC_STUB IAgentNotifySink_BookMark_Stub(
  2434.     IRpcStubBuffer *This,
  2435.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2436.     PRPC_MESSAGE _pRpcMessage,
  2437.     DWORD *_pdwStubPhase);
  2438. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Idle_Proxy( 
  2439.     IAgentNotifySink __RPC_FAR * This,
  2440.     /* [in] */ long dwCharID,
  2441.     /* [in] */ long bStart);
  2442. void __RPC_STUB IAgentNotifySink_Idle_Stub(
  2443.     IRpcStubBuffer *This,
  2444.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2445.     PRPC_MESSAGE _pRpcMessage,
  2446.     DWORD *_pdwStubPhase);
  2447. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Move_Proxy( 
  2448.     IAgentNotifySink __RPC_FAR * This,
  2449.     /* [in] */ long dwCharID,
  2450.     /* [in] */ long x,
  2451.     /* [in] */ long y,
  2452.     /* [in] */ long dwCause);
  2453. void __RPC_STUB IAgentNotifySink_Move_Stub(
  2454.     IRpcStubBuffer *This,
  2455.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2456.     PRPC_MESSAGE _pRpcMessage,
  2457.     DWORD *_pdwStubPhase);
  2458. HRESULT STDMETHODCALLTYPE IAgentNotifySink_Size_Proxy( 
  2459.     IAgentNotifySink __RPC_FAR * This,
  2460.     /* [in] */ long dwCharID,
  2461.     /* [in] */ long lWidth,
  2462.     /* [in] */ long lHeight);
  2463. void __RPC_STUB IAgentNotifySink_Size_Stub(
  2464.     IRpcStubBuffer *This,
  2465.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2466.     PRPC_MESSAGE _pRpcMessage,
  2467.     DWORD *_pdwStubPhase);
  2468. HRESULT STDMETHODCALLTYPE IAgentNotifySink_BalloonVisibleState_Proxy( 
  2469.     IAgentNotifySink __RPC_FAR * This,
  2470.     /* [in] */ long dwCharID,
  2471.     /* [in] */ long bVisible);
  2472. void __RPC_STUB IAgentNotifySink_BalloonVisibleState_Stub(
  2473.     IRpcStubBuffer *This,
  2474.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2475.     PRPC_MESSAGE _pRpcMessage,
  2476.     DWORD *_pdwStubPhase);
  2477. #endif  /* __IAgentNotifySink_INTERFACE_DEFINED__ */
  2478. #ifndef __IAgentNotifySinkEx_INTERFACE_DEFINED__
  2479. #define __IAgentNotifySinkEx_INTERFACE_DEFINED__
  2480. /****************************************
  2481.  * Generated header for interface: IAgentNotifySinkEx
  2482.  * at Mon Aug 31 17:00:38 1998
  2483.  * using MIDL 3.01.75
  2484.  ****************************************/
  2485. /* [unique][helpstring][dual][uuid][object] */ 
  2486. EXTERN_C const IID IID_IAgentNotifySinkEx;
  2487. #if defined(__cplusplus) && !defined(CINTERFACE)
  2488.     
  2489.     interface DECLSPEC_UUID("08C75162-3C9C-11d1-91FE-00C04FD701A5")
  2490.     IAgentNotifySinkEx : public IAgentNotifySink
  2491.     {
  2492.     public:
  2493.         virtual HRESULT STDMETHODCALLTYPE HelpComplete( 
  2494.             /* [in] */ long dwCharID,
  2495.             /* [in] */ long dwCommandID,
  2496.             /* [in] */ long dwCause) = 0;
  2497.         
  2498.         virtual HRESULT STDMETHODCALLTYPE ListeningState( 
  2499.             /* [in] */ long dwCharID,
  2500.             /* [in] */ long bListening,
  2501.             /* [in] */ long dwCause) = 0;
  2502.         
  2503.         virtual HRESULT STDMETHODCALLTYPE DefaultCharacterChange( 
  2504.             /* [in] */ BSTR bszGUID) = 0;
  2505.         
  2506.         virtual HRESULT STDMETHODCALLTYPE AgentPropertyChange( void) = 0;
  2507.         
  2508.         virtual HRESULT STDMETHODCALLTYPE ActiveClientChange( 
  2509.             /* [in] */ long dwCharID,
  2510.             /* [in] */ long lStatus) = 0;
  2511.         
  2512.     };
  2513.     
  2514. #else  /* C style interface */
  2515.     typedef struct IAgentNotifySinkExVtbl
  2516.     {
  2517.         BEGIN_INTERFACE
  2518.         
  2519.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2520.             IAgentNotifySinkEx __RPC_FAR * This,
  2521.             /* [in] */ REFIID riid,
  2522.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2523.         
  2524.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2525.             IAgentNotifySinkEx __RPC_FAR * This);
  2526.         
  2527.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2528.             IAgentNotifySinkEx __RPC_FAR * This);
  2529.         
  2530.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  2531.             IAgentNotifySinkEx __RPC_FAR * This,
  2532.             /* [out] */ UINT __RPC_FAR *pctinfo);
  2533.         
  2534.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  2535.             IAgentNotifySinkEx __RPC_FAR * This,
  2536.             /* [in] */ UINT iTInfo,
  2537.             /* [in] */ LCID lcid,
  2538.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2539.         
  2540.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  2541.             IAgentNotifySinkEx __RPC_FAR * This,
  2542.             /* [in] */ REFIID riid,
  2543.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2544.             /* [in] */ UINT cNames,
  2545.             /* [in] */ LCID lcid,
  2546.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2547.         
  2548.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  2549.             IAgentNotifySinkEx __RPC_FAR * This,
  2550.             /* [in] */ DISPID dispIdMember,
  2551.             /* [in] */ REFIID riid,
  2552.             /* [in] */ LCID lcid,
  2553.             /* [in] */ WORD wFlags,
  2554.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2555.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2556.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2557.             /* [out] */ UINT __RPC_FAR *puArgErr);
  2558.         
  2559.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Command )( 
  2560.             IAgentNotifySinkEx __RPC_FAR * This,
  2561.             /* [in] */ long dwCommandID,
  2562.             /* [in] */ IUnknown __RPC_FAR *punkUserInput);
  2563.         
  2564.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ActivateInputState )( 
  2565.             IAgentNotifySinkEx __RPC_FAR * This,
  2566.             /* [in] */ long dwCharID,
  2567.             /* [in] */ long bActivated);
  2568.         
  2569.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Restart )( 
  2570.             IAgentNotifySinkEx __RPC_FAR * This);
  2571.         
  2572.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Shutdown )( 
  2573.             IAgentNotifySinkEx __RPC_FAR * This);
  2574.         
  2575.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *VisibleState )( 
  2576.             IAgentNotifySinkEx __RPC_FAR * This,
  2577.             /* [in] */ long dwCharID,
  2578.             /* [in] */ long bVisible,
  2579.             /* [in] */ long dwCause);
  2580.         
  2581.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Click )( 
  2582.             IAgentNotifySinkEx __RPC_FAR * This,
  2583.             /* [in] */ long dwCharID,
  2584.             /* [in] */ short fwKeys,
  2585.             /* [in] */ long x,
  2586.             /* [in] */ long y);
  2587.         
  2588.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DblClick )( 
  2589.             IAgentNotifySinkEx __RPC_FAR * This,
  2590.             /* [in] */ long dwCharID,
  2591.             /* [in] */ short fwKeys,
  2592.             /* [in] */ long x,
  2593.             /* [in] */ long y);
  2594.         
  2595.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DragStart )( 
  2596.             IAgentNotifySinkEx __RPC_FAR * This,
  2597.             /* [in] */ long dwCharID,
  2598.             /* [in] */ short fwKeys,
  2599.             /* [in] */ long x,
  2600.             /* [in] */ long y);
  2601.         
  2602.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DragComplete )( 
  2603.             IAgentNotifySinkEx __RPC_FAR * This,
  2604.             /* [in] */ long dwCharID,
  2605.             /* [in] */ short fwKeys,
  2606.             /* [in] */ long x,
  2607.             /* [in] */ long y);
  2608.         
  2609.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestStart )( 
  2610.             IAgentNotifySinkEx __RPC_FAR * This,
  2611.             /* [in] */ long dwRequestID);
  2612.         
  2613.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestComplete )( 
  2614.             IAgentNotifySinkEx __RPC_FAR * This,
  2615.             /* [in] */ long dwRequestID,
  2616.             /* [in] */ long hrStatus);
  2617.         
  2618.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BookMark )( 
  2619.             IAgentNotifySinkEx __RPC_FAR * This,
  2620.             /* [in] */ long dwBookMarkID);
  2621.         
  2622.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Idle )( 
  2623.             IAgentNotifySinkEx __RPC_FAR * This,
  2624.             /* [in] */ long dwCharID,
  2625.             /* [in] */ long bStart);
  2626.         
  2627.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Move )( 
  2628.             IAgentNotifySinkEx __RPC_FAR * This,
  2629.             /* [in] */ long dwCharID,
  2630.             /* [in] */ long x,
  2631.             /* [in] */ long y,
  2632.             /* [in] */ long dwCause);
  2633.         
  2634.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Size )( 
  2635.             IAgentNotifySinkEx __RPC_FAR * This,
  2636.             /* [in] */ long dwCharID,
  2637.             /* [in] */ long lWidth,
  2638.             /* [in] */ long lHeight);
  2639.         
  2640.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BalloonVisibleState )( 
  2641.             IAgentNotifySinkEx __RPC_FAR * This,
  2642.             /* [in] */ long dwCharID,
  2643.             /* [in] */ long bVisible);
  2644.         
  2645.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HelpComplete )( 
  2646.             IAgentNotifySinkEx __RPC_FAR * This,
  2647.             /* [in] */ long dwCharID,
  2648.             /* [in] */ long dwCommandID,
  2649.             /* [in] */ long dwCause);
  2650.         
  2651.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ListeningState )( 
  2652.             IAgentNotifySinkEx __RPC_FAR * This,
  2653.             /* [in] */ long dwCharID,
  2654.             /* [in] */ long bListening,
  2655.             /* [in] */ long dwCause);
  2656.         
  2657.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DefaultCharacterChange )( 
  2658.             IAgentNotifySinkEx __RPC_FAR * This,
  2659.             /* [in] */ BSTR bszGUID);
  2660.         
  2661.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AgentPropertyChange )( 
  2662.             IAgentNotifySinkEx __RPC_FAR * This);
  2663.         
  2664.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ActiveClientChange )( 
  2665.             IAgentNotifySinkEx __RPC_FAR * This,
  2666.             /* [in] */ long dwCharID,
  2667.             /* [in] */ long lStatus);
  2668.         
  2669.         END_INTERFACE
  2670.     } IAgentNotifySinkExVtbl;
  2671.     interface IAgentNotifySinkEx
  2672.     {
  2673.         CONST_VTBL struct IAgentNotifySinkExVtbl __RPC_FAR *lpVtbl;
  2674.     };
  2675.     
  2676. #ifdef COBJMACROS
  2677. #define IAgentNotifySinkEx_QueryInterface(This,riid,ppvObject)
  2678.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2679. #define IAgentNotifySinkEx_AddRef(This)
  2680.     (This)->lpVtbl -> AddRef(This)
  2681. #define IAgentNotifySinkEx_Release(This)
  2682.     (This)->lpVtbl -> Release(This)
  2683. #define IAgentNotifySinkEx_GetTypeInfoCount(This,pctinfo)
  2684.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2685. #define IAgentNotifySinkEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2686.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2687. #define IAgentNotifySinkEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2688.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2689. #define IAgentNotifySinkEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2690.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2691. #define IAgentNotifySinkEx_Command(This,dwCommandID,punkUserInput)
  2692.     (This)->lpVtbl -> Command(This,dwCommandID,punkUserInput)
  2693. #define IAgentNotifySinkEx_ActivateInputState(This,dwCharID,bActivated)
  2694.     (This)->lpVtbl -> ActivateInputState(This,dwCharID,bActivated)
  2695. #define IAgentNotifySinkEx_Restart(This)
  2696.     (This)->lpVtbl -> Restart(This)
  2697. #define IAgentNotifySinkEx_Shutdown(This)
  2698.     (This)->lpVtbl -> Shutdown(This)
  2699. #define IAgentNotifySinkEx_VisibleState(This,dwCharID,bVisible,dwCause)
  2700.     (This)->lpVtbl -> VisibleState(This,dwCharID,bVisible,dwCause)
  2701. #define IAgentNotifySinkEx_Click(This,dwCharID,fwKeys,x,y)
  2702.     (This)->lpVtbl -> Click(This,dwCharID,fwKeys,x,y)
  2703. #define IAgentNotifySinkEx_DblClick(This,dwCharID,fwKeys,x,y)
  2704.     (This)->lpVtbl -> DblClick(This,dwCharID,fwKeys,x,y)
  2705. #define IAgentNotifySinkEx_DragStart(This,dwCharID,fwKeys,x,y)
  2706.     (This)->lpVtbl -> DragStart(This,dwCharID,fwKeys,x,y)
  2707. #define IAgentNotifySinkEx_DragComplete(This,dwCharID,fwKeys,x,y)
  2708.     (This)->lpVtbl -> DragComplete(This,dwCharID,fwKeys,x,y)
  2709. #define IAgentNotifySinkEx_RequestStart(This,dwRequestID)
  2710.     (This)->lpVtbl -> RequestStart(This,dwRequestID)
  2711. #define IAgentNotifySinkEx_RequestComplete(This,dwRequestID,hrStatus)
  2712.     (This)->lpVtbl -> RequestComplete(This,dwRequestID,hrStatus)
  2713. #define IAgentNotifySinkEx_BookMark(This,dwBookMarkID)
  2714.     (This)->lpVtbl -> BookMark(This,dwBookMarkID)
  2715. #define IAgentNotifySinkEx_Idle(This,dwCharID,bStart)
  2716.     (This)->lpVtbl -> Idle(This,dwCharID,bStart)
  2717. #define IAgentNotifySinkEx_Move(This,dwCharID,x,y,dwCause)
  2718.     (This)->lpVtbl -> Move(This,dwCharID,x,y,dwCause)
  2719. #define IAgentNotifySinkEx_Size(This,dwCharID,lWidth,lHeight)
  2720.     (This)->lpVtbl -> Size(This,dwCharID,lWidth,lHeight)
  2721. #define IAgentNotifySinkEx_BalloonVisibleState(This,dwCharID,bVisible)
  2722.     (This)->lpVtbl -> BalloonVisibleState(This,dwCharID,bVisible)
  2723. #define IAgentNotifySinkEx_HelpComplete(This,dwCharID,dwCommandID,dwCause)
  2724.     (This)->lpVtbl -> HelpComplete(This,dwCharID,dwCommandID,dwCause)
  2725. #define IAgentNotifySinkEx_ListeningState(This,dwCharID,bListening,dwCause)
  2726.     (This)->lpVtbl -> ListeningState(This,dwCharID,bListening,dwCause)
  2727. #define IAgentNotifySinkEx_DefaultCharacterChange(This,bszGUID)
  2728.     (This)->lpVtbl -> DefaultCharacterChange(This,bszGUID)
  2729. #define IAgentNotifySinkEx_AgentPropertyChange(This)
  2730.     (This)->lpVtbl -> AgentPropertyChange(This)
  2731. #define IAgentNotifySinkEx_ActiveClientChange(This,dwCharID,lStatus)
  2732.     (This)->lpVtbl -> ActiveClientChange(This,dwCharID,lStatus)
  2733. #endif /* COBJMACROS */
  2734. #endif  /* C style interface */
  2735. HRESULT STDMETHODCALLTYPE IAgentNotifySinkEx_HelpComplete_Proxy( 
  2736.     IAgentNotifySinkEx __RPC_FAR * This,
  2737.     /* [in] */ long dwCharID,
  2738.     /* [in] */ long dwCommandID,
  2739.     /* [in] */ long dwCause);
  2740. void __RPC_STUB IAgentNotifySinkEx_HelpComplete_Stub(
  2741.     IRpcStubBuffer *This,
  2742.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2743.     PRPC_MESSAGE _pRpcMessage,
  2744.     DWORD *_pdwStubPhase);
  2745. HRESULT STDMETHODCALLTYPE IAgentNotifySinkEx_ListeningState_Proxy( 
  2746.     IAgentNotifySinkEx __RPC_FAR * This,
  2747.     /* [in] */ long dwCharID,
  2748.     /* [in] */ long bListening,
  2749.     /* [in] */ long dwCause);
  2750. void __RPC_STUB IAgentNotifySinkEx_ListeningState_Stub(
  2751.     IRpcStubBuffer *This,
  2752.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2753.     PRPC_MESSAGE _pRpcMessage,
  2754.     DWORD *_pdwStubPhase);
  2755. HRESULT STDMETHODCALLTYPE IAgentNotifySinkEx_DefaultCharacterChange_Proxy( 
  2756.     IAgentNotifySinkEx __RPC_FAR * This,
  2757.     /* [in] */ BSTR bszGUID);
  2758. void __RPC_STUB IAgentNotifySinkEx_DefaultCharacterChange_Stub(
  2759.     IRpcStubBuffer *This,
  2760.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2761.     PRPC_MESSAGE _pRpcMessage,
  2762.     DWORD *_pdwStubPhase);
  2763. HRESULT STDMETHODCALLTYPE IAgentNotifySinkEx_AgentPropertyChange_Proxy( 
  2764.     IAgentNotifySinkEx __RPC_FAR * This);
  2765. void __RPC_STUB IAgentNotifySinkEx_AgentPropertyChange_Stub(
  2766.     IRpcStubBuffer *This,
  2767.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2768.     PRPC_MESSAGE _pRpcMessage,
  2769.     DWORD *_pdwStubPhase);
  2770. HRESULT STDMETHODCALLTYPE IAgentNotifySinkEx_ActiveClientChange_Proxy( 
  2771.     IAgentNotifySinkEx __RPC_FAR * This,
  2772.     /* [in] */ long dwCharID,
  2773.     /* [in] */ long lStatus);
  2774. void __RPC_STUB IAgentNotifySinkEx_ActiveClientChange_Stub(
  2775.     IRpcStubBuffer *This,
  2776.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2777.     PRPC_MESSAGE _pRpcMessage,
  2778.     DWORD *_pdwStubPhase);
  2779. #endif  /* __IAgentNotifySinkEx_INTERFACE_DEFINED__ */
  2780. #ifndef __IAgentPrivateNotifySink_INTERFACE_DEFINED__
  2781. #define __IAgentPrivateNotifySink_INTERFACE_DEFINED__
  2782. /****************************************
  2783.  * Generated header for interface: IAgentPrivateNotifySink
  2784.  * at Mon Aug 31 17:00:38 1998
  2785.  * using MIDL 3.01.75
  2786.  ****************************************/
  2787. /* [unique][helpstring][uuid][local][object] */ 
  2788. EXTERN_C const IID IID_IAgentPrivateNotifySink;
  2789. #if defined(__cplusplus) && !defined(CINTERFACE)
  2790.     
  2791.     interface DECLSPEC_UUID("B741B760-8EA6-11d0-AC6A-00C04FD97575")
  2792.     IAgentPrivateNotifySink : public IUnknown
  2793.     {
  2794.     public:
  2795.         virtual HRESULT STDMETHODCALLTYPE ReleaseAll( void) = 0;
  2796.         
  2797.         virtual HRESULT STDMETHODCALLTYPE ReleaseOne( 
  2798.             void __RPC_FAR *pnNotify) = 0;
  2799.         
  2800.         virtual HRESULT STDMETHODCALLTYPE GetClientID( 
  2801.             DWORD __RPC_FAR *pdwClientID) = 0;
  2802.         
  2803.     };
  2804.     
  2805. #else  /* C style interface */
  2806.     typedef struct IAgentPrivateNotifySinkVtbl
  2807.     {
  2808.         BEGIN_INTERFACE
  2809.         
  2810.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2811.             IAgentPrivateNotifySink __RPC_FAR * This,
  2812.             /* [in] */ REFIID riid,
  2813.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2814.         
  2815.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2816.             IAgentPrivateNotifySink __RPC_FAR * This);
  2817.         
  2818.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2819.             IAgentPrivateNotifySink __RPC_FAR * This);
  2820.         
  2821.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReleaseAll )( 
  2822.             IAgentPrivateNotifySink __RPC_FAR * This);
  2823.         
  2824.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReleaseOne )( 
  2825.             IAgentPrivateNotifySink __RPC_FAR * This,
  2826.             void __RPC_FAR *pnNotify);
  2827.         
  2828.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetClientID )( 
  2829.             IAgentPrivateNotifySink __RPC_FAR * This,
  2830.             DWORD __RPC_FAR *pdwClientID);
  2831.         
  2832.         END_INTERFACE
  2833.     } IAgentPrivateNotifySinkVtbl;
  2834.     interface IAgentPrivateNotifySink
  2835.     {
  2836.         CONST_VTBL struct IAgentPrivateNotifySinkVtbl __RPC_FAR *lpVtbl;
  2837.     };
  2838.     
  2839. #ifdef COBJMACROS
  2840. #define IAgentPrivateNotifySink_QueryInterface(This,riid,ppvObject)
  2841.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2842. #define IAgentPrivateNotifySink_AddRef(This)
  2843.     (This)->lpVtbl -> AddRef(This)
  2844. #define IAgentPrivateNotifySink_Release(This)
  2845.     (This)->lpVtbl -> Release(This)
  2846. #define IAgentPrivateNotifySink_ReleaseAll(This)
  2847.     (This)->lpVtbl -> ReleaseAll(This)
  2848. #define IAgentPrivateNotifySink_ReleaseOne(This,pnNotify)
  2849.     (This)->lpVtbl -> ReleaseOne(This,pnNotify)
  2850. #define IAgentPrivateNotifySink_GetClientID(This,pdwClientID)
  2851.     (This)->lpVtbl -> GetClientID(This,pdwClientID)
  2852. #endif /* COBJMACROS */
  2853. #endif  /* C style interface */
  2854. HRESULT STDMETHODCALLTYPE IAgentPrivateNotifySink_ReleaseAll_Proxy( 
  2855.     IAgentPrivateNotifySink __RPC_FAR * This);
  2856. void __RPC_STUB IAgentPrivateNotifySink_ReleaseAll_Stub(
  2857.     IRpcStubBuffer *This,
  2858.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2859.     PRPC_MESSAGE _pRpcMessage,
  2860.     DWORD *_pdwStubPhase);
  2861. HRESULT STDMETHODCALLTYPE IAgentPrivateNotifySink_ReleaseOne_Proxy( 
  2862.     IAgentPrivateNotifySink __RPC_FAR * This,
  2863.     void __RPC_FAR *pnNotify);
  2864. void __RPC_STUB IAgentPrivateNotifySink_ReleaseOne_Stub(
  2865.     IRpcStubBuffer *This,
  2866.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2867.     PRPC_MESSAGE _pRpcMessage,
  2868.     DWORD *_pdwStubPhase);
  2869. HRESULT STDMETHODCALLTYPE IAgentPrivateNotifySink_GetClientID_Proxy( 
  2870.     IAgentPrivateNotifySink __RPC_FAR * This,
  2871.     DWORD __RPC_FAR *pdwClientID);
  2872. void __RPC_STUB IAgentPrivateNotifySink_GetClientID_Stub(
  2873.     IRpcStubBuffer *This,
  2874.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2875.     PRPC_MESSAGE _pRpcMessage,
  2876.     DWORD *_pdwStubPhase);
  2877. #endif  /* __IAgentPrivateNotifySink_INTERFACE_DEFINED__ */
  2878. #ifndef __IAgentCustomMarshalMaker_INTERFACE_DEFINED__
  2879. #define __IAgentCustomMarshalMaker_INTERFACE_DEFINED__
  2880. /****************************************
  2881.  * Generated header for interface: IAgentCustomMarshalMaker
  2882.  * at Mon Aug 31 17:00:38 1998
  2883.  * using MIDL 3.01.75
  2884.  ****************************************/
  2885. /* [unique][helpstring][uuid][hidden][local][object] */ 
  2886. EXTERN_C const IID IID_IAgentCustomMarshalMaker;
  2887. #if defined(__cplusplus) && !defined(CINTERFACE)
  2888.     
  2889.     interface DECLSPEC_UUID("408D7542-C8FC-11d1-AA83-00C04FA34D72")
  2890.     IAgentCustomMarshalMaker : public IUnknown
  2891.     {
  2892.     public:
  2893.         virtual HRESULT STDMETHODCALLTYPE Create( 
  2894.             /* [in] */ IUnknown __RPC_FAR *pSink,
  2895.             /* [in] */ REFIID riidSink,
  2896.             /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *pMarshaledSink) = 0;
  2897.         
  2898.     };
  2899.     
  2900. #else  /* C style interface */
  2901.     typedef struct IAgentCustomMarshalMakerVtbl
  2902.     {
  2903.         BEGIN_INTERFACE
  2904.         
  2905.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2906.             IAgentCustomMarshalMaker __RPC_FAR * This,
  2907.             /* [in] */ REFIID riid,
  2908.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2909.         
  2910.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2911.             IAgentCustomMarshalMaker __RPC_FAR * This);
  2912.         
  2913.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2914.             IAgentCustomMarshalMaker __RPC_FAR * This);
  2915.         
  2916.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Create )( 
  2917.             IAgentCustomMarshalMaker __RPC_FAR * This,
  2918.             /* [in] */ IUnknown __RPC_FAR *pSink,
  2919.             /* [in] */ REFIID riidSink,
  2920.             /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *pMarshaledSink);
  2921.         
  2922.         END_INTERFACE
  2923.     } IAgentCustomMarshalMakerVtbl;
  2924.     interface IAgentCustomMarshalMaker
  2925.     {
  2926.         CONST_VTBL struct IAgentCustomMarshalMakerVtbl __RPC_FAR *lpVtbl;
  2927.     };
  2928.     
  2929. #ifdef COBJMACROS
  2930. #define IAgentCustomMarshalMaker_QueryInterface(This,riid,ppvObject)
  2931.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2932. #define IAgentCustomMarshalMaker_AddRef(This)
  2933.     (This)->lpVtbl -> AddRef(This)
  2934. #define IAgentCustomMarshalMaker_Release(This)
  2935.     (This)->lpVtbl -> Release(This)
  2936. #define IAgentCustomMarshalMaker_Create(This,pSink,riidSink,pMarshaledSink)
  2937.     (This)->lpVtbl -> Create(This,pSink,riidSink,pMarshaledSink)
  2938. #endif /* COBJMACROS */
  2939. #endif  /* C style interface */
  2940. HRESULT STDMETHODCALLTYPE IAgentCustomMarshalMaker_Create_Proxy( 
  2941.     IAgentCustomMarshalMaker __RPC_FAR * This,
  2942.     /* [in] */ IUnknown __RPC_FAR *pSink,
  2943.     /* [in] */ REFIID riidSink,
  2944.     /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *pMarshaledSink);
  2945. void __RPC_STUB IAgentCustomMarshalMaker_Create_Stub(
  2946.     IRpcStubBuffer *This,
  2947.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2948.     PRPC_MESSAGE _pRpcMessage,
  2949.     DWORD *_pdwStubPhase);
  2950. #endif  /* __IAgentCustomMarshalMaker_INTERFACE_DEFINED__ */
  2951. #ifndef __IAgentClientStatus_INTERFACE_DEFINED__
  2952. #define __IAgentClientStatus_INTERFACE_DEFINED__
  2953. /****************************************
  2954.  * Generated header for interface: IAgentClientStatus
  2955.  * at Mon Aug 31 17:00:38 1998
  2956.  * using MIDL 3.01.75
  2957.  ****************************************/
  2958. /* [unique][helpstring][uuid][local][object] */ 
  2959. EXTERN_C const IID IID_IAgentClientStatus;
  2960. #if defined(__cplusplus) && !defined(CINTERFACE)
  2961.     
  2962.     interface DECLSPEC_UUID("C5649F70-7AED-11d1-B9A8-00C04FD97575")
  2963.     IAgentClientStatus : public IUnknown
  2964.     {
  2965.     public:
  2966.         virtual HRESULT STDMETHODCALLTYPE Ping( void) = 0;
  2967.         
  2968.     };
  2969.     
  2970. #else  /* C style interface */
  2971.     typedef struct IAgentClientStatusVtbl
  2972.     {
  2973.         BEGIN_INTERFACE
  2974.         
  2975.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2976.             IAgentClientStatus __RPC_FAR * This,
  2977.             /* [in] */ REFIID riid,
  2978.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2979.         
  2980.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2981.             IAgentClientStatus __RPC_FAR * This);
  2982.         
  2983.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2984.             IAgentClientStatus __RPC_FAR * This);
  2985.         
  2986.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Ping )( 
  2987.             IAgentClientStatus __RPC_FAR * This);
  2988.         
  2989.         END_INTERFACE
  2990.     } IAgentClientStatusVtbl;
  2991.     interface IAgentClientStatus
  2992.     {
  2993.         CONST_VTBL struct IAgentClientStatusVtbl __RPC_FAR *lpVtbl;
  2994.     };
  2995.     
  2996. #ifdef COBJMACROS
  2997. #define IAgentClientStatus_QueryInterface(This,riid,ppvObject)
  2998.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2999. #define IAgentClientStatus_AddRef(This)
  3000.     (This)->lpVtbl -> AddRef(This)
  3001. #define IAgentClientStatus_Release(This)
  3002.     (This)->lpVtbl -> Release(This)
  3003. #define IAgentClientStatus_Ping(This)
  3004.     (This)->lpVtbl -> Ping(This)
  3005. #endif /* COBJMACROS */
  3006. #endif  /* C style interface */
  3007. HRESULT STDMETHODCALLTYPE IAgentClientStatus_Ping_Proxy( 
  3008.     IAgentClientStatus __RPC_FAR * This);
  3009. void __RPC_STUB IAgentClientStatus_Ping_Stub(
  3010.     IRpcStubBuffer *This,
  3011.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3012.     PRPC_MESSAGE _pRpcMessage,
  3013.     DWORD *_pdwStubPhase);
  3014. #endif  /* __IAgentClientStatus_INTERFACE_DEFINED__ */
  3015. /****************************************
  3016.  * Generated header for interface: __MIDL_itf_AgentServer_0156
  3017.  * at Mon Aug 31 17:00:38 1998
  3018.  * using MIDL 3.01.75
  3019.  ****************************************/
  3020. /* [local] */ 
  3021. #define AGENT_VERSION_MAJOR ( 2 )
  3022. #define AGENT_VERSION_MINOR ( 0 )
  3023. extern RPC_IF_HANDLE __MIDL_itf_AgentServer_0156_v0_0_c_ifspec;
  3024. extern RPC_IF_HANDLE __MIDL_itf_AgentServer_0156_v0_0_s_ifspec;
  3025. #ifndef __AgentServerObjects_LIBRARY_DEFINED__
  3026. #define __AgentServerObjects_LIBRARY_DEFINED__
  3027. /****************************************
  3028.  * Generated header for library: AgentServerObjects