home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 May / PCFMay2001.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / gthrntfysdk.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  7.9 KB  |  263 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 20:00:24 1998
  7.  */
  8. /* Compiler settings for gthrntfysdk.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 __gthrntfysdk_h__
  21. #define __gthrntfysdk_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. #ifndef __CGatherNotify_FWD_DEFINED__
  36. #define __CGatherNotify_FWD_DEFINED__
  37.  
  38. #ifdef __cplusplus
  39. typedef class CGatherNotify CGatherNotify;
  40. #else
  41. typedef struct CGatherNotify CGatherNotify;
  42. #endif /* __cplusplus */
  43.  
  44. #endif     /* __CGatherNotify_FWD_DEFINED__ */
  45.  
  46.  
  47. /* header files for imported files */
  48. #include "oaidl.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 __IGatherNotify_INTERFACE_DEFINED__
  54. #define __IGatherNotify_INTERFACE_DEFINED__
  55.  
  56. /****************************************
  57.  * Generated header for interface: IGatherNotify
  58.  * at Wed Apr 22 20:00:24 1998
  59.  * using MIDL 3.01.75
  60.  ****************************************/
  61. /* [helpstring][public][dual][unique][uuid][object] */ 
  62.  
  63.  
  64. typedef 
  65. enum TagChangeAdviseCodes
  66.     {    GTHR_CA_ADD    = 0,
  67.     GTHR_CA_DELETE    = GTHR_CA_ADD + 1,
  68.     GTHR_CA_MODIFY    = GTHR_CA_DELETE + 1
  69.     }    ChangeAdviseCodes;
  70.  
  71.  
  72. EXTERN_C const IID IID_IGatherNotify;
  73.  
  74. #if defined(__cplusplus) && !defined(CINTERFACE)
  75.     
  76.     interface DECLSPEC_UUID("0b63e376-9ccc-11d0-bcdb-00805fccce04")
  77.     IGatherNotify : public IDispatch
  78.     {
  79.     public:
  80.         virtual HRESULT STDMETHODCALLTYPE Init( 
  81.             /* [in] */ BSTR bstrSourceName) = 0;
  82.         
  83.         virtual HRESULT STDMETHODCALLTYPE OnDataChange( 
  84.             /* [in] */ LONG eChangeAdvise,
  85.             /* [in] */ BSTR bstrPhysicalAddress,
  86.             /* [optional][in] */ BSTR bstrLogicalAddress) = 0;
  87.         
  88.     };
  89.     
  90. #else     /* C style interface */
  91.  
  92.     typedef struct IGatherNotifyVtbl
  93.     {
  94.         BEGIN_INTERFACE
  95.         
  96.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  97.             IGatherNotify __RPC_FAR * This,
  98.             /* [in] */ REFIID riid,
  99.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  100.         
  101.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  102.             IGatherNotify __RPC_FAR * This);
  103.         
  104.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  105.             IGatherNotify __RPC_FAR * This);
  106.         
  107.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  108.             IGatherNotify __RPC_FAR * This,
  109.             /* [out] */ UINT __RPC_FAR *pctinfo);
  110.         
  111.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  112.             IGatherNotify __RPC_FAR * This,
  113.             /* [in] */ UINT iTInfo,
  114.             /* [in] */ LCID lcid,
  115.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  116.         
  117.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  118.             IGatherNotify __RPC_FAR * This,
  119.             /* [in] */ REFIID riid,
  120.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  121.             /* [in] */ UINT cNames,
  122.             /* [in] */ LCID lcid,
  123.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  124.         
  125.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  126.             IGatherNotify __RPC_FAR * This,
  127.             /* [in] */ DISPID dispIdMember,
  128.             /* [in] */ REFIID riid,
  129.             /* [in] */ LCID lcid,
  130.             /* [in] */ WORD wFlags,
  131.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  132.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  133.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  134.             /* [out] */ UINT __RPC_FAR *puArgErr);
  135.         
  136.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Init )( 
  137.             IGatherNotify __RPC_FAR * This,
  138.             /* [in] */ BSTR bstrSourceName);
  139.         
  140.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnDataChange )( 
  141.             IGatherNotify __RPC_FAR * This,
  142.             /* [in] */ LONG eChangeAdvise,
  143.             /* [in] */ BSTR bstrPhysicalAddress,
  144.             /* [optional][in] */ BSTR bstrLogicalAddress);
  145.         
  146.         END_INTERFACE
  147.     } IGatherNotifyVtbl;
  148.  
  149.     interface IGatherNotify
  150.     {
  151.         CONST_VTBL struct IGatherNotifyVtbl __RPC_FAR *lpVtbl;
  152.     };
  153.  
  154.     
  155.  
  156. #ifdef COBJMACROS
  157.  
  158.  
  159. #define IGatherNotify_QueryInterface(This,riid,ppvObject)    \
  160.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  161.  
  162. #define IGatherNotify_AddRef(This)    \
  163.     (This)->lpVtbl -> AddRef(This)
  164.  
  165. #define IGatherNotify_Release(This)    \
  166.     (This)->lpVtbl -> Release(This)
  167.  
  168.  
  169. #define IGatherNotify_GetTypeInfoCount(This,pctinfo)    \
  170.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  171.  
  172. #define IGatherNotify_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  173.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  174.  
  175. #define IGatherNotify_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  176.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  177.  
  178. #define IGatherNotify_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  179.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  180.  
  181.  
  182. #define IGatherNotify_Init(This,bstrSourceName)    \
  183.     (This)->lpVtbl -> Init(This,bstrSourceName)
  184.  
  185. #define IGatherNotify_OnDataChange(This,eChangeAdvise,bstrPhysicalAddress,bstrLogicalAddress)    \
  186.     (This)->lpVtbl -> OnDataChange(This,eChangeAdvise,bstrPhysicalAddress,bstrLogicalAddress)
  187.  
  188. #endif /* COBJMACROS */
  189.  
  190.  
  191. #endif     /* C style interface */
  192.  
  193.  
  194.  
  195. HRESULT STDMETHODCALLTYPE IGatherNotify_Init_Proxy( 
  196.     IGatherNotify __RPC_FAR * This,
  197.     /* [in] */ BSTR bstrSourceName);
  198.  
  199.  
  200. void __RPC_STUB IGatherNotify_Init_Stub(
  201.     IRpcStubBuffer *This,
  202.     IRpcChannelBuffer *_pRpcChannelBuffer,
  203.     PRPC_MESSAGE _pRpcMessage,
  204.     DWORD *_pdwStubPhase);
  205.  
  206.  
  207. HRESULT STDMETHODCALLTYPE IGatherNotify_OnDataChange_Proxy( 
  208.     IGatherNotify __RPC_FAR * This,
  209.     /* [in] */ LONG eChangeAdvise,
  210.     /* [in] */ BSTR bstrPhysicalAddress,
  211.     /* [optional][in] */ BSTR bstrLogicalAddress);
  212.  
  213.  
  214. void __RPC_STUB IGatherNotify_OnDataChange_Stub(
  215.     IRpcStubBuffer *This,
  216.     IRpcChannelBuffer *_pRpcChannelBuffer,
  217.     PRPC_MESSAGE _pRpcMessage,
  218.     DWORD *_pdwStubPhase);
  219.  
  220.  
  221.  
  222. #endif     /* __IGatherNotify_INTERFACE_DEFINED__ */
  223.  
  224.  
  225.  
  226. #ifndef __GATHERNotifyLib_LIBRARY_DEFINED__
  227. #define __GATHERNotifyLib_LIBRARY_DEFINED__
  228.  
  229. /****************************************
  230.  * Generated header for library: GATHERNotifyLib
  231.  * at Wed Apr 22 20:00:24 1998
  232.  * using MIDL 3.01.75
  233.  ****************************************/
  234. /* [helpstring][version][uuid] */ 
  235.  
  236.  
  237.  
  238. EXTERN_C const IID LIBID_GATHERNotifyLib;
  239.  
  240. #ifdef __cplusplus
  241. EXTERN_C const CLSID CLSID_CGatherNotify;
  242.  
  243. class DECLSPEC_UUID("0b63e34b-9ccc-11d0-bcdb-00805fccce04")
  244. CGatherNotify;
  245. #endif
  246. #endif /* __GATHERNotifyLib_LIBRARY_DEFINED__ */
  247.  
  248. /* Additional Prototypes for ALL interfaces */
  249.  
  250. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long __RPC_FAR *, unsigned long            , BSTR __RPC_FAR * ); 
  251. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  252. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  253. void                      __RPC_USER  BSTR_UserFree(     unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); 
  254.  
  255. /* end of Additional Prototypes */
  256.  
  257. #ifdef __cplusplus
  258. }
  259. #endif
  260.  
  261. #endif
  262. #pragma option pop /*P_O_Pop*/
  263.