Release 990226.
[wine/gsoc-2012-control.git] / include / servprov.h
blob76a43787bd9b1dd3d618e869373f9cc5c9eaa1a0
1 #ifndef __WINE_SERVPROV_H
2 #define __WINE_SERVPROV_H
5 #include "wine/obj_base.h"
8 /*****************************************************************************
9 * Predeclare the interfaces
11 DEFINE_GUID (IID_IServiceProvider, 0x6d5140c1L, 0x7436, 0x11ce, 0x80, 0x34, 0x00, 0xaa, 0x00, 0x60, 0x09, 0xfa);
12 typedef struct IServiceProvider IServiceProvider,*LPSERVICEPROVIDER;
15 /*****************************************************************************
16 * IServiceProvider interface
18 #define ICOM_INTERFACE IServiceProvider
19 #define IServiceProvider_METHODS \
20 ICOM_METHOD3(HRESULT,QueryService, REFGUID,guidService, REFIID,riid, void**,ppvObject)
21 #define IServiceProvider_IMETHODS \
22 IUnknown_IMETHODS \
23 IServiceProvider_METHODS
24 ICOM_DEFINE(IServiceProvider,IUnknown)
25 #undef ICOM_INTERFACE
27 #ifdef ICOM_CINTERFACE
28 /*** IUnknown methods ***/
29 #define IServiceProvider_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
30 #define IServiceProvider_AddRef(p) ICOM_CALL (AddRef,p)
31 #define IServiceProvider_Release(p) ICOM_CALL (Release,p)
32 /*** IServiceProvider methods ***/
33 #define IServiceProvider_QueryService(p,a,b,c) ICOM_CALL3(QueryService,p,a,b,c)
34 #endif
37 #endif /* __WINE_SERVPROV_H */