mfreadwrite/reader: Use current stream type to set up sample allocator.
[wine/zf.git] / include / optary.idl
blobb0c49e62faef6d03264f2a6ace186b64e5cbcff3
1 /*
2 * Copyright 2006 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 "objidl.idl";
20 import "oleidl.idl";
22 /*****************************************************************************
23 * IOptionArray interface
26 local,
27 object,
28 uuid(22b6d492-0f88-11d1-ba19-00c04fd912d0),
29 pointer_default(unique)
31 interface IOptionArray : IUnknown
33 typedef [unique] IOptionArray *LPOPTIONARRAY;
35 HRESULT QueryOption(
36 [in] DWORD dwOption,
37 [out, size_is(*pcbBuf)] LPVOID pBuffer,
38 [in, out] ULONG *pcbBuf);
40 HRESULT SetOption(
41 [in] DWORD dwOption,
42 [in, size_is(cbBuf)] LPVOID pBuffer,
43 [in] ULONG cbBuf);
46 /*****************************************************************************
47 * IHtmlLoadOptions interface
50 local,
51 object,
52 uuid(a71a0808-0f88-11d1-ba19-00c04fd912d0),
53 pointer_default(unique)
55 interface IHtmlLoadOptions : IOptionArray
57 typedef enum {
58 HTMLLOADOPTION_CODEPAGE,
59 HTMLLOADOPTION_INETSHORTCUTPATH,
60 HTMLLOADOPTION_HYPERLINK,
61 HTMLLOADOPTION_FRAMELOAD
62 } HTMLLOADOPTION;
65 cpp_quote("DEFINE_GUID(CLSID_HTMLLoadOptions, 0x18845040, 0x0FA5, 0x11D1, 0xBA,0x19, 0x00,0xC0,0x4F,0xD9,0x12,0xD0);")