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.

85 lines
3.2 KiB

  1. //*****************************************************************************
  2. //
  3. // Microsoft Windows Media
  4. // Copyright (C) Microsoft Corporation. All rights reserved.
  5. //
  6. // FileName: wmsnamedvalues.idl
  7. //
  8. // Abstract:
  9. //
  10. //*****************************************************************************
  11. cpp_quote("//*****************************************************************************")
  12. cpp_quote("//")
  13. cpp_quote("// Microsoft Windows Media")
  14. cpp_quote("// Copyright (C) Microsoft Corporation. All rights reserved.")
  15. cpp_quote("//")
  16. cpp_quote("// Automatically generated by Midl from wmsnamedvalues.idl" )
  17. cpp_quote("//")
  18. cpp_quote("// DO NOT EDIT THIS FILE.")
  19. cpp_quote("//")
  20. cpp_quote("//*****************************************************************************")
  21. import "oaidl.idl";
  22. #include "colldispid.h"
  23. /////////////////////////////////////////////////////////////////////////////
  24. [
  25. object,
  26. uuid(18812741-4BEC-11D2-BF25-00805FBE84A6),
  27. dual,
  28. nonextensible,
  29. helpstring("Contains properties to modify or retrieve the values for a name-value pair."),
  30. pointer_default(unique)
  31. ]
  32. interface IWMSNamedValue : IDispatch
  33. {
  34. [propget, id(1), helpstring("Retrieves the name portion of the name-value pair.")] HRESULT
  35. Name([out, retval] BSTR *pVal);
  36. [propget, id(DISPID_VALUE), helpstring("Specifies or retrieves the value portion of the name-value pair.")] HRESULT
  37. Value([out, retval] VARIANT *pVal);
  38. [propput, id(DISPID_VALUE), helpstring("Specifies or retrieves the value portion of the name-value pair.")] HRESULT
  39. Value([in] VARIANT newVal);
  40. };
  41. /////////////////////////////////////////////////////////////////////////////
  42. [
  43. object,
  44. uuid(18812743-4BEC-11D2-BF25-00805FBE84A6),
  45. dual,
  46. nonextensible,
  47. helpstring("Contains a collection of IWMSNamedValue objects."),
  48. pointer_default(unique)
  49. ]
  50. interface IWMSNamedValues : IDispatch
  51. {
  52. [propput, id(DISPID_VALUE), helpstring("Returns or sets a name-value pair in the collection.")] HRESULT
  53. Item( [in] const VARIANT varIndex, [in] VARIANT varValue );
  54. // Standard collection Methods & Properties: Item, Count & _NewEnum
  55. COLLECTION_METHODS( IWMSNamedValue*, "Returns or sets a name-value pair in the collection." )
  56. [id(5), helpstring("Adds a name-value pair to the collection.")] HRESULT
  57. Add([in] BSTR szName, [in,defaultvalue("")] VARIANT varValue, [out, retval] IWMSNamedValue** pItem);
  58. [id(6), helpstring("Removes a name-value pair from the collection.")] HRESULT
  59. Remove([in] VARIANT varIndex);
  60. };
  61. /////////////////////////////////////////////////////////////////////////////
  62. [
  63. uuid(D75C4175-BC7B-11d2-B549-006097D2E46A),
  64. helpstring("Contains events for the IWMSNamedValues object."),
  65. ]
  66. dispinterface DWMSNamedValuesEvents
  67. {
  68. properties:
  69. methods:
  70. [id(1), helpstring("Indicates that the value for a name-value pair has changed.")]
  71. void OnValueChanged();
  72. };