home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 May / PCFMay2001.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / gthrntfy.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  7.1 KB  |  228 lines

  1. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3.  
  4.  
  5. /* File created by MIDL compiler version 3.01.75 */
  6. /* at Wed Apr 22 19:59:28 1998
  7.  */
  8. /* Compiler settings for gthrntfy.idl:
  9.     Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
  10.     error checks: none
  11. */
  12. //@@MIDL_FILE_HEADING(  )
  13. #include "rpc.h"
  14. #include "rpcndr.h"
  15. #ifndef COM_NO_WINDOWS_H
  16. #include "windows.h"
  17. #include "ole2.h"
  18. #endif /*COM_NO_WINDOWS_H*/
  19.  
  20. #ifndef __gthrntfy_h__
  21. #define __gthrntfy_h__
  22.  
  23. #ifdef __cplusplus
  24. extern "C"{
  25. #endif 
  26.  
  27. /* Forward Declarations */ 
  28.  
  29. #ifndef __IGatherNotify_FWD_DEFINED__
  30. #define __IGatherNotify_FWD_DEFINED__
  31. typedef interface IGatherNotify IGatherNotify;
  32. #endif     /* __IGatherNotify_FWD_DEFINED__ */
  33.  
  34.  
  35. /* header files for imported files */
  36. #include "oaidl.h"
  37.  
  38. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  39. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  40.  
  41. #ifndef __IGatherNotify_INTERFACE_DEFINED__
  42. #define __IGatherNotify_INTERFACE_DEFINED__
  43.  
  44. /****************************************
  45.  * Generated header for interface: IGatherNotify
  46.  * at Wed Apr 22 19:59:28 1998
  47.  * using MIDL 3.01.75
  48.  ****************************************/
  49. /* [helpstring][public][dual][unique][uuid][object] */ 
  50.  
  51.  
  52. typedef 
  53. enum TagChangeAdviseCodes
  54.     {    GTHR_CA_ADD    = 0,
  55.     GTHR_CA_DELETE    = GTHR_CA_ADD + 1,
  56.     GTHR_CA_MODIFY    = GTHR_CA_DELETE + 1
  57.     }    ChangeAdviseCodes;
  58.  
  59.  
  60. EXTERN_C const IID IID_IGatherNotify;
  61.  
  62. #if defined(__cplusplus) && !defined(CINTERFACE)
  63.     
  64.     interface DECLSPEC_UUID("0b63e376-9ccc-11d0-bcdb-00805fccce04")
  65.     IGatherNotify : public IDispatch
  66.     {
  67.     public:
  68.         virtual HRESULT STDMETHODCALLTYPE Init( 
  69.             /* [in] */ BSTR bstrSourceName) = 0;
  70.         
  71.         virtual HRESULT STDMETHODCALLTYPE OnDataChange( 
  72.             /* [in] */ LONG eChangeAdvise,
  73.             /* [in] */ BSTR bstrPhysicalAddress,
  74.             /* [optional][in] */ BSTR bstrLogicalAddress) = 0;
  75.         
  76.     };
  77.     
  78. #else     /* C style interface */
  79.  
  80.     typedef struct IGatherNotifyVtbl
  81.     {
  82.         BEGIN_INTERFACE
  83.         
  84.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  85.             IGatherNotify __RPC_FAR * This,
  86.             /* [in] */ REFIID riid,
  87.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  88.         
  89.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  90.             IGatherNotify __RPC_FAR * This);
  91.         
  92.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  93.             IGatherNotify __RPC_FAR * This);
  94.         
  95.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  96.             IGatherNotify __RPC_FAR * This,
  97.             /* [out] */ UINT __RPC_FAR *pctinfo);
  98.         
  99.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  100.             IGatherNotify __RPC_FAR * This,
  101.             /* [in] */ UINT iTInfo,
  102.             /* [in] */ LCID lcid,
  103.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  104.         
  105.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  106.             IGatherNotify __RPC_FAR * This,
  107.             /* [in] */ REFIID riid,
  108.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  109.             /* [in] */ UINT cNames,
  110.             /* [in] */ LCID lcid,
  111.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  112.         
  113.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  114.             IGatherNotify __RPC_FAR * This,
  115.             /* [in] */ DISPID dispIdMember,
  116.             /* [in] */ REFIID riid,
  117.             /* [in] */ LCID lcid,
  118.             /* [in] */ WORD wFlags,
  119.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  120.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  121.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  122.             /* [out] */ UINT __RPC_FAR *puArgErr);
  123.         
  124.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Init )( 
  125.             IGatherNotify __RPC_FAR * This,
  126.             /* [in] */ BSTR bstrSourceName);
  127.         
  128.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnDataChange )( 
  129.             IGatherNotify __RPC_FAR * This,
  130.             /* [in] */ LONG eChangeAdvise,
  131.             /* [in] */ BSTR bstrPhysicalAddress,
  132.             /* [optional][in] */ BSTR bstrLogicalAddress);
  133.         
  134.         END_INTERFACE
  135.     } IGatherNotifyVtbl;
  136.  
  137.     interface IGatherNotify
  138.     {
  139.         CONST_VTBL struct IGatherNotifyVtbl __RPC_FAR *lpVtbl;
  140.     };
  141.  
  142.     
  143.  
  144. #ifdef COBJMACROS
  145.  
  146.  
  147. #define IGatherNotify_QueryInterface(This,riid,ppvObject)    \
  148.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  149.  
  150. #define IGatherNotify_AddRef(This)    \
  151.     (This)->lpVtbl -> AddRef(This)
  152.  
  153. #define IGatherNotify_Release(This)    \
  154.     (This)->lpVtbl -> Release(This)
  155.  
  156.  
  157. #define IGatherNotify_GetTypeInfoCount(This,pctinfo)    \
  158.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  159.  
  160. #define IGatherNotify_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  161.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  162.  
  163. #define IGatherNotify_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  164.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  165.  
  166. #define IGatherNotify_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  167.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  168.  
  169.  
  170. #define IGatherNotify_Init(This,bstrSourceName)    \
  171.     (This)->lpVtbl -> Init(This,bstrSourceName)
  172.  
  173. #define IGatherNotify_OnDataChange(This,eChangeAdvise,bstrPhysicalAddress,bstrLogicalAddress)    \
  174.     (This)->lpVtbl -> OnDataChange(This,eChangeAdvise,bstrPhysicalAddress,bstrLogicalAddress)
  175.  
  176. #endif /* COBJMACROS */
  177.  
  178.  
  179. #endif     /* C style interface */
  180.  
  181.  
  182.  
  183. HRESULT STDMETHODCALLTYPE IGatherNotify_Init_Proxy( 
  184.     IGatherNotify __RPC_FAR * This,
  185.     /* [in] */ BSTR bstrSourceName);
  186.  
  187.  
  188. void __RPC_STUB IGatherNotify_Init_Stub(
  189.     IRpcStubBuffer *This,
  190.     IRpcChannelBuffer *_pRpcChannelBuffer,
  191.     PRPC_MESSAGE _pRpcMessage,
  192.     DWORD *_pdwStubPhase);
  193.  
  194.  
  195. HRESULT STDMETHODCALLTYPE IGatherNotify_OnDataChange_Proxy( 
  196.     IGatherNotify __RPC_FAR * This,
  197.     /* [in] */ LONG eChangeAdvise,
  198.     /* [in] */ BSTR bstrPhysicalAddress,
  199.     /* [optional][in] */ BSTR bstrLogicalAddress);
  200.  
  201.  
  202. void __RPC_STUB IGatherNotify_OnDataChange_Stub(
  203.     IRpcStubBuffer *This,
  204.     IRpcChannelBuffer *_pRpcChannelBuffer,
  205.     PRPC_MESSAGE _pRpcMessage,
  206.     DWORD *_pdwStubPhase);
  207.  
  208.  
  209.  
  210. #endif     /* __IGatherNotify_INTERFACE_DEFINED__ */
  211.  
  212.  
  213. /* Additional Prototypes for ALL interfaces */
  214.  
  215. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long __RPC_FAR *, unsigned long            , BSTR __RPC_FAR * ); 
  216. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  217. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  218. void                      __RPC_USER  BSTR_UserFree(     unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); 
  219.  
  220. /* end of Additional Prototypes */
  221.  
  222. #ifdef __cplusplus
  223. }
  224. #endif
  225.  
  226. #endif
  227. #pragma option pop /*P_O_Pop*/
  228.