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.

80 lines
3.0 KiB

  1. //*****************************************************************************
  2. //
  3. // Microsoft Windows Media
  4. // Copyright (C) Microsoft Corporation. All rights reserved.
  5. //
  6. // FileName: wmsevent.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 wmsevent.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 "oaidl.idl";
  25. cpp_quote("#define WMS_EVENT_VERSION 1")
  26. ///////////////////////////////////////////////////////////////////////////////
  27. typedef [public] enum WMS_EVENT_TYPE
  28. {
  29. WMS_EVENT_UNKNOWN_EVENT = 0,
  30. WMS_EVENT_CONNECT = 1, // can be authorized
  31. WMS_EVENT_DISCONNECT = 2,
  32. WMS_EVENT_BEGIN_USER_SESSION = 3, // can be authorized
  33. WMS_EVENT_END_USER_SESSION = 4,
  34. // The following 2 URL transform events will only be authorized
  35. WMS_EVENT_LOGICAL_URL_TRANSFORM = 5, // can be authorized
  36. WMS_EVENT_PHYSICAL_URL_TRANSFORM = 6, // can be authorized
  37. WMS_EVENT_DESCRIBE = 7, // can be authorized
  38. WMS_EVENT_OPEN = 8, // can be authorized
  39. WMS_EVENT_SELECT_STREAMS = 9, // can be authorized
  40. WMS_EVENT_INITIALIZE_PLAYLIST = 10, // can be authorized
  41. WMS_EVENT_PLAY = 11, // can be authorized
  42. WMS_EVENT_PAUSE = 12,
  43. WMS_EVENT_STOP = 13,
  44. WMS_EVENT_CLOSE = 14,
  45. WMS_EVENT_SET_PARAMETER = 15,
  46. WMS_EVENT_GET_PARAMETER = 16, // can be authorized
  47. WMS_EVENT_VALIDATE_PUSH_DISTRIBUTION = 17, // can be authorized
  48. WMS_EVENT_CREATE_DISTRIBUTION_DATA_PATH = 18,
  49. WMS_EVENT_DESTROY_DISTRIBUTION_DATA_PATH = 19,
  50. WMS_EVENT_LOG = 20,
  51. WMS_EVENT_SERVER = 21,
  52. WMS_EVENT_PUBLISHING_POINT = 22,
  53. WMS_EVENT_LIMIT_CHANGE = 23,
  54. WMS_EVENT_LIMIT_HIT = 24,
  55. WMS_EVENT_PLUGIN = 25,
  56. WMS_EVENT_PLAYLIST = 26,
  57. WMS_EVENT_CACHE = 27, // local cache events
  58. WMS_EVENT_REMOTE_CACHE_OPEN = 28, // event propagated to origin server
  59. WMS_EVENT_REMOTE_CACHE_CLOSE = 29, // event propagated to origin server
  60. WMS_EVENT_REMOTE_CACHE_LOG = 30, // event propagated to origin server
  61. [hidden] WMS_NUM_EVENTS = 31
  62. } WMS_EVENT_TYPE;
  63. ///////////////////////////////////////////////////////////////////////////////
  64. typedef struct WMS_EVENT
  65. {
  66. long Version;
  67. WMS_EVENT_TYPE Type;
  68. long hr;
  69. } WMS_EVENT;