Source code of Windows XP (NT5)
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.

71 lines
3.5 KiB

  1. #ifndef _BRDISPID_H_
  2. #define _BRDISPID_H_
  3. //+-------------------------------------------------------------------------
  4. //
  5. // Microsoft Windows
  6. // Copyright (c) Microsoft Corporation. All rights reserved.
  7. //
  8. // File: brdispid.h
  9. //
  10. //--------------------------------------------------------------------------
  11. ////////////////////////////////////////////////////////////////////////////
  12. // IMediaBehavior
  13. ////////////////////////////////////////////////////////////////////////////
  14. #define DISPID_MBBEHAVIOR_BASE 0
  15. #define DISPID_MBBEHAVIOR_PLAYURL (DISPID_MBBEHAVIOR_BASE + 1)
  16. #define DISPID_MBBEHAVIOR_STOP (DISPID_MBBEHAVIOR_BASE + 2)
  17. #define DISPID_MBBEHAVIOR_PLAYNEXT (DISPID_MBBEHAVIOR_BASE + 3)
  18. #define DISPID_MBBEHAVIOR_CURRENTITEM (DISPID_MBBEHAVIOR_BASE + 4)
  19. #define DISPID_MBBEHAVIOR_NEXTITEM (DISPID_MBBEHAVIOR_BASE + 5)
  20. #define DISPID_MBBEHAVIOR_PLAYLISTINFO (DISPID_MBBEHAVIOR_BASE + 6)
  21. #define DISPID_MBBEHAVIOR_HASNEXTITEM (DISPID_MBBEHAVIOR_BASE + 7)
  22. #define DISPID_MBBEHAVIOR_PLAYSTATE (DISPID_MBBEHAVIOR_BASE + 8)
  23. #define DISPID_MBBEHAVIOR_OPENSTATE (DISPID_MBBEHAVIOR_BASE + 9)
  24. #define DISPID_MBBEHAVIOR_ENABLED (DISPID_MBBEHAVIOR_BASE + 10)
  25. #define DISPID_MBBEHAVIOR_DISABLEDUI (DISPID_MBBEHAVIOR_BASE + 11)
  26. #define DISPID_MBBEHAVIOR_LAST DISPID_MBBEHAVIOR_DISABLEDUI
  27. ////////////////////////////////////////////////////////////////////////////
  28. // IMediaItem
  29. ////////////////////////////////////////////////////////////////////////////
  30. #define DISPID_MBMEDIAITEM_BASE DISPID_MBBEHAVIOR_LAST
  31. #define DISPID_MBMEDIAITEM_SOURCEURL (DISPID_MBMEDIAITEM_BASE + 1)
  32. #define DISPID_MBMEDIAITEM_NAME (DISPID_MBMEDIAITEM_BASE + 2)
  33. #define DISPID_MBMEDIAITEM_DURATION (DISPID_MBMEDIAITEM_BASE + 3)
  34. #define DISPID_MBMEDIAITEM_ATTRIBUTECOUNT (DISPID_MBMEDIAITEM_BASE + 4)
  35. #define DISPID_MBMEDIAITEM_GETATTRIBUTENAME (DISPID_MBMEDIAITEM_BASE + 5)
  36. #define DISPID_MBMEDIAITEM_GETITEMINFO (DISPID_MBMEDIAITEM_BASE + 6)
  37. #define DISPID_MBMEDIAITEM_LAST DISPID_MBMEDIAITEM_GETITEMINFO
  38. ////////////////////////////////////////////////////////////////////////////
  39. // IPlaylistInfo
  40. ////////////////////////////////////////////////////////////////////////////
  41. #define DISPID_MBPLAYLISTINFO_BASE DISPID_MBMEDIAITEM_LAST
  42. #define DISPID_MBPLAYLISTINFO_NAME (DISPID_MBPLAYLISTINFO_BASE + 1)
  43. #define DISPID_MBPLAYLISTINFO_ATTRIBUTECOUNT (DISPID_MBPLAYLISTINFO_BASE + 2)
  44. #define DISPID_MBPLAYLISTINFO_GETATTRIBUTENAME (DISPID_MBPLAYLISTINFO_BASE + 3)
  45. #define DISPID_MBPLAYLISTINFO_GETITEMINFO (DISPID_MBPLAYLISTINFO_BASE + 4)
  46. #define DISPID_MBPLAYLISTINFO_LAST DISPID_MBPLAYLISTINFO_GETITEMINFO
  47. ////////////////////////////////////////////////////////////////////////////
  48. // DIID_mbEvents
  49. ////////////////////////////////////////////////////////////////////////////
  50. #define DISPID_MBBEHAVIOREVENT_BASE 4000
  51. #define DISPID_MBBEHAVIOREVENT_ONOPENSTATECHANGE (DISPID_MBBEHAVIOREVENT_BASE + 1)
  52. #define DISPID_MBBEHAVIOREVENT_ONPLAYSTATECHANGE (DISPID_MBBEHAVIOREVENT_BASE + 2)
  53. #define DISPID_MBBEHAVIOREVENT_ONSHOW (DISPID_MBBEHAVIOREVENT_BASE + 3)
  54. #define DISPID_MBBEHAVIOREVENT_ONHIDE (DISPID_MBBEHAVIOREVENT_BASE + 4)
  55. #endif // _BRDISPID_H_