home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 December / PCWKCD1296.iso / vjplusb / activex / inetsdk / include / servprov.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-06-26  |  5.2 KB  |  197 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 3.00.44 */
  5. /* at Wed Jun 26 18:29:34 1996
  6.  */
  7. /* Compiler settings for servprov.idl:
  8.     Oi (OptLev=i0), 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 __servprov_h__
  20. #define __servprov_h__
  21.  
  22. #ifdef __cplusplus
  23. extern "C"{
  24. #endif 
  25.  
  26. /* Forward Declarations */ 
  27.  
  28. #ifndef __IServiceProvider_FWD_DEFINED__
  29. #define __IServiceProvider_FWD_DEFINED__
  30. typedef interface IServiceProvider IServiceProvider;
  31. #endif     /* __IServiceProvider_FWD_DEFINED__ */
  32.  
  33.  
  34. /* header files for imported files */
  35. #include "objidl.h"
  36. #include "oleidl.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. /****************************************
  42.  * Generated header for interface: __MIDL__intf_0000
  43.  * at Wed Jun 26 18:29:34 1996
  44.  * using MIDL 3.00.44
  45.  ****************************************/
  46. /* [local] */ 
  47.  
  48.  
  49. //=--------------------------------------------------------------------------=
  50. // ServProv.h
  51. //=--------------------------------------------------------------------------=
  52. // (C) Copyright 1995-1996 Microsoft Corporation.  All Rights Reserved.
  53. //
  54. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  55. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  56. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  57. // PARTICULAR PURPOSE.
  58. //=--------------------------------------------------------------------------=
  59.  
  60. #pragma comment(lib,"uuid.lib")
  61.  
  62. //---------------------------------------------------------------------------=
  63. // IServiceProvider Interfaces.
  64.  
  65. #ifndef _LPSERVICEPROVIDER_DEFINED
  66. #define _LPSERVICEPROVIDER_DEFINED
  67.  
  68.  
  69. extern RPC_IF_HANDLE __MIDL__intf_0000_v0_0_c_ifspec;
  70. extern RPC_IF_HANDLE __MIDL__intf_0000_v0_0_s_ifspec;
  71.  
  72. #ifndef __IServiceProvider_INTERFACE_DEFINED__
  73. #define __IServiceProvider_INTERFACE_DEFINED__
  74.  
  75. /****************************************
  76.  * Generated header for interface: IServiceProvider
  77.  * at Wed Jun 26 18:29:34 1996
  78.  * using MIDL 3.00.44
  79.  ****************************************/
  80. /* [unique][uuid][local][object] */ 
  81.  
  82.  
  83. typedef /* [unique] */ IServiceProvider __RPC_FAR *LPSERVICEPROVIDER;
  84.  
  85.  
  86. EXTERN_C const IID IID_IServiceProvider;
  87.  
  88. #if defined(__cplusplus) && !defined(CINTERFACE)
  89.     
  90.     interface IServiceProvider : public IUnknown
  91.     {
  92.     public:
  93.         virtual HRESULT STDMETHODCALLTYPE QueryService( 
  94.             /* [in] */ REFGUID rsid,
  95.             /* [in] */ REFIID iid,
  96.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObj) = 0;
  97.         
  98.     };
  99.     
  100. #else     /* C style interface */
  101.  
  102.     typedef struct IServiceProviderVtbl
  103.     {
  104.         BEGIN_INTERFACE
  105.         
  106.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  107.             IServiceProvider __RPC_FAR * This,
  108.             /* [in] */ REFIID riid,
  109.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  110.         
  111.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  112.             IServiceProvider __RPC_FAR * This);
  113.         
  114.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  115.             IServiceProvider __RPC_FAR * This);
  116.         
  117.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryService )( 
  118.             IServiceProvider __RPC_FAR * This,
  119.             /* [in] */ REFGUID rsid,
  120.             /* [in] */ REFIID iid,
  121.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObj);
  122.         
  123.         END_INTERFACE
  124.     } IServiceProviderVtbl;
  125.  
  126.     interface IServiceProvider
  127.     {
  128.         CONST_VTBL struct IServiceProviderVtbl __RPC_FAR *lpVtbl;
  129.     };
  130.  
  131.     
  132.  
  133. #ifdef COBJMACROS
  134.  
  135.  
  136. #define IServiceProvider_QueryInterface(This,riid,ppvObject)    \
  137.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  138.  
  139. #define IServiceProvider_AddRef(This)    \
  140.     (This)->lpVtbl -> AddRef(This)
  141.  
  142. #define IServiceProvider_Release(This)    \
  143.     (This)->lpVtbl -> Release(This)
  144.  
  145.  
  146. #define IServiceProvider_QueryService(This,rsid,iid,ppvObj)    \
  147.     (This)->lpVtbl -> QueryService(This,rsid,iid,ppvObj)
  148.  
  149. #endif /* COBJMACROS */
  150.  
  151.  
  152. #endif     /* C style interface */
  153.  
  154.  
  155.  
  156. HRESULT STDMETHODCALLTYPE IServiceProvider_QueryService_Proxy( 
  157.     IServiceProvider __RPC_FAR * This,
  158.     /* [in] */ REFGUID rsid,
  159.     /* [in] */ REFIID iid,
  160.     /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObj);
  161.  
  162.  
  163. void __RPC_STUB IServiceProvider_QueryService_Stub(
  164.     IRpcStubBuffer *This,
  165.     IRpcChannelBuffer *_pRpcChannelBuffer,
  166.     PRPC_MESSAGE _pRpcMessage,
  167.     DWORD *_pdwStubPhase);
  168.  
  169.  
  170.  
  171. #endif     /* __IServiceProvider_INTERFACE_DEFINED__ */
  172.  
  173.  
  174. /****************************************
  175.  * Generated header for interface: __MIDL__intf_0079
  176.  * at Wed Jun 26 18:29:34 1996
  177.  * using MIDL 3.00.44
  178.  ****************************************/
  179. /* [local] */ 
  180.  
  181.  
  182. #endif
  183.  
  184.  
  185. extern RPC_IF_HANDLE __MIDL__intf_0079_v0_0_c_ifspec;
  186. extern RPC_IF_HANDLE __MIDL__intf_0079_v0_0_s_ifspec;
  187.  
  188. /* Additional Prototypes for ALL interfaces */
  189.  
  190. /* end of Additional Prototypes */
  191.  
  192. #ifdef __cplusplus
  193. }
  194. #endif
  195.  
  196. #endif
  197.