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

模拟服务器

开发平台:

C/C++

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