kernel32/tests: Use the right return type and a better failed test message.
[wine.git] / include / servprov.idl
blobe99c10dc4e12669415a9922aa24e2bc1590b98f3
1 /*
2 * Copyright (C) 1999 Francois Gouget
3 * Copyright (C) 2003 Alexandre Julliard
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.
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.
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
20 import "objidl.idl";
23 /*****************************************************************************
24 * IServiceProvider interface
27 object,
28 uuid(6d5140c1-7436-11ce-8034-00aa006009fa),
29 pointer_default(unique)
31 interface IServiceProvider : IUnknown
33 typedef [unique] IServiceProvider *LPSERVICEPROVIDER;
35 [local]
36 HRESULT QueryService(
37 [in] REFGUID guidService,
38 [in] REFIID riid,
39 [out] void ** ppvObject);
41 [call_as(QueryService)]
42 HRESULT RemoteQueryService(
43 [in] REFGUID guidService,
44 [in] REFIID riid,
45 [out, iid_is(riid)] IUnknown ** ppvObject);