Added checks for sys/errno.h, sys/signal.h and sys/mman.h.
[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 #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
35
36
37 #endif /* __WINE_SERVPROV_H */