home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 23 / IOPROG_23.ISO / SOFT / MSGTRACE.ZIP / MyProjects / MsgTrace / inc / MsgTracer.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-05-30  |  7.5 KB  |  252 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 3.01.75 */
  5. /* at Sat May 30 14:21:32 1998
  6.  */
  7. /* Compiler settings for MsgTracer.idl:
  8.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  9.     error checks: none
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12. #include "rpc.h"
  13. #include "rpcndr.h"
  14. #ifndef COM_NO_WINDOWS_H
  15. #include "windows.h"
  16. #include "ole2.h"
  17. #endif /*COM_NO_WINDOWS_H*/
  18.  
  19. #ifndef __MsgTracer_h__
  20. #define __MsgTracer_h__
  21.  
  22. #ifdef __cplusplus
  23. extern "C"{
  24. #endif 
  25.  
  26. /* Forward Declarations */ 
  27.  
  28. #ifndef __IMsgTracerComp_FWD_DEFINED__
  29. #define __IMsgTracerComp_FWD_DEFINED__
  30. typedef interface IMsgTracerComp IMsgTracerComp;
  31. #endif     /* __IMsgTracerComp_FWD_DEFINED__ */
  32.  
  33.  
  34. #ifndef __MsgTracerComp_FWD_DEFINED__
  35. #define __MsgTracerComp_FWD_DEFINED__
  36.  
  37. #ifdef __cplusplus
  38. typedef class MsgTracerComp MsgTracerComp;
  39. #else
  40. typedef struct MsgTracerComp MsgTracerComp;
  41. #endif /* __cplusplus */
  42.  
  43. #endif     /* __MsgTracerComp_FWD_DEFINED__ */
  44.  
  45.  
  46. /* header files for imported files */
  47. #include "oaidl.h"
  48. #include "ocidl.h"
  49.  
  50. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  51. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  52.  
  53. #ifndef __IMsgTracerComp_INTERFACE_DEFINED__
  54. #define __IMsgTracerComp_INTERFACE_DEFINED__
  55.  
  56. /****************************************
  57.  * Generated header for interface: IMsgTracerComp
  58.  * at Sat May 30 14:21:32 1998
  59.  * using MIDL 3.01.75
  60.  ****************************************/
  61. /* [unique][helpstring][uuid][object] */ 
  62.  
  63.  
  64.  
  65. EXTERN_C const IID IID_IMsgTracerComp;
  66.  
  67. #if defined(__cplusplus) && !defined(CINTERFACE)
  68.     
  69.     interface DECLSPEC_UUID("17CE1960-567E-11D1-AF10-00609723D0BD")
  70.     IMsgTracerComp : public IDispatch
  71.     {
  72.     public:
  73.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AttachProcess( 
  74.             /* [in] */ DWORD ProcessId,
  75.             /* [in] */ BOOL Wait) = 0;
  76.         
  77.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Write( 
  78.             BSTR Message) = 0;
  79.         
  80.     };
  81.     
  82. #else     /* C style interface */
  83.  
  84.     typedef struct IMsgTracerCompVtbl
  85.     {
  86.         BEGIN_INTERFACE
  87.         
  88.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  89.             IMsgTracerComp __RPC_FAR * This,
  90.             /* [in] */ REFIID riid,
  91.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  92.         
  93.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  94.             IMsgTracerComp __RPC_FAR * This);
  95.         
  96.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  97.             IMsgTracerComp __RPC_FAR * This);
  98.         
  99.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  100.             IMsgTracerComp __RPC_FAR * This,
  101.             /* [out] */ UINT __RPC_FAR *pctinfo);
  102.         
  103.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  104.             IMsgTracerComp __RPC_FAR * This,
  105.             /* [in] */ UINT iTInfo,
  106.             /* [in] */ LCID lcid,
  107.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  108.         
  109.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  110.             IMsgTracerComp __RPC_FAR * This,
  111.             /* [in] */ REFIID riid,
  112.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  113.             /* [in] */ UINT cNames,
  114.             /* [in] */ LCID lcid,
  115.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  116.         
  117.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  118.             IMsgTracerComp __RPC_FAR * This,
  119.             /* [in] */ DISPID dispIdMember,
  120.             /* [in] */ REFIID riid,
  121.             /* [in] */ LCID lcid,
  122.             /* [in] */ WORD wFlags,
  123.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  124.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  125.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  126.             /* [out] */ UINT __RPC_FAR *puArgErr);
  127.         
  128.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AttachProcess )( 
  129.             IMsgTracerComp __RPC_FAR * This,
  130.             /* [in] */ DWORD ProcessId,
  131.             /* [in] */ BOOL Wait);
  132.         
  133.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Write )( 
  134.             IMsgTracerComp __RPC_FAR * This,
  135.             BSTR Message);
  136.         
  137.         END_INTERFACE
  138.     } IMsgTracerCompVtbl;
  139.  
  140.     interface IMsgTracerComp
  141.     {
  142.         CONST_VTBL struct IMsgTracerCompVtbl __RPC_FAR *lpVtbl;
  143.     };
  144.  
  145.     
  146.  
  147. #ifdef COBJMACROS
  148.  
  149.  
  150. #define IMsgTracerComp_QueryInterface(This,riid,ppvObject)    \
  151.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  152.  
  153. #define IMsgTracerComp_AddRef(This)    \
  154.     (This)->lpVtbl -> AddRef(This)
  155.  
  156. #define IMsgTracerComp_Release(This)    \
  157.     (This)->lpVtbl -> Release(This)
  158.  
  159.  
  160. #define IMsgTracerComp_GetTypeInfoCount(This,pctinfo)    \
  161.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  162.  
  163. #define IMsgTracerComp_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  164.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  165.  
  166. #define IMsgTracerComp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  167.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  168.  
  169. #define IMsgTracerComp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  170.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  171.  
  172.  
  173. #define IMsgTracerComp_AttachProcess(This,ProcessId,Wait)    \
  174.     (This)->lpVtbl -> AttachProcess(This,ProcessId,Wait)
  175.  
  176. #define IMsgTracerComp_Write(This,Message)    \
  177.     (This)->lpVtbl -> Write(This,Message)
  178.  
  179. #endif /* COBJMACROS */
  180.  
  181.  
  182. #endif     /* C style interface */
  183.  
  184.  
  185.  
  186. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgTracerComp_AttachProcess_Proxy( 
  187.     IMsgTracerComp __RPC_FAR * This,
  188.     /* [in] */ DWORD ProcessId,
  189.     /* [in] */ BOOL Wait);
  190.  
  191.  
  192. void __RPC_STUB IMsgTracerComp_AttachProcess_Stub(
  193.     IRpcStubBuffer *This,
  194.     IRpcChannelBuffer *_pRpcChannelBuffer,
  195.     PRPC_MESSAGE _pRpcMessage,
  196.     DWORD *_pdwStubPhase);
  197.  
  198.  
  199. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgTracerComp_Write_Proxy( 
  200.     IMsgTracerComp __RPC_FAR * This,
  201.     BSTR Message);
  202.  
  203.  
  204. void __RPC_STUB IMsgTracerComp_Write_Stub(
  205.     IRpcStubBuffer *This,
  206.     IRpcChannelBuffer *_pRpcChannelBuffer,
  207.     PRPC_MESSAGE _pRpcMessage,
  208.     DWORD *_pdwStubPhase);
  209.  
  210.  
  211.  
  212. #endif     /* __IMsgTracerComp_INTERFACE_DEFINED__ */
  213.  
  214.  
  215.  
  216. #ifndef __MSGTRACERLib_LIBRARY_DEFINED__
  217. #define __MSGTRACERLib_LIBRARY_DEFINED__
  218.  
  219. /****************************************
  220.  * Generated header for library: MSGTRACERLib
  221.  * at Sat May 30 14:21:32 1998
  222.  * using MIDL 3.01.75
  223.  ****************************************/
  224. /* [helpstring][version][uuid] */ 
  225.  
  226.  
  227.  
  228. EXTERN_C const IID LIBID_MSGTRACERLib;
  229.  
  230. #ifdef __cplusplus
  231. EXTERN_C const CLSID CLSID_MsgTracerComp;
  232.  
  233. class DECLSPEC_UUID("17CE1961-567E-11D1-AF10-00609723D0BD")
  234. MsgTracerComp;
  235. #endif
  236. #endif /* __MSGTRACERLib_LIBRARY_DEFINED__ */
  237.  
  238. /* Additional Prototypes for ALL interfaces */
  239.  
  240. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long __RPC_FAR *, unsigned long            , BSTR __RPC_FAR * ); 
  241. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  242. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  243. void                      __RPC_USER  BSTR_UserFree(     unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); 
  244.  
  245. /* end of Additional Prototypes */
  246.  
  247. #ifdef __cplusplus
  248. }
  249. #endif
  250.  
  251. #endif
  252.