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.

142 lines
4.6 KiB

  1. #include "rpc.h"
  2. #include "rpcndr.h"
  3. #ifndef __svcprov_h__
  4. #define __svcprov_h__
  5. #ifdef __cplusplus
  6. extern "C"{
  7. #endif
  8. /* Forward Declarations */
  9. #ifndef __IProvideDBService_FWD_DEFINED__
  10. #define __IProvideDBService_FWD_DEFINED__
  11. typedef interface IProvideDBService IProvideDBService;
  12. #endif /* __IProvideDBService_FWD_DEFINED__ */
  13. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  14. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  15. #ifndef __IProvideDBService_INTERFACE_DEFINED__
  16. #define __IProvideDBService_INTERFACE_DEFINED__
  17. /****************************************
  18. * Generated header for interface: IProvideDBService
  19. * at Mon Apr 22 16:40:51 1996
  20. * using MIDL 2.00.72
  21. ****************************************/
  22. /* [unique][uuid][object][local] */
  23. // @msg IID_IProvideDBService | {EFF65380-9C98-11CF-B963-00AA0044773D}
  24. DEFINE_GUID(IID_IProvideDBService, 0xEFF65380L,0x9C98,0x11CF,0xB9,0x63,0x00,0xAA,0x00,0x44,0x77,0x3D);
  25. #if defined(__cplusplus) && !defined(CINTERFACE)
  26. interface IProvideDBService : public IUnknown
  27. {
  28. public:
  29. virtual HRESULT __stdcall ProvideService(
  30. /* [in] */ ULONG cProvidedPropertySets,
  31. /* [size_is][in] */ DBPROPSET __RPC_FAR rgProvidedPropertySets[ ],
  32. /* [in] */ ULONG cRequestedPropertySets,
  33. /* [size_is][in] */ DBPROPSET __RPC_FAR rgRequestedPropertySets[ ],
  34. /* [in] */ IUnknown __RPC_FAR *pUnkOuter,
  35. /* [in] */ IUnknown __RPC_FAR *pDataProvider,
  36. /* [in] */ REFIID riidRequested,
  37. /* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppServiceProvider) = 0;
  38. };
  39. #else /* C style interface */
  40. typedef struct IProvideDBServiceVtbl
  41. {
  42. HRESULT ( __stdcall __RPC_FAR *QueryInterface )(
  43. IProvideDBService __RPC_FAR * This,
  44. /* [in] */ REFIID riid,
  45. /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  46. ULONG ( __stdcall __RPC_FAR *AddRef )(
  47. IProvideDBService __RPC_FAR * This);
  48. ULONG ( __stdcall __RPC_FAR *Release )(
  49. IProvideDBService __RPC_FAR * This);
  50. HRESULT ( __stdcall __RPC_FAR *ProvideService )(
  51. IProvideDBService __RPC_FAR * This,
  52. /* [in] */ ULONG cProvidedPropertySets,
  53. /* [size_is][in] */ DBPROPSET __RPC_FAR rgProvidedPropertySets[ ],
  54. /* [in] */ ULONG cRequestedPropertySets,
  55. /* [size_is][in] */ DBPROPSET __RPC_FAR rgRequestedPropertySets[ ],
  56. /* [in] */ IUnknown __RPC_FAR *pUnkOuter,
  57. /* [in] */ IUnknown __RPC_FAR *pDataProvider,
  58. /* [in] */ REFIID riidRequested,
  59. /* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppServiceProvider);
  60. } IProvideDBServiceVtbl;
  61. interface IProvideDBService
  62. {
  63. CONST_VTBL struct IProvideDBServiceVtbl __RPC_FAR *lpVtbl;
  64. };
  65. #ifdef COBJMACROS
  66. #define IProvideDBService_QueryInterface(This,riid,ppvObject) \
  67. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  68. #define IProvideDBService_AddRef(This) \
  69. (This)->lpVtbl -> AddRef(This)
  70. #define IProvideDBService_Release(This) \
  71. (This)->lpVtbl -> Release(This)
  72. #define IProvideDBService_ProvideService(This,cProvidedProperties,rgProvidedProperties,cRequestedProperties,rgRequestedProperties,pUnkOuter,pDataProvider,riidRequested,ppServiceProvider) \
  73. (This)->lpVtbl -> ProvideService(This,cProvidedProperties,rgProvidedProperties,cRequestedProperties,rgRequestedProperties,pUnkOuter,pDataProvider,riidRequested,ppServiceProvider)
  74. #endif /* COBJMACROS */
  75. #endif /* C style interface */
  76. HRESULT __stdcall IProvideDBService_ProvideService_Proxy(
  77. IProvideDBService __RPC_FAR * This,
  78. /* [in] */ ULONG cProvidedPropertySets,
  79. /* [size_is][in] */ DBPROPSET __RPC_FAR rgProvidedPropertySets[ ],
  80. /* [in] */ ULONG cRequestedPropertySets,
  81. /* [size_is][in] */ DBPROPSET __RPC_FAR rgRequestedPropertySets[ ],
  82. /* [in] */ IUnknown __RPC_FAR *pUnkOuter,
  83. /* [in] */ IUnknown __RPC_FAR *pDataProvider,
  84. /* [in] */ REFIID riidRequested,
  85. /* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppServiceProvider);
  86. void __RPC_STUB IProvideDBService_ProvideService_Stub(
  87. IRpcStubBuffer *This,
  88. IRpcChannelBuffer *_pRpcChannelBuffer,
  89. PRPC_MESSAGE _pRpcMessage,
  90. DWORD *_pdwStubPhase);
  91. #endif /* __IProvideDBService_INTERFACE_DEFINED__ */
  92. /* Additional Prototypes for ALL interfaces */
  93. /* end of Additional Prototypes */
  94. #ifdef __cplusplus
  95. }
  96. #endif
  97. #endif