iextag.idl 3 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
/*
 * Copyright 2011 Jacek Caban for CodeWeavers
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 */

import "oaidl.idl";
import "ocidl.idl";

[
    object,
    uuid(7e8bc44d-aeff-11d1-89c2-00c04fb6bfc4),
    dual,
    pointer_default(unique)
 ]
interface IClientCaps : IDispatch
{
    [propget, id(1)]
    HRESULT javaEnabled([out, retval] VARIANT_BOOL *pVal);

    [propget, id(2)]
    HRESULT cookieEnabled([out, retval] VARIANT_BOOL *pVal);

    [propget, id(3)]
    HRESULT cpuClass([out, retval] BSTR *p);

    [propget, id(4)]
    HRESULT systemLanguage([out, retval] BSTR *p);

    [propget, id(6)]
    HRESULT userLanguage([out, retval] BSTR *p);

    [propget, id(7)]
    HRESULT platform([out, retval] BSTR *p);

    [propget, id(9)]
    HRESULT connectionSpeed([out, retval] long *p);

    [propget, id(10)]
    HRESULT onLine([out, retval] VARIANT_BOOL *p);

    [propget, id(11)]
    HRESULT colorDepth([out, retval] long *p);

    [propget, id(12)]
    HRESULT bufferDepth([out, retval] long *p);

    [propget, id(13)]
    HRESULT width([out, retval] long *p);

    [propget, id(14)]
    HRESULT height([out, retval] long *p);

    [propget, id(15)]
    HRESULT availHeight([out, retval] long *p);

    [propget, id(16)]
    HRESULT availWidth([out, retval] long *p);

    [propget, id(17)]
    HRESULT connectionType([out, retval] BSTR *p);

    [id(18)]
    HRESULT isComponentInstalled(
            [in] BSTR bstrName,
            [in] BSTR bstrType,
            [in, defaultvalue("")] BSTR bStrVer,
            [out, retval] VARIANT_BOOL *p);

    [id(19)]
    HRESULT getComponentVersion(
            [in] BSTR bstrName,
            [in] BSTR bstrType,
            [out, retval] BSTR *pbstrVer);

    [id(20)]
    HRESULT compareVersions(
            [in] BSTR bstrVer1,
            [in] BSTR bstrVer2,
            [out, retval] long *p);

    [id(21)]
    HRESULT addComponentRequest(
            [in] BSTR bstrName,
            [in] BSTR bstrType,
            [in, defaultvalue("")] BSTR bstrVer);

    [id(22)]
    HRESULT doComponentRequest([out, retval] VARIANT_BOOL *p);

    [id(23)]
    HRESULT clearComponentRequest();
}
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120

[
    uuid(7e8bc440-aeff-11d1-89c2-00c04fb6bfc4),
    version(1.0)
]
library IEXTagLib
{
    [
        uuid(7e8bc44e-aeff-11d1-89c2-00C04fb6bfc4)
    ]
    coclass ClientCaps
    {
        [default] interface IClientCaps;
    }
}