Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

240 lines
6.6 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 3.03.0110 */
  3. /* at Thu Sep 11 10:59:13 1997
  4. */
  5. /* Compiler settings for servprov.idl:
  6. Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  7. error checks: none
  8. */
  9. //@@MIDL_FILE_HEADING( )
  10. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  11. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  12. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  13. #endif
  14. #include "rpc.h"
  15. #include "rpcndr.h"
  16. #ifndef __RPCNDR_H_VERSION__
  17. #error this stub requires an updated version of <rpcndr.h>
  18. #endif // __RPCNDR_H_VERSION__
  19. #ifndef COM_NO_WINDOWS_H
  20. #include "windows.h"
  21. #include "ole2.h"
  22. #endif /*COM_NO_WINDOWS_H*/
  23. #ifndef __servprov_h__
  24. #define __servprov_h__
  25. #ifdef __cplusplus
  26. extern "C"{
  27. #endif
  28. /* Forward Declarations */
  29. #ifndef __IServiceProvider_FWD_DEFINED__
  30. #define __IServiceProvider_FWD_DEFINED__
  31. typedef interface IServiceProvider IServiceProvider;
  32. #endif /* __IServiceProvider_FWD_DEFINED__ */
  33. /* header files for imported files */
  34. #include "objidl.h"
  35. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  36. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  37. /****************************************
  38. * Generated header for interface: __MIDL_itf_servprov_0000
  39. * at Thu Sep 11 10:59:13 1997
  40. * using MIDL 3.03.0110
  41. ****************************************/
  42. /* [local] */
  43. //=--------------------------------------------------------------------------=
  44. // ServProv.h
  45. //=--------------------------------------------------------------------------=
  46. // (C) Copyright 1995-1997 Microsoft Corporation. All Rights Reserved.
  47. //
  48. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  49. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  50. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  51. // PARTICULAR PURPOSE.
  52. //=--------------------------------------------------------------------------=
  53. #pragma comment(lib,"uuid.lib")
  54. //---------------------------------------------------------------------------=
  55. // IServiceProvider Interfaces.
  56. #ifndef _LPSERVICEPROVIDER_DEFINED
  57. #define _LPSERVICEPROVIDER_DEFINED
  58. extern RPC_IF_HANDLE __MIDL_itf_servprov_0000_v0_0_c_ifspec;
  59. extern RPC_IF_HANDLE __MIDL_itf_servprov_0000_v0_0_s_ifspec;
  60. #ifndef __IServiceProvider_INTERFACE_DEFINED__
  61. #define __IServiceProvider_INTERFACE_DEFINED__
  62. /****************************************
  63. * Generated header for interface: IServiceProvider
  64. * at Thu Sep 11 10:59:13 1997
  65. * using MIDL 3.03.0110
  66. ****************************************/
  67. /* [unique][uuid][object] */
  68. typedef /* [unique] */ IServiceProvider __RPC_FAR *LPSERVICEPROVIDER;
  69. EXTERN_C const IID IID_IServiceProvider;
  70. #if defined(__cplusplus) && !defined(CINTERFACE)
  71. #if (_MSC_VER >= 1200) // VC6 or greater
  72. extern "C++"
  73. {
  74. #endif
  75. MIDL_INTERFACE("6d5140c1-7436-11ce-8034-00aa006009fa")
  76. IServiceProvider : public IUnknown
  77. {
  78. public:
  79. virtual /* [local] */ HRESULT STDMETHODCALLTYPE QueryService(
  80. /* [in] */ REFGUID guidService,
  81. /* [in] */ REFIID riid,
  82. /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject) = 0;
  83. #if (_MSC_VER >= 1200) // VC6 or greater
  84. template <class Q>
  85. HRESULT STDMETHODCALLTYPE QueryService(REFGUID guidService, Q** pp)
  86. {
  87. return QueryService(guidService, __uuidof(Q), (void**)pp);
  88. }
  89. #endif
  90. };
  91. #if (_MSC_VER >= 1200) // VC6 or greater
  92. } // extern "C++"
  93. #endif
  94. #else /* C style interface */
  95. typedef struct IServiceProviderVtbl
  96. {
  97. BEGIN_INTERFACE
  98. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  99. IServiceProvider __RPC_FAR * This,
  100. /* [in] */ REFIID riid,
  101. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  102. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  103. IServiceProvider __RPC_FAR * This);
  104. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  105. IServiceProvider __RPC_FAR * This);
  106. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryService )(
  107. IServiceProvider __RPC_FAR * This,
  108. /* [in] */ REFGUID guidService,
  109. /* [in] */ REFIID riid,
  110. /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  111. END_INTERFACE
  112. } IServiceProviderVtbl;
  113. interface IServiceProvider
  114. {
  115. CONST_VTBL struct IServiceProviderVtbl __RPC_FAR *lpVtbl;
  116. };
  117. #ifdef COBJMACROS
  118. #define IServiceProvider_QueryInterface(This,riid,ppvObject) \
  119. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  120. #define IServiceProvider_AddRef(This) \
  121. (This)->lpVtbl -> AddRef(This)
  122. #define IServiceProvider_Release(This) \
  123. (This)->lpVtbl -> Release(This)
  124. #define IServiceProvider_QueryService(This,guidService,riid,ppvObject) \
  125. (This)->lpVtbl -> QueryService(This,guidService,riid,ppvObject)
  126. #endif /* COBJMACROS */
  127. #endif /* C style interface */
  128. /* [call_as] */ HRESULT STDMETHODCALLTYPE IServiceProvider_RemoteQueryService_Proxy(
  129. IServiceProvider __RPC_FAR * This,
  130. /* [in] */ REFGUID guidService,
  131. /* [in] */ REFIID riid,
  132. /* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObject);
  133. void __RPC_STUB IServiceProvider_RemoteQueryService_Stub(
  134. IRpcStubBuffer *This,
  135. IRpcChannelBuffer *_pRpcChannelBuffer,
  136. PRPC_MESSAGE _pRpcMessage,
  137. DWORD *_pdwStubPhase);
  138. #endif /* __IServiceProvider_INTERFACE_DEFINED__ */
  139. /****************************************
  140. * Generated header for interface: __MIDL_itf_servprov_0074
  141. * at Thu Sep 11 10:59:13 1997
  142. * using MIDL 3.03.0110
  143. ****************************************/
  144. /* [local] */
  145. #endif
  146. extern RPC_IF_HANDLE __MIDL_itf_servprov_0074_v0_0_c_ifspec;
  147. extern RPC_IF_HANDLE __MIDL_itf_servprov_0074_v0_0_s_ifspec;
  148. /* Additional Prototypes for ALL interfaces */
  149. /* [local] */ HRESULT STDMETHODCALLTYPE IServiceProvider_QueryService_Proxy(
  150. IServiceProvider __RPC_FAR * This,
  151. /* [in] */ REFGUID guidService,
  152. /* [in] */ REFIID riid,
  153. /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  154. /* [call_as] */ HRESULT STDMETHODCALLTYPE IServiceProvider_QueryService_Stub(
  155. IServiceProvider __RPC_FAR * This,
  156. /* [in] */ REFGUID guidService,
  157. /* [in] */ REFIID riid,
  158. /* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObject);
  159. /* end of Additional Prototypes */
  160. #ifdef __cplusplus
  161. }
  162. #endif
  163. #endif