xref: /reactos/sdk/include/psdk/servprov.idl (revision 5100859e)
1/*
2 * Copyright (C) 1999 Francois Gouget
3 * Copyright (C) 2003 Alexandre Julliard
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18 */
19
20import "objidl.idl";
21
22
23/*****************************************************************************
24 * IServiceProvider interface
25 */
26[
27    object,
28    uuid(6d5140c1-7436-11ce-8034-00aa006009fa),
29    pointer_default(unique)
30]
31interface IServiceProvider : IUnknown
32{
33    typedef [unique] IServiceProvider *LPSERVICEPROVIDER;
34
35    [local]
36    HRESULT QueryService(
37        [in] REFGUID guidService,
38        [in] REFIID riid,
39        [out] void ** ppvObject);
40
41    [call_as(QueryService)]
42    HRESULT RemoteQueryService(
43        [in] REFGUID guidService,
44        [in] REFIID riid,
45        [out, iid_is(riid)] IUnknown ** ppvObject);
46}
47