optary.idl 1.9 KB

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