home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 9 / IOPROG_9.ISO / contrib / iis4 / iis4_07.cab / CPP_Simple.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-08-06  |  6.5 KB  |  227 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 Wed Aug 06 14:32:03 1997
  6.  */
  7. /* Compiler settings for CPP_Simple.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 __CPP_Simple_h__
  20. #define __CPP_Simple_h__
  21.  
  22. #ifdef __cplusplus
  23. extern "C"{
  24. #endif 
  25.  
  26. /* Forward Declarations */ 
  27.  
  28. #ifndef __IIISSDK_FWD_DEFINED__
  29. #define __IIISSDK_FWD_DEFINED__
  30. typedef interface IIISSDK IIISSDK;
  31. #endif     /* __IIISSDK_FWD_DEFINED__ */
  32.  
  33.  
  34. #ifndef __IISSDK_FWD_DEFINED__
  35. #define __IISSDK_FWD_DEFINED__
  36.  
  37. #ifdef __cplusplus
  38. typedef class IISSDK IISSDK;
  39. #else
  40. typedef struct IISSDK IISSDK;
  41. #endif /* __cplusplus */
  42.  
  43. #endif     /* __IISSDK_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 __IIISSDK_INTERFACE_DEFINED__
  54. #define __IIISSDK_INTERFACE_DEFINED__
  55.  
  56. /****************************************
  57.  * Generated header for interface: IIISSDK
  58.  * at Wed Aug 06 14:32:03 1997
  59.  * using MIDL 3.01.75
  60.  ****************************************/
  61. /* [unique][helpstring][dual][uuid][object] */ 
  62.  
  63.  
  64.  
  65. EXTERN_C const IID IID_IIISSDK;
  66.  
  67. #if defined(__cplusplus) && !defined(CINTERFACE)
  68.     
  69.     interface DECLSPEC_UUID("EDE3A995-0E64-11D1-B315-00C04FB9D610")
  70.     IIISSDK : public IDispatch
  71.     {
  72.     public:
  73.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE HelloText( 
  74.             /* [retval][out] */ BSTR __RPC_FAR *pbstrOut) = 0;
  75.         
  76.     };
  77.     
  78. #else     /* C style interface */
  79.  
  80.     typedef struct IIISSDKVtbl
  81.     {
  82.         BEGIN_INTERFACE
  83.         
  84.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  85.             IIISSDK __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.             IIISSDK __RPC_FAR * This);
  91.         
  92.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  93.             IIISSDK __RPC_FAR * This);
  94.         
  95.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  96.             IIISSDK __RPC_FAR * This,
  97.             /* [out] */ UINT __RPC_FAR *pctinfo);
  98.         
  99.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  100.             IIISSDK __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.             IIISSDK __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.             IIISSDK __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.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HelloText )( 
  125.             IIISSDK __RPC_FAR * This,
  126.             /* [retval][out] */ BSTR __RPC_FAR *pbstrOut);
  127.         
  128.         END_INTERFACE
  129.     } IIISSDKVtbl;
  130.  
  131.     interface IIISSDK
  132.     {
  133.         CONST_VTBL struct IIISSDKVtbl __RPC_FAR *lpVtbl;
  134.     };
  135.  
  136.     
  137.  
  138. #ifdef COBJMACROS
  139.  
  140.  
  141. #define IIISSDK_QueryInterface(This,riid,ppvObject)    \
  142.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  143.  
  144. #define IIISSDK_AddRef(This)    \
  145.     (This)->lpVtbl -> AddRef(This)
  146.  
  147. #define IIISSDK_Release(This)    \
  148.     (This)->lpVtbl -> Release(This)
  149.  
  150.  
  151. #define IIISSDK_GetTypeInfoCount(This,pctinfo)    \
  152.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  153.  
  154. #define IIISSDK_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  155.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  156.  
  157. #define IIISSDK_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  158.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  159.  
  160. #define IIISSDK_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  161.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  162.  
  163.  
  164. #define IIISSDK_HelloText(This,pbstrOut)    \
  165.     (This)->lpVtbl -> HelloText(This,pbstrOut)
  166.  
  167. #endif /* COBJMACROS */
  168.  
  169.  
  170. #endif     /* C style interface */
  171.  
  172.  
  173.  
  174. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IIISSDK_HelloText_Proxy( 
  175.     IIISSDK __RPC_FAR * This,
  176.     /* [retval][out] */ BSTR __RPC_FAR *pbstrOut);
  177.  
  178.  
  179. void __RPC_STUB IIISSDK_HelloText_Stub(
  180.     IRpcStubBuffer *This,
  181.     IRpcChannelBuffer *_pRpcChannelBuffer,
  182.     PRPC_MESSAGE _pRpcMessage,
  183.     DWORD *_pdwStubPhase);
  184.  
  185.  
  186.  
  187. #endif     /* __IIISSDK_INTERFACE_DEFINED__ */
  188.  
  189.  
  190.  
  191. #ifndef __CPP_SIMPLELib_LIBRARY_DEFINED__
  192. #define __CPP_SIMPLELib_LIBRARY_DEFINED__
  193.  
  194. /****************************************
  195.  * Generated header for library: CPP_SIMPLELib
  196.  * at Wed Aug 06 14:32:03 1997
  197.  * using MIDL 3.01.75
  198.  ****************************************/
  199. /* [helpstring][version][uuid] */ 
  200.  
  201.  
  202.  
  203. EXTERN_C const IID LIBID_CPP_SIMPLELib;
  204.  
  205. #ifdef __cplusplus
  206. EXTERN_C const CLSID CLSID_IISSDK;
  207.  
  208. class DECLSPEC_UUID("EDE3A996-0E64-11D1-B315-00C04FB9D610")
  209. IISSDK;
  210. #endif
  211. #endif /* __CPP_SIMPLELib_LIBRARY_DEFINED__ */
  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.