Release 1.5.29.
[wine] / include / optary.idl
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 import "objidl.idl";
20 import "oleidl.idl";
21
22 /*****************************************************************************
23  *    IOptionArray interface
24  */
25 [
26     local,
27     object,
28     uuid(22b6d492-0f88-11d1-ba19-00c04fd912d0),
29     pointer_default(unique)
30 ]
31 interface IOptionArray : IUnknown
32 {
33     typedef [unique] IOptionArray *LPOPTIONARRAY;
34
35     HRESULT QueryOption(
36         [in] DWORD  dwOption,
37         [out, size_is(*pcbBuf)] LPVOID pBuffer,
38         [in, out] ULONG *pcbBuf);
39
40     HRESULT SetOption(
41         [in] DWORD dwOption,
42         [in, size_is(cbBuf)] LPVOID pBuffer,
43         [in] ULONG cbBuf);
44 }
45
46 /*****************************************************************************
47  *    IHtmlLoadOptions interface
48  */
49 [
50     local,
51     object,
52     uuid(a71a0808-0f88-11d1-ba19-00c04fd912d0),
53     pointer_default(unique)
54 ]
55 interface IHtmlLoadOptions : IOptionArray
56 {
57     typedef enum {
58         HTMLLOADOPTION_CODEPAGE,
59         HTMLLOADOPTION_INETSHORTCUTPATH,
60         HTMLLOADOPTION_HYPERLINK,
61         HTMLLOADOPTION_FRAMELOAD
62     } HTMLLOADOPTION;
63 }
64
65 cpp_quote("DEFINE_GUID(CLSID_HTMLLoadOptions, 0x18845040, 0x0FA5, 0x11D1, 0xBA,0x19, 0x00,0xC0,0x4F,0xD9,0x12,0xD0);")