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.

95 lines
3.9 KiB

  1. //*****************************************************************************
  2. //
  3. // Microsoft Windows Media
  4. // Copyright (C) Microsoft Corporation. All rights reserved.
  5. //
  6. // FileName: datacontainerversion.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 datacontainerversion.idl" )
  17. cpp_quote("//")
  18. cpp_quote("// DO NOT EDIT THIS FILE.")
  19. cpp_quote("//")
  20. cpp_quote("//*****************************************************************************")
  21. cpp_quote("#if _MSC_VER > 1000")
  22. cpp_quote("#pragma once")
  23. cpp_quote("#endif // _MSC_VER > 1000")
  24. import "objidl.idl";
  25. cpp_quote( "EXTERN_GUID( IID_IWMSDataContainerVersion, 0x3AE75C14,0x2B3A,0x11d2,0x9E,0xF7,0x00,0x60,0x97,0xD2,0xD7,0xCF );" )
  26. //////////////////////////////////////////////////////////////////////////////
  27. //
  28. // DATA CONTAINER PROPERTIES
  29. //
  30. // This is used for detecting matches in the stream cache.
  31. //////////////////////////////////////////////////////////////////////////////
  32. ///////////////////////////////////////////////////////////////////////////////
  33. typedef [public] enum WMS_DATA_CONTAINER_VERSION_CACHE_FLAGS
  34. {
  35. WMS_DATA_CONTAINER_VERSION_ALLOW_PROXY_CACHING = 0x01,
  36. WMS_DATA_CONTAINER_VERSION_ALLOW_PLAYER_CACHING = 0x02,
  37. WMS_DATA_CONTAINER_VERSION_ALLOW_STREAM_SPLITTING = 0x04
  38. } WMS_DATA_CONTAINER_VERSION_CACHE_FLAGS;
  39. //////////////////////////////////////////////////////////////////////////////
  40. //////////////////////////////////////////////////////////////////////////////
  41. [
  42. object,
  43. pointer_default(unique),
  44. uuid(3AE75C14-2B3A-11d2-9EF7-006097D2D7CF),
  45. version(9.0),
  46. helpstring("Provides methods for retrieving content version information.")
  47. ]
  48. interface IWMSDataContainerVersion : IUnknown
  49. {
  50. [helpstring("Retrieves the time at which the content was last modified.")] HRESULT
  51. GetLastModifiedTime( [out] DATE *pdateLastModifiedTime );
  52. [helpstring("Specifies the time at which the content was last modified.")] HRESULT
  53. SetLastModifiedTime( [in] DATE dateLastModifiedTime );
  54. [helpstring("Retrieves the content expiration date.")] HRESULT
  55. GetExpirationTime( [out] DATE *pdateExpirationTime );
  56. [helpstring("Specifies the content expiration date.")] HRESULT
  57. SetExpirationTime( [in] DATE dateExpirationTime );
  58. [helpstring("Retrieves flags that indicate whether content can be cached, proxied, or split.")] HRESULT
  59. GetCacheFlags( [out] long *plFlags );
  60. [helpstring("Specifies flags that indicate whether content can be cached, proxied, or split.")] HRESULT
  61. SetCacheFlags( [in] long lFlags );
  62. [helpstring("Retrieves the size of the content in bytes.")] HRESULT
  63. GetContentSize( [out] long *plContentSizeLow, [out] long *plContentSizeHigh );
  64. [helpstring("Specifies the size of the content in bytes.")] HRESULT
  65. SetContentSize( [in] long lContentSizeLow, [in] long lContentSizeHigh );
  66. [helpstring("Retrieves the number of entity tags.")] HRESULT
  67. GetEntityTagCount( [out] long *plNumEntityTags );
  68. [helpstring("Retrieves an entity tag, given an index number.")] HRESULT
  69. GetEntityTag( [in] long lTagNum, [out] BSTR *pszEntityTag );
  70. [helpstring("Specifies an entity tag.")] HRESULT
  71. SetEntityTag( [in] BSTR szEntityTag );
  72. [helpstring("Compares two IWMSDataContainerVersion objects to determine whether they are equal.")] HRESULT
  73. Compare( [in] IWMSDataContainerVersion *pVersion,
  74. [out] VARIANT_BOOL *pvfEqual );
  75. };