server: Avoid a mach port leak on Apple Silicon.
[wine.git] / include / iextag.idl
blob6b25af572ee55bba88764269a30953d9b19e9cb4
1 /*
2 * Copyright 2011 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 "oaidl.idl";
20 import "ocidl.idl";
23 object,
24 uuid(7e8bc44d-aeff-11d1-89c2-00c04fb6bfc4),
25 dual,
26 pointer_default(unique)
28 interface IClientCaps : IDispatch
30 [propget, id(1)]
31 HRESULT javaEnabled([out, retval] VARIANT_BOOL *pVal);
33 [propget, id(2)]
34 HRESULT cookieEnabled([out, retval] VARIANT_BOOL *pVal);
36 [propget, id(3)]
37 HRESULT cpuClass([out, retval] BSTR *p);
39 [propget, id(4)]
40 HRESULT systemLanguage([out, retval] BSTR *p);
42 [propget, id(6)]
43 HRESULT userLanguage([out, retval] BSTR *p);
45 [propget, id(7)]
46 HRESULT platform([out, retval] BSTR *p);
48 [propget, id(9)]
49 HRESULT connectionSpeed([out, retval] long *p);
51 [propget, id(10)]
52 HRESULT onLine([out, retval] VARIANT_BOOL *p);
54 [propget, id(11)]
55 HRESULT colorDepth([out, retval] long *p);
57 [propget, id(12)]
58 HRESULT bufferDepth([out, retval] long *p);
60 [propget, id(13)]
61 HRESULT width([out, retval] long *p);
63 [propget, id(14)]
64 HRESULT height([out, retval] long *p);
66 [propget, id(15)]
67 HRESULT availHeight([out, retval] long *p);
69 [propget, id(16)]
70 HRESULT availWidth([out, retval] long *p);
72 [propget, id(17)]
73 HRESULT connectionType([out, retval] BSTR *p);
75 [id(18)]
76 HRESULT isComponentInstalled(
77 [in] BSTR bstrName,
78 [in] BSTR bstrType,
79 [in, defaultvalue("")] BSTR bStrVer,
80 [out, retval] VARIANT_BOOL *p);
82 [id(19)]
83 HRESULT getComponentVersion(
84 [in] BSTR bstrName,
85 [in] BSTR bstrType,
86 [out, retval] BSTR *pbstrVer);
88 [id(20)]
89 HRESULT compareVersions(
90 [in] BSTR bstrVer1,
91 [in] BSTR bstrVer2,
92 [out, retval] long *p);
94 [id(21)]
95 HRESULT addComponentRequest(
96 [in] BSTR bstrName,
97 [in] BSTR bstrType,
98 [in, defaultvalue("")] BSTR bstrVer);
100 [id(22)]
101 HRESULT doComponentRequest([out, retval] VARIANT_BOOL *p);
103 [id(23)]
104 HRESULT clearComponentRequest();
108 uuid(7e8bc440-aeff-11d1-89c2-00c04fb6bfc4),
109 version(1.0)
111 library IEXTagLib
114 uuid(7e8bc44e-aeff-11d1-89c2-00C04fb6bfc4)
116 coclass ClientCaps
118 [default] interface IClientCaps;