server: Avoid a mach port leak on Apple Silicon.
[wine.git] / include / roparameterizediid.idl
blob85ee57d6f947e0e2ecb9693f74ca49d32b64047c
1 /*
2 * Copyright 2017 Alex Henrie
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 #ifdef __WIDL__
20 #pragma winrt
21 #endif
23 import "wtypes.idl";
25 typedef void *ROPARAMIIDHANDLE;
28 object
30 interface IRoSimpleMetaDataBuilder
32 HRESULT SetWinRtInterface(
33 GUID iid
36 HRESULT SetDelegate(
37 GUID iid
40 HRESULT SetInterfaceGroupSimpleDefault(
41 const WCHAR *typename,
42 const WCHAR *default_name,
43 const GUID *default_iid
46 HRESULT SetInterfaceGroupParameterizedDefault(
47 const WCHAR *typename,
48 UINT32 name_element_count,
49 const WCHAR **name_elements
52 HRESULT SetRuntimeClassSimpleDefault(
53 const WCHAR *typename,
54 const WCHAR *default_name,
55 const GUID *default_iid
58 HRESULT SetRuntimeClassParameterizedDefault(
59 const WCHAR *typename,
60 UINT32 name_element_count,
61 const WCHAR **name_elements
64 HRESULT SetStruct(
65 const WCHAR *typename,
66 UINT32 field_count,
67 const WCHAR **field_typenames
70 HRESULT SetEnum(
71 const WCHAR *typename,
72 const WCHAR *base_type
75 HRESULT SetParameterizedInterface(
76 GUID iid,
77 UINT32 arg_count
80 HRESULT SetParameterizedDelegate(
81 GUID iid,
82 UINT32 arg_count
87 object
89 interface IRoMetaDataLocator
91 HRESULT Locate(
92 const WCHAR *typename,
93 IRoSimpleMetaDataBuilder *out