Jacek Caban | e6ee2c1 | 2011-05-30 17:51:37 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2011 Jacek Caban for CodeWeavers |
| 3 | * |
| 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. |
| 8 | * |
| 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. |
| 13 | * |
| 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 |
| 17 | */ |
| 18 | |
| 19 | import "oaidl.idl"; |
| 20 | import "ocidl.idl"; |
| 21 | |
| 22 | [ |
| 23 | object, |
| 24 | uuid(7e8bc44d-aeff-11d1-89c2-00c04fb6bfc4), |
| 25 | dual, |
| 26 | pointer_default(unique) |
| 27 | ] |
| 28 | interface IClientCaps : IDispatch |
| 29 | { |
| 30 | [propget, id(1)] |
| 31 | HRESULT javaEnabled([out, retval] VARIANT_BOOL *pVal); |
| 32 | |
| 33 | [propget, id(2)] |
| 34 | HRESULT cookieEnabled([out, retval] VARIANT_BOOL *pVal); |
| 35 | |
| 36 | [propget, id(3)] |
| 37 | HRESULT cpuClass([out, retval] BSTR *p); |
| 38 | |
| 39 | [propget, id(4)] |
| 40 | HRESULT systemLanguage([out, retval] BSTR *p); |
| 41 | |
| 42 | [propget, id(6)] |
| 43 | HRESULT userLanguage([out, retval] BSTR *p); |
| 44 | |
| 45 | [propget, id(7)] |
| 46 | HRESULT platform([out, retval] BSTR *p); |
| 47 | |
| 48 | [propget, id(9)] |
| 49 | HRESULT connectionSpeed([out, retval] long *p); |
| 50 | |
| 51 | [propget, id(10)] |
| 52 | HRESULT onLine([out, retval] VARIANT_BOOL *p); |
| 53 | |
| 54 | [propget, id(11)] |
| 55 | HRESULT colorDepth([out, retval] long *p); |
| 56 | |
| 57 | [propget, id(12)] |
| 58 | HRESULT bufferDepth([out, retval] long *p); |
| 59 | |
| 60 | [propget, id(13)] |
| 61 | HRESULT width([out, retval] long *p); |
| 62 | |
| 63 | [propget, id(14)] |
| 64 | HRESULT height([out, retval] long *p); |
| 65 | |
| 66 | [propget, id(15)] |
| 67 | HRESULT availHeight([out, retval] long *p); |
| 68 | |
| 69 | [propget, id(16)] |
| 70 | HRESULT availWidth([out, retval] long *p); |
| 71 | |
| 72 | [propget, id(17)] |
| 73 | HRESULT connectionType([out, retval] BSTR *p); |
| 74 | |
| 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); |
| 81 | |
| 82 | [id(19)] |
| 83 | HRESULT getComponentVersion( |
| 84 | [in] BSTR bstrName, |
| 85 | [in] BSTR bstrType, |
| 86 | [out, retval] BSTR *pbstrVer); |
| 87 | |
| 88 | [id(20)] |
| 89 | HRESULT compareVersions( |
| 90 | [in] BSTR bstrVer1, |
| 91 | [in] BSTR bstrVer2, |
| 92 | [out, retval] long *p); |
| 93 | |
| 94 | [id(21)] |
| 95 | HRESULT addComponentRequest( |
| 96 | [in] BSTR bstrName, |
| 97 | [in] BSTR bstrType, |
| 98 | [in, defaultvalue("")] BSTR bstrVer); |
| 99 | |
| 100 | [id(22)] |
| 101 | HRESULT doComponentRequest([out, retval] VARIANT_BOOL *p); |
| 102 | |
| 103 | [id(23)] |
| 104 | HRESULT clearComponentRequest(); |
| 105 | } |
Jacek Caban | 17a6dbf | 2011-06-02 17:59:11 +0200 | [diff] [blame] | 106 | |
| 107 | [ |
| 108 | uuid(7e8bc440-aeff-11d1-89c2-00c04fb6bfc4), |
| 109 | version(1.0) |
| 110 | ] |
| 111 | library IEXTagLib |
| 112 | { |
| 113 | [ |
| 114 | uuid(7e8bc44e-aeff-11d1-89c2-00C04fb6bfc4) |
| 115 | ] |
| 116 | coclass ClientCaps |
| 117 | { |
| 118 | [default] interface IClientCaps; |
| 119 | } |
| 120 | } |