1 | /*
|
---|
2 | * Copyright 2006 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 | /*
|
---|
20 | * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Sun elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | import "objidl.idl";
|
---|
29 | import "oleidl.idl";
|
---|
30 |
|
---|
31 | /*****************************************************************************
|
---|
32 | * IOptionArray interface
|
---|
33 | */
|
---|
34 | [
|
---|
35 | local,
|
---|
36 | object,
|
---|
37 | uuid(22b6d492-0f88-11d1-ba19-00c04fd912d0),
|
---|
38 | pointer_default(unique)
|
---|
39 | ]
|
---|
40 | interface IOptionArray : IUnknown
|
---|
41 | {
|
---|
42 | typedef [unique] IOptionArray *LPOPTIONARRAY;
|
---|
43 |
|
---|
44 | HRESULT QueryOption(
|
---|
45 | [in] DWORD dwOption,
|
---|
46 | [out, size_is(*pcbBuf)] LPVOID pBuffer,
|
---|
47 | [in, out] ULONG *pcbBuf);
|
---|
48 |
|
---|
49 | HRESULT SetOption(
|
---|
50 | [in] DWORD dwOption,
|
---|
51 | [in, size_is(cbBuf)] LPVOID pBuffer,
|
---|
52 | [in] ULONG cbBuf);
|
---|
53 | }
|
---|
54 |
|
---|
55 | /*****************************************************************************
|
---|
56 | * IHtmlLoadOptions interface
|
---|
57 | */
|
---|
58 | [
|
---|
59 | local,
|
---|
60 | object,
|
---|
61 | uuid(a71a0808-0f88-11d1-ba19-00c04fd912d0),
|
---|
62 | pointer_default(unique)
|
---|
63 | ]
|
---|
64 | interface IHtmlLoadOptions : IOptionArray
|
---|
65 | {
|
---|
66 | typedef enum {
|
---|
67 | HTMLLOADOPTION_CODEPAGE,
|
---|
68 | HTMLLOADOPTION_INETSHORTCUTPATH,
|
---|
69 | HTMLLOADOPTION_HYPERLINK,
|
---|
70 | HTMLLOADOPTION_FRAMELOAD
|
---|
71 | } HTMLLOADOPTION;
|
---|
72 | }
|
---|
73 |
|
---|
74 | cpp_quote("DEFINE_GUID(CLSID_HTMLLoadOptions, 0x18845040, 0x0FA5, 0x11D1, 0xBA,0x19, 0x00,0xC0,0x4F,0xD9,0x12,0xD0);")
|
---|