Convert initData as well.
[wine/multimedia.git] / include / servprov.h
blobdaeb6e04bf500a1166905b795a4b646f9bd28f55
1 /*
2 * Copyright (C) 1999 Francois Gouget
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #include "rpc.h"
20 #include "rpcndr.h"
21 #ifndef COM_NO_WINDOWS_H
22 #include "windows.h"
23 #include "ole2.h"
24 #endif
26 #ifndef __WINE_SERVPROV_H
27 #define __WINE_SERVPROV_H
30 #include "objbase.h"
33 /*****************************************************************************
34 * Predeclare the interfaces
36 DEFINE_GUID (IID_IServiceProvider, 0x6d5140c1L, 0x7436, 0x11ce, 0x80, 0x34, 0x00, 0xaa, 0x00, 0x60, 0x09, 0xfa);
37 typedef struct IServiceProvider IServiceProvider,*LPSERVICEPROVIDER;
40 /*****************************************************************************
41 * IServiceProvider interface
43 #define INTERFACE IServiceProvider
44 #define IServiceProvider_METHODS \
45 IUnknown_METHODS \
46 STDMETHOD(QueryService)(THIS_ REFGUID guidService, REFIID riid, void **ppvObject) PURE;
47 ICOM_DEFINE(IServiceProvider,IUnknown)
48 #undef INTERFACE
50 #ifdef COBJMACROS
51 /*** IUnknown methods ***/
52 #define IServiceProvider_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
53 #define IServiceProvider_AddRef(p) (p)->lpVtbl->AddRef(p)
54 #define IServiceProvider_Release(p) (p)->lpVtbl->Release(p)
55 /*** IServiceProvider methods ***/
56 #define IServiceProvider_QueryService(p,a,b,c) (p)->lpVtbl->QueryService(p,a,b,c)
57 #endif
60 #endif /* __WINE_SERVPROV_H */