home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / dotNETSDK / SETUP.EXE / netfxsd1.cab / FL_ivehandler_h________.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Encoding:
Text File  |  2003-02-20  |  6.2 KB  |  252 lines

  1.  
  2. #pragma warning( disable: 4049 )  /* more than 64k source lines */
  3.  
  4. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  5.  
  6.  
  7.  /* File created by MIDL compiler version 6.00.0347 */
  8. /* at Thu Feb 20 18:27:16 2003
  9.  */
  10. /* Compiler settings for ivehandler.idl:
  11.     Oicf, W1, Zp8, env=Win32 (32b run)
  12.     protocol : dce , ms_ext, c_ext
  13.     error checks: allocation ref bounds_check enum stub_data , no_format_optimization
  14.     VC __declspec() decoration level: 
  15.          __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  16.          DECLSPEC_UUID(), MIDL_INTERFACE()
  17. */
  18. //@@MIDL_FILE_HEADING(  )
  19.  
  20.  
  21. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  22. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  23. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  24. #endif
  25.  
  26. #include "rpc.h"
  27. #include "rpcndr.h"
  28.  
  29. #ifndef __RPCNDR_H_VERSION__
  30. #error this stub requires an updated version of <rpcndr.h>
  31. #endif // __RPCNDR_H_VERSION__
  32.  
  33. #ifndef COM_NO_WINDOWS_H
  34. #include "windows.h"
  35. #include "ole2.h"
  36. #endif /*COM_NO_WINDOWS_H*/
  37.  
  38. #ifndef __ivehandler_h__
  39. #define __ivehandler_h__
  40.  
  41. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  42. #pragma once
  43. #endif
  44.  
  45. /* Forward Declarations */ 
  46.  
  47. #ifndef __VEHandlerClass_FWD_DEFINED__
  48. #define __VEHandlerClass_FWD_DEFINED__
  49.  
  50. #ifdef __cplusplus
  51. typedef class VEHandlerClass VEHandlerClass;
  52. #else
  53. typedef struct VEHandlerClass VEHandlerClass;
  54. #endif /* __cplusplus */
  55.  
  56. #endif     /* __VEHandlerClass_FWD_DEFINED__ */
  57.  
  58.  
  59. #ifndef __IVEHandler_FWD_DEFINED__
  60. #define __IVEHandler_FWD_DEFINED__
  61. typedef interface IVEHandler IVEHandler;
  62. #endif     /* __IVEHandler_FWD_DEFINED__ */
  63.  
  64.  
  65. /* header files for imported files */
  66. #include "unknwn.h"
  67.  
  68. #ifdef __cplusplus
  69. extern "C"{
  70. #endif 
  71.  
  72. void * __RPC_USER MIDL_user_allocate(size_t);
  73. void __RPC_USER MIDL_user_free( void * ); 
  74.  
  75. /* interface __MIDL_itf_ivehandler_0000 */
  76. /* [local] */ 
  77.  
  78. #pragma once
  79. typedef struct tag_VerError
  80.     {
  81.     unsigned long flags;
  82.     unsigned long opcode;
  83.     unsigned long uOffset;
  84.     unsigned long Token;
  85.     unsigned long item1_flags;
  86.     int *item1_data;
  87.     unsigned long item2_flags;
  88.     int *item2_data;
  89.     }     _VerError;
  90.  
  91. typedef _VerError VEContext;
  92.  
  93.  
  94.  
  95.  
  96. extern RPC_IF_HANDLE __MIDL_itf_ivehandler_0000_v0_0_c_ifspec;
  97. extern RPC_IF_HANDLE __MIDL_itf_ivehandler_0000_v0_0_s_ifspec;
  98.  
  99.  
  100. #ifndef __VEHandlerLib_LIBRARY_DEFINED__
  101. #define __VEHandlerLib_LIBRARY_DEFINED__
  102.  
  103. /* library VEHandlerLib */
  104. /* [helpstring][version][uuid] */ 
  105.  
  106.  
  107. EXTERN_C const IID LIBID_VEHandlerLib;
  108.  
  109. EXTERN_C const CLSID CLSID_VEHandlerClass;
  110.  
  111. #ifdef __cplusplus
  112.  
  113. class DECLSPEC_UUID("856CA1B1-7DAB-11d3-ACEC-00C04F86C309")
  114. VEHandlerClass;
  115. #endif
  116. #endif /* __VEHandlerLib_LIBRARY_DEFINED__ */
  117.  
  118. #ifndef __IVEHandler_INTERFACE_DEFINED__
  119. #define __IVEHandler_INTERFACE_DEFINED__
  120.  
  121. /* interface IVEHandler */
  122. /* [unique][uuid][object] */ 
  123.  
  124.  
  125. EXTERN_C const IID IID_IVEHandler;
  126.  
  127. #if defined(__cplusplus) && !defined(CINTERFACE)
  128.     
  129.     MIDL_INTERFACE("856CA1B2-7DAB-11d3-ACEC-00C04F86C309")
  130.     IVEHandler : public IUnknown
  131.     {
  132.     public:
  133.         virtual HRESULT STDMETHODCALLTYPE VEHandler( 
  134.             /* [in] */ HRESULT VECode,
  135.             /* [in] */ VEContext Context,
  136.             /* [in] */ SAFEARRAY * psa) = 0;
  137.         
  138.         virtual HRESULT STDMETHODCALLTYPE SetReporterFtn( 
  139.             /* [in] */ __int64 lFnPtr) = 0;
  140.         
  141.     };
  142.     
  143. #else     /* C style interface */
  144.  
  145.     typedef struct IVEHandlerVtbl
  146.     {
  147.         BEGIN_INTERFACE
  148.         
  149.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  150.             IVEHandler * This,
  151.             /* [in] */ REFIID riid,
  152.             /* [iid_is][out] */ void **ppvObject);
  153.         
  154.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  155.             IVEHandler * This);
  156.         
  157.         ULONG ( STDMETHODCALLTYPE *Release )( 
  158.             IVEHandler * This);
  159.         
  160.         HRESULT ( STDMETHODCALLTYPE *VEHandler )( 
  161.             IVEHandler * This,
  162.             /* [in] */ HRESULT VECode,
  163.             /* [in] */ VEContext Context,
  164.             /* [in] */ SAFEARRAY * psa);
  165.         
  166.         HRESULT ( STDMETHODCALLTYPE *SetReporterFtn )( 
  167.             IVEHandler * This,
  168.             /* [in] */ __int64 lFnPtr);
  169.         
  170.         END_INTERFACE
  171.     } IVEHandlerVtbl;
  172.  
  173.     interface IVEHandler
  174.     {
  175.         CONST_VTBL struct IVEHandlerVtbl *lpVtbl;
  176.     };
  177.  
  178.     
  179.  
  180. #ifdef COBJMACROS
  181.  
  182.  
  183. #define IVEHandler_QueryInterface(This,riid,ppvObject)    \
  184.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  185.  
  186. #define IVEHandler_AddRef(This)    \
  187.     (This)->lpVtbl -> AddRef(This)
  188.  
  189. #define IVEHandler_Release(This)    \
  190.     (This)->lpVtbl -> Release(This)
  191.  
  192.  
  193. #define IVEHandler_VEHandler(This,VECode,Context,psa)    \
  194.     (This)->lpVtbl -> VEHandler(This,VECode,Context,psa)
  195.  
  196. #define IVEHandler_SetReporterFtn(This,lFnPtr)    \
  197.     (This)->lpVtbl -> SetReporterFtn(This,lFnPtr)
  198.  
  199. #endif /* COBJMACROS */
  200.  
  201.  
  202. #endif     /* C style interface */
  203.  
  204.  
  205.  
  206. HRESULT STDMETHODCALLTYPE IVEHandler_VEHandler_Proxy( 
  207.     IVEHandler * This,
  208.     /* [in] */ HRESULT VECode,
  209.     /* [in] */ VEContext Context,
  210.     /* [in] */ SAFEARRAY * psa);
  211.  
  212.  
  213. void __RPC_STUB IVEHandler_VEHandler_Stub(
  214.     IRpcStubBuffer *This,
  215.     IRpcChannelBuffer *_pRpcChannelBuffer,
  216.     PRPC_MESSAGE _pRpcMessage,
  217.     DWORD *_pdwStubPhase);
  218.  
  219.  
  220. HRESULT STDMETHODCALLTYPE IVEHandler_SetReporterFtn_Proxy( 
  221.     IVEHandler * This,
  222.     /* [in] */ __int64 lFnPtr);
  223.  
  224.  
  225. void __RPC_STUB IVEHandler_SetReporterFtn_Stub(
  226.     IRpcStubBuffer *This,
  227.     IRpcChannelBuffer *_pRpcChannelBuffer,
  228.     PRPC_MESSAGE _pRpcMessage,
  229.     DWORD *_pdwStubPhase);
  230.  
  231.  
  232.  
  233. #endif     /* __IVEHandler_INTERFACE_DEFINED__ */
  234.  
  235.  
  236. /* Additional Prototypes for ALL interfaces */
  237.  
  238. unsigned long             __RPC_USER  LPSAFEARRAY_UserSize(     unsigned long *, unsigned long            , LPSAFEARRAY * ); 
  239. unsigned char * __RPC_USER  LPSAFEARRAY_UserMarshal(  unsigned long *, unsigned char *, LPSAFEARRAY * ); 
  240. unsigned char * __RPC_USER  LPSAFEARRAY_UserUnmarshal(unsigned long *, unsigned char *, LPSAFEARRAY * ); 
  241. void                      __RPC_USER  LPSAFEARRAY_UserFree(     unsigned long *, LPSAFEARRAY * ); 
  242.  
  243. /* end of Additional Prototypes */
  244.  
  245. #ifdef __cplusplus
  246. }
  247. #endif
  248.  
  249. #endif
  250.  
  251.  
  252.