Compile fix if HAVE_OSS is not defined.
[wine/multimedia.git] / include / servprov.h
blobae10c8f7a16e88d349a86e70d436407cc5788afe
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 /*** 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)
35 #endif /* __WINE_SERVPROV_H */