Added wrapper to replace llseek+lread to avoid HANDLE/HFILE
[wine/multimedia.git] / include / servprov.h
blob222f29d713cc95d7df96b69e0288aeb95aa9625f
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 #ifndef __WINE__
20 #include "rpc.h"
21 #include "rpcndr.h"
22 #ifndef COM_NO_WINDOWS_H
23 #include "windows.h"
24 #include "ole2.h"
25 #endif
26 #endif
28 #ifndef __WINE_SERVPROV_H
29 #define __WINE_SERVPROV_H
32 #include "wine/obj_base.h"
35 /*****************************************************************************
36 * Predeclare the interfaces
38 DEFINE_GUID (IID_IServiceProvider, 0x6d5140c1L, 0x7436, 0x11ce, 0x80, 0x34, 0x00, 0xaa, 0x00, 0x60, 0x09, 0xfa);
39 typedef struct IServiceProvider IServiceProvider,*LPSERVICEPROVIDER;
42 /*****************************************************************************
43 * IServiceProvider interface
45 #define ICOM_INTERFACE IServiceProvider
46 #define IServiceProvider_METHODS \
47 ICOM_METHOD3(HRESULT,QueryService, REFGUID,guidService, REFIID,riid, void**,ppvObject)
48 #define IServiceProvider_IMETHODS \
49 IUnknown_IMETHODS \
50 IServiceProvider_METHODS
51 ICOM_DEFINE(IServiceProvider,IUnknown)
52 #undef ICOM_INTERFACE
54 /*** IUnknown methods ***/
55 #define IServiceProvider_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
56 #define IServiceProvider_AddRef(p) ICOM_CALL (AddRef,p)
57 #define IServiceProvider_Release(p) ICOM_CALL (Release,p)
58 /*** IServiceProvider methods ***/
59 #define IServiceProvider_QueryService(p,a,b,c) ICOM_CALL3(QueryService,p,a,b,c)
62 #endif /* __WINE_SERVPROV_H */