Release 20001202.
[wine] / include / servprov.h
1 #ifndef __WINE_SERVPROV_H
2 #define __WINE_SERVPROV_H
3
4
5 #include "wine/obj_base.h"
6
7
8 /*****************************************************************************
9  * Predeclare the interfaces
10  */
11 DEFINE_GUID   (IID_IServiceProvider,    0x6d5140c1L, 0x7436, 0x11ce, 0x80, 0x34, 0x00, 0xaa, 0x00, 0x60, 0x09, 0xfa);
12 typedef struct IServiceProvider IServiceProvider,*LPSERVICEPROVIDER;
13
14
15 /*****************************************************************************
16  * IServiceProvider interface
17  */
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
26
27 /*** IUnknown methods ***/
28 #define IServiceProvider_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
29 #define IServiceProvider_AddRef(p)             ICOM_CALL (AddRef,p)
30 #define IServiceProvider_Release(p)            ICOM_CALL (Release,p)
31 /*** IServiceProvider methods ***/
32 #define IServiceProvider_QueryService(p,a,b,c) ICOM_CALL3(QueryService,p,a,b,c)
33
34
35 #endif /* __WINE_SERVPROV_H */