widl: Always check the runtimeclass interfaces presence.
[wine/zf.git] / include / inspectable.idl
blob847d21da608c5fd514c44864dd0c1af712744646
1 /*
2 * Copyright 2015 Jacek Caban for CodeWeavers
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 import "wtypes.idl";
20 import "unknwn.idl";
21 import "hstring.idl";
23 typedef [v1_enum] enum TrustLevel {
24 BaseTrust,
25 PartialTrust,
26 FullTrust
27 } TrustLevel;
30 object,
31 uuid(af86e2e0-b12d-4c6a-9c5a-d7aa65101e90),
32 pointer_default(unique)
34 interface IInspectable : IUnknown
36 HRESULT GetIids([out] ULONG *iidCount, [out, size_is(,*iidCount)] IID **iids);
37 HRESULT GetRuntimeClassName([out] HSTRING *className);
38 HRESULT GetTrustLevel([out] TrustLevel *trustLevel);
41 typedef [unique] IInspectable *LPINSPECTABLE;