Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
3.3 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992-1998.
  5. //
  6. // File: optary.idl
  7. //
  8. // Contents: IOptionArray interfaces
  9. //
  10. // Classes:
  11. //
  12. // Functions:
  13. //
  14. // History: 08-07-97 DBau (David Bau) Created
  15. //
  16. //----------------------------------------------------------------------------
  17. cpp_quote("//=--------------------------------------------------------------------------=")
  18. cpp_quote("// optary.h")
  19. cpp_quote("//=--------------------------------------------------------------------------=")
  20. cpp_quote("// (C) Copyright 1995-1998 Microsoft Corporation. All Rights Reserved.")
  21. cpp_quote("//")
  22. cpp_quote("// THIS CODE AND INFORMATION IS PROVIDED \"AS IS\" WITHOUT WARRANTY OF")
  23. cpp_quote("// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO")
  24. cpp_quote("// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A")
  25. cpp_quote("// PARTICULAR PURPOSE.")
  26. cpp_quote("//=--------------------------------------------------------------------------=")
  27. cpp_quote("")
  28. cpp_quote("#pragma comment(lib,\"uuid.lib\")")
  29. cpp_quote("")
  30. cpp_quote("//---------------------------------------------------------------------------=")
  31. cpp_quote("// IOptionArray Interface.")
  32. cpp_quote("")
  33. import "objidl.idl";
  34. import "oleidl.idl";
  35. interface IOptionArray;
  36. //+---------------------------------------------------------------------------
  37. //
  38. // Copyright (C) Microsoft Corporation, 1995-1998.
  39. //
  40. // Contents: IOptionArray interface definition
  41. //
  42. //----------------------------------------------------------------------------
  43. cpp_quote("#ifndef _LPOPTIONARRAY_DEFINED")
  44. cpp_quote("#define _LPOPTIONARRAY_DEFINED")
  45. [local, object, uuid(22b6d492-0f88-11d1-ba19-00c04fd912d0), pointer_default(unique)]
  46. interface IOptionArray : IUnknown
  47. {
  48. typedef [unique] IOptionArray *LPOPTIONARRAY;
  49. HRESULT QueryOption(
  50. [in] DWORD dwOption,
  51. [out, size_is(*pcbBuf)] LPVOID pBuffer,
  52. [in, out] ULONG *pcbBuf);
  53. HRESULT SetOption(
  54. [in] DWORD dwOption,
  55. [in, size_is(cbBuf)] LPVOID pBuffer,
  56. [in] ULONG cbBuf);
  57. }
  58. //+---------------------------------------------------------------------------
  59. //
  60. // Copyright (C) Microsoft Corporation, 1995-1998.
  61. //
  62. // Contents: IHtmlLoadOptions interface definition
  63. //
  64. //----------------------------------------------------------------------------
  65. cpp_quote("// HTMLLoadOptions CLSID")
  66. cpp_quote("EXTERN_C const CLSID CLSID_HTMLLoadOptions; // {18845040-0fa5-11d1-ba19-00c04fd912d0}")
  67. [local, object, uuid(a71a0808-0f88-11d1-ba19-00c04fd912d0), pointer_default(unique)]
  68. interface IHtmlLoadOptions : IOptionArray
  69. {
  70. typedef enum
  71. {
  72. HTMLLOADOPTION_CODEPAGE = 0x00000000, // default codepage, 4 bytes
  73. HTMLLOADOPTION_INETSHORTCUTPATH = 0x00000001, // Path to Shortcut, Wide Char String Variable size
  74. HTMLLOADOPTION_HYPERLINK = 0x00000002, // true if true hyperlink load (not init subframe load), 4 bytes
  75. HTMLLOADOPTION_FRAMELOAD = 0x00000003, // unused - to be removed
  76. } HTMLLOADOPTION;
  77. }
  78. cpp_quote("#endif")