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.

397 lines
28 KiB

  1. // Copyright (C) Microsoft Corporation, 1999
  2. //
  3. // IDs for HTML+TIME
  4. //
  5. // Just follow the template when adding either DISPIDs or new interfaces.
  6. //
  7. #ifndef __TIMEDISPID_H__
  8. #define __TIMEDISPID_H__
  9. // Base offset:
  10. //
  11. // need to reposition our IDs low for DHTML Behaviors
  12. //
  13. #define DISPID_BASE 0x00000000
  14. // Interface offsets:
  15. #define TIMEELEMENT_OFFSET 0x0100
  16. #define TIMEBODYELEMENT_OFFSET 0x0200
  17. #define TIMEANIMATIONELEMENT_OFFSET 0x0300
  18. #define TIMEMEDIAELEMENT_OFFSET 0x0400
  19. #define TIMEFACTORY_OFFSET 0x0500
  20. #define TIMECOLLECTION_OFFSET 0x0600
  21. #define TIMECOLLECTION_RESERVED_OFFSET 0x0700
  22. #define TIMEMEDIAPLAYER_OFFSET 0x0800
  23. #define TIMEMEDIAPLAYERAUDIO_OFFSET 0x0900
  24. #define TIMEEVENTELEMENT_OFFSET 0x0A00
  25. #define TIMEPLAYLIST_OFFSET 0x0B00
  26. #define TIMEPLAYITEM_OFFSET 0x0C00
  27. #define TIMEDVDPLAYEROBJECT_OFFSET 0x0D00
  28. #define SMILANIMATIONCOMPSITE_OFFSET 0x0E00
  29. #define SMILANIMATIONFRAGMENT_OFFSET 0x0F00
  30. #define TIMESTATE_OFFSET 0x1000
  31. #define TIMEDMPLAYEROBJECT_OFFSET 0x1100
  32. #define TIMEMEDIAPLAYERSITE_OFFSET 0x1200
  33. #define TIMEMEDIAPLAYERCONTROL_OFFSET 0x1300
  34. #define TIMEMEDIAELEMENT2_OFFSET 0x1400
  35. #define TIMETRANSITIONELEMENT_OFFSET 0x1500
  36. #define TIMEMEDIAPLAYERNETWORK_OFFSET 0x1600
  37. #define DISPID_TIME_MIN 0x0001
  38. #define DISPID_TIME_MAX 0x270F
  39. // Interface bases:
  40. #define DISPID_TIMEELEMENT_BASE (DISPID_BASE + TIMEELEMENT_OFFSET)
  41. #define DISPID_TIMEBODYELEMENT_BASE (DISPID_BASE + TIMEBODYELEMENT_OFFSET)
  42. #define DISPID_TIMEMEDIAELEMENT_BASE (DISPID_BASE + TIMEMEDIAELEMENT_OFFSET)
  43. #define DISPID_TIMEEVENTELEMENT_BASE (DISPID_BASE + TIMEEVENTELEMENT_OFFSET)
  44. #define DISPID_TIMEFACTORY_BASE (DISPID_BASE + TIMEFACTORY_OFFSET)
  45. #define DISPID_TIMECOLLECTION_BASE (DISPID_BASE + TIMECOLLECTION_OFFSET)
  46. #define DISPID_TIMECOLLECTION_RESERVED_BASE (DISPID_BASE + TIMECOLLECTION_RESERVED_OFFSET)
  47. #define DISPID_TIMEMEDIAPLAYER_BASE (DISPID_BASE + TIMEMEDIAPLAYER_OFFSET)
  48. #define DISPID_TIMEMEDIAPLAYERAUDIO_BASE (DISPID_BASE + TIMEMEDIAPLAYERAUDIO_OFFSET)
  49. #define DISPID_TIMEPLAYLIST_BASE (DISPID_BASE + TIMEPLAYLIST_OFFSET)
  50. #define DISPID_TIMEPLAYITEM_BASE (DISPID_BASE + TIMEPLAYITEM_OFFSET)
  51. #define DISPID_TIMEDVDPLAYEROBJECT_BASE (DISPID_BASE + TIMEDVDPLAYEROBJECT_OFFSET)
  52. #define DISPID_TIMEANIMATIONELEMENT_BASE (DISPID_BASE + TIMEANIMATIONELEMENT_OFFSET)
  53. #define DISPID_SMILANIMATIONCOMPSITE_BASE (DISPID_BASE + SMILANIMATIONCOMPSITE_OFFSET)
  54. #define DISPID_SMILANIMATIONFRAGMENT_BASE (DISPID_BASE + SMILANIMATIONFRAGMENT_OFFSET)
  55. #define DISPID_TIMESTATE_BASE (DISPID_BASE + TIMESTATE_OFFSET)
  56. #define DISPID_TIMEDMPLAYEROBJECT_BASE (DISPID_BASE + TIMEDMPLAYEROBJECT_OFFSET)
  57. #define DISPID_TIMEMEDIAPLAYERSITE_BASE (DISPID_BASE + TIMEMEDIAPLAYERSITE_OFFSET)
  58. #define DISPID_TIMEMEDIAPLAYERCONTROL_BASE (DISPID_BASE + TIMEMEDIAPLAYERCONTROL_OFFSET)
  59. #define DISPID_TIMEMEDIAELEMENT2_BASE (DISPID_BASE + TIMEMEDIAELEMENT2_OFFSET)
  60. #define DISPID_TIMETRANSITIONELEMENT_BASE (DISPID_BASE + TIMETRANSITIONELEMENT_OFFSET)
  61. #define DISPID_TIMEMEDIAPLAYERNETWORK_BASE (DISPID_BASE + TIMEMEDIAPLAYERNETWORK_OFFSET)
  62. // Collection Reserve (for expando's and ordinal's)
  63. #define DISPID_COLLECTION_RESERVED_MIN DISPID_TIMECOLLECTION_RESERVED_BASE
  64. #define DISPID_COLLECTION_RESERVED_MAX 0x0000007FF
  65. // =============================================
  66. // ITIMEElement DISPIDs:
  67. // =============================================
  68. // XML Attributes
  69. #define DISPID_TIMEELEMENT_ACCELERATE (DISPID_TIMEELEMENT_BASE + 0x01)
  70. #define DISPID_TIMEELEMENT_ACCELERATEFROM (DISPID_TIMEELEMENT_BASE + 0x02)
  71. #define DISPID_TIMEELEMENT_AUTOREVERSE (DISPID_TIMEELEMENT_BASE + 0x03)
  72. #define DISPID_TIMEELEMENT_BEGIN (DISPID_TIMEELEMENT_BASE + 0x04)
  73. #define DISPID_TIMEELEMENT_DECELERATE (DISPID_TIMEELEMENT_BASE + 0x05)
  74. #define DISPID_TIMEELEMENT_DECELERATETO (DISPID_TIMEELEMENT_BASE + 0x06)
  75. #define DISPID_TIMEELEMENT_DUR (DISPID_TIMEELEMENT_BASE + 0x07)
  76. #define DISPID_TIMEELEMENT_END (DISPID_TIMEELEMENT_BASE + 0x08)
  77. #define DISPID_TIMEELEMENT_FILL (DISPID_TIMEELEMENT_BASE + 0x0a)
  78. #define DISPID_TIMEELEMENT_MUTE (DISPID_TIMEELEMENT_BASE + 0x0b)
  79. #define DISPID_TIMEELEMENT_REPEATCOUNT (DISPID_TIMEELEMENT_BASE + 0x0c)
  80. #define DISPID_TIMEELEMENT_REPEATDUR (DISPID_TIMEELEMENT_BASE + 0x0d)
  81. #define DISPID_TIMEELEMENT_RESTART (DISPID_TIMEELEMENT_BASE + 0x0e)
  82. #define DISPID_TIMEELEMENT_SPEED (DISPID_TIMEELEMENT_BASE + 0x0f)
  83. #define DISPID_TIMEELEMENT_SYNCBEHAVIOR (DISPID_TIMEELEMENT_BASE + 0x10)
  84. #define DISPID_TIMEELEMENT_SYNCMASTER (DISPID_TIMEELEMENT_BASE + 0x11)
  85. #define DISPID_TIMEELEMENT_SYNCTOLERANCE (DISPID_TIMEELEMENT_BASE + 0x12)
  86. #define DISPID_TIMEELEMENT_TIMEACTION (DISPID_TIMEELEMENT_BASE + 0x13)
  87. #define DISPID_TIMEELEMENT_TIMECONTAINER (DISPID_TIMEELEMENT_BASE + 0x14)
  88. #define DISPID_TIMEELEMENT_UPDATEMODE (DISPID_TIMEELEMENT_BASE + 0x15)
  89. #define DISPID_TIMEELEMENT_VOLUME (DISPID_TIMEELEMENT_BASE + 0x16)
  90. // Properties
  91. #define DISPID_TIMEELEMENT_CURRTIMESTATE (DISPID_TIMEELEMENT_BASE + 0x20)
  92. #define DISPID_TIMEELEMENT_TIMEALL (DISPID_TIMEELEMENT_BASE + 0x21)
  93. #define DISPID_TIMEELEMENT_TIMECHILDREN (DISPID_TIMEELEMENT_BASE + 0x22)
  94. #define DISPID_TIMEELEMENT_TIMEPARENT (DISPID_TIMEELEMENT_BASE + 0x23)
  95. #define DISPID_TIMEELEMENT_ISPAUSED (DISPID_TIMEELEMENT_BASE + 0x24)
  96. // Methods
  97. #define DISPID_TIMEELEMENT_BEGINELEMENT (DISPID_TIMEELEMENT_BASE + 0x30)
  98. #define DISPID_TIMEELEMENT_BEGINELEMENTAT (DISPID_TIMEELEMENT_BASE + 0x31)
  99. #define DISPID_TIMEELEMENT_ENDELEMENT (DISPID_TIMEELEMENT_BASE + 0x32)
  100. #define DISPID_TIMEELEMENT_ENDELEMENTAT (DISPID_TIMEELEMENT_BASE + 0x33)
  101. #define DISPID_TIMEELEMENT_PAUSEELEMENT (DISPID_TIMEELEMENT_BASE + 0x34)
  102. #define DISPID_TIMEELEMENT_RESET (DISPID_TIMEELEMENT_BASE + 0x35)
  103. #define DISPID_TIMEELEMENT_RESUMEELEMENT (DISPID_TIMEELEMENT_BASE + 0x36)
  104. #define DISPID_TIMEELEMENT_SEEKACTIVETIME (DISPID_TIMEELEMENT_BASE + 0x37)
  105. #define DISPID_TIMEELEMENT_SEEKSEGMENTTIME (DISPID_TIMEELEMENT_BASE + 0x38)
  106. #define DISPID_TIMEELEMENT_SEEKTO (DISPID_TIMEELEMENT_BASE + 0x39)
  107. #define DISPID_TIMEELEMENT_UPDATE (DISPID_TIMEELEMENT_BASE + 0x3a)
  108. #define DISPID_TIMEELEMENT_DOCUMENTTIMETOPARENTTIME (DISPID_TIMEELEMENT_BASE + 0x3b)
  109. #define DISPID_TIMEELEMENT_PARENTTIMETODOCUMENTTIME (DISPID_TIMEELEMENT_BASE + 0x3c)
  110. #define DISPID_TIMEELEMENT_PARENTTIMETOACTIVETIME (DISPID_TIMEELEMENT_BASE + 0x3d)
  111. #define DISPID_TIMEELEMENT_ACTIVETIMETOPARENTTIME (DISPID_TIMEELEMENT_BASE + 0x3e)
  112. #define DISPID_TIMEELEMENT_ACTIVETIMETOSEGMENTTIME (DISPID_TIMEELEMENT_BASE + 0x3f)
  113. #define DISPID_TIMEELEMENT_SEGMENTTIMETOACTIVETIME (DISPID_TIMEELEMENT_BASE + 0x40)
  114. #define DISPID_TIMEELEMENT_SEGMENTTIMETOSIMPLETIME (DISPID_TIMEELEMENT_BASE + 0x41)
  115. #define DISPID_TIMEELEMENT_SIMPLETIMETOSEGMENTTIME (DISPID_TIMEELEMENT_BASE + 0x42)
  116. // Container attributes
  117. #define DISPID_TIMEELEMENT_ENDSYNC (DISPID_TIMEELEMENT_BASE + 0x50)
  118. // Container Properties
  119. #define DISPID_TIMEELEMENT_ACTIVEELEMENTS (DISPID_TIMEELEMENT_BASE + 0x60)
  120. #define DISPID_TIMEELEMENT_HASMEDIA (DISPID_TIMEELEMENT_BASE + 0x61)
  121. // Container Methods
  122. #define DISPID_TIMEELEMENT_NEXTELEMENT (DISPID_TIMEELEMENT_BASE + 0x70)
  123. #define DISPID_TIMEELEMENT_PREVELEMENT (DISPID_TIMEELEMENT_BASE + 0x71)
  124. //
  125. // ITIMEBodyElement DISPIDs:
  126. //
  127. // empty interface
  128. // =============================================
  129. // ITIMEMediaElement DISPIDs:
  130. // =============================================
  131. // XML Attributes
  132. #define DISPID_TIMEMEDIAELEMENT_CLIPBEGIN (DISPID_TIMEMEDIAELEMENT_BASE + 0x01)
  133. #define DISPID_TIMEMEDIAELEMENT_CLIPEND (DISPID_TIMEMEDIAELEMENT_BASE + 0x02)
  134. #define DISPID_TIMEMEDIAELEMENT_PLAYER (DISPID_TIMEMEDIAELEMENT_BASE + 0x03)
  135. #define DISPID_TIMEMEDIAELEMENT_SRC (DISPID_TIMEMEDIAELEMENT_BASE + 0x04)
  136. #define DISPID_TIMEMEDIAELEMENT_TYPE (DISPID_TIMEMEDIAELEMENT_BASE + 0x05)
  137. // Properties
  138. #define DISPID_TIMEMEDIAELEMENT_ABSTRACT (DISPID_TIMEMEDIAELEMENT_BASE + 0x10)
  139. #define DISPID_TIMEMEDIAELEMENT_AUTHOR (DISPID_TIMEMEDIAELEMENT_BASE + 0x11)
  140. #define DISPID_TIMEMEDIAELEMENT_COPYRIGHT (DISPID_TIMEMEDIAELEMENT_BASE + 0x12)
  141. #define DISPID_TIMEMEDIAELEMENT_HASAUDIO (DISPID_TIMEMEDIAELEMENT_BASE + 0x13)
  142. #define DISPID_TIMEMEDIAELEMENT_HASVISUAL (DISPID_TIMEMEDIAELEMENT_BASE + 0x14)
  143. #define DISPID_TIMEMEDIAELEMENT_MEDIACAPS (DISPID_TIMEMEDIAELEMENT_BASE + 0x15)
  144. #define DISPID_TIMEMEDIAELEMENT_MEDIADUR (DISPID_TIMEMEDIAELEMENT_BASE + 0x16)
  145. #define DISPID_TIMEMEDIAELEMENT_MEDIAHEIGHT (DISPID_TIMEMEDIAELEMENT_BASE + 0x17)
  146. #define DISPID_TIMEMEDIAELEMENT_MEDIAWIDTH (DISPID_TIMEMEDIAELEMENT_BASE + 0x18)
  147. #define DISPID_TIMEMEDIAELEMENT_PLAYEROBJECT (DISPID_TIMEMEDIAELEMENT_BASE + 0x19)
  148. #define DISPID_TIMEMEDIAELEMENT_PLAYLIST (DISPID_TIMEMEDIAELEMENT_BASE + 0x1a)
  149. #define DISPID_TIMEMEDIAELEMENT_RATING (DISPID_TIMEMEDIAELEMENT_BASE + 0x1b)
  150. #define DISPID_TIMEMEDIAELEMENT_TITLE (DISPID_TIMEMEDIAELEMENT_BASE + 0x1c)
  151. #define DISPID_TIMEMEDIAELEMENT_HASPLAYLIST (DISPID_TIMEMEDIAELEMENT_BASE + 0x1d)
  152. // Media Caps
  153. #define DISPID_TIMEMEDIAELEMENT_CANPAUSE (DISPID_TIMEMEDIAELEMENT_BASE + 0x30)
  154. #define DISPID_TIMEMEDIAELEMENT_CANSEEK (DISPID_TIMEMEDIAELEMENT_BASE + 0x32)
  155. // Methods
  156. // =============================================
  157. // ITIMEAnimationElement DISPIDs
  158. // =============================================
  159. #define DISPID_TIMEANIMATIONELEMENT_ATTRIBUTENAME (DISPID_TIMEANIMATIONELEMENT_BASE + 0x01)
  160. #define DISPID_TIMEANIMATIONELEMENT_BY (DISPID_TIMEANIMATIONELEMENT_BASE + 0x02)
  161. #define DISPID_TIMEANIMATIONELEMENT_CALCMODE (DISPID_TIMEANIMATIONELEMENT_BASE + 0x03)
  162. #define DISPID_TIMEANIMATIONELEMENT_FROM (DISPID_TIMEANIMATIONELEMENT_BASE + 0x04)
  163. #define DISPID_TIMEANIMATIONELEMENT_KEYSPLINES (DISPID_TIMEANIMATIONELEMENT_BASE + 0x05)
  164. #define DISPID_TIMEANIMATIONELEMENT_KEYTIMES (DISPID_TIMEANIMATIONELEMENT_BASE + 0x06)
  165. #define DISPID_TIMEANIMATIONELEMENT_TARGETELEMENT (DISPID_TIMEANIMATIONELEMENT_BASE + 0x07)
  166. #define DISPID_TIMEANIMATIONELEMENT_TO (DISPID_TIMEANIMATIONELEMENT_BASE + 0x08)
  167. #define DISPID_TIMEANIMATIONELEMENT_VALUES (DISPID_TIMEANIMATIONELEMENT_BASE + 0x09)
  168. #define DISPID_TIMEANIMATIONELEMENT_ORIGIN (DISPID_TIMEANIMATIONELEMENT_BASE + 0x0a)
  169. #define DISPID_TIMEANIMATIONELEMENT_PATH (DISPID_TIMEANIMATIONELEMENT_BASE + 0x0b)
  170. #define DISPID_TIMEANIMATIONELEMENT_ADDITIVE (DISPID_TIMEANIMATIONELEMENT_BASE + 0x0c)
  171. #define DISPID_TIMEANIMATIONELEMENT_ACCUMULATE (DISPID_TIMEANIMATIONELEMENT_BASE + 0x0d)
  172. #define DISPID_TIMEANIMATIONELEMENT_TYPE (DISPID_TIMEANIMATIONELEMENT_BASE + 0x0e)
  173. #define DISPID_TIMEANIMATIONELEMENT_SUBTYPE (DISPID_TIMEANIMATIONELEMENT_BASE + 0x0f)
  174. #define DISPID_TIMEANIMATIONELEMENT_MODE (DISPID_TIMEANIMATIONELEMENT_BASE + 0x10)
  175. #define DISPID_TIMEANIMATIONELEMENT_FADECOLOR (DISPID_TIMEANIMATIONELEMENT_BASE + 0x11)
  176. // IAnimationComposerSite DISPIDs
  177. #define DISPID_SMILANIMATIONCOMPSITE_ADDFRAGMENT (DISPID_SMILANIMATIONCOMPSITE_BASE + 0x01)
  178. #define DISPID_SMILANIMATIONCOMPSITE_REMOVEFRAGMENT (DISPID_SMILANIMATIONCOMPSITE_BASE + 0x02)
  179. #define DISPID_SMILANIMATIONCOMPSITE_INSERTFRAGMENT (DISPID_SMILANIMATIONCOMPSITE_BASE + 0x03)
  180. #define DISPID_SMILANIMATIONCOMPSITE_ENUMERATEFRAGMENTS (DISPID_SMILANIMATIONCOMPSITE_BASE + 0x04)
  181. #define DISPID_SMILANIMATIONCOMPSITE_REGISTERFACTORY (DISPID_SMILANIMATIONCOMPSITE_BASE + 0x05)
  182. #define DISPID_SMILANIMATIONCOMPSITE_UNREGISTER_FACTORY (DISPID_SMILANIMATIONCOMPSITE_BASE + 0x06)
  183. // IAnimationFragment
  184. #define DISPID_SMILANIMATIONFRAGMENT_ELEMENT (DISPID_SMILANIMATIONFRAGMENT_BASE + 0x01)
  185. #define DISPID_SMILANIMATIONFRAGMENT_VALUE (DISPID_SMILANIMATIONFRAGMENT_BASE + 0x02)
  186. #define DISPID_SMILANIMATIONFRAGMENT_DETACHFROMCOMPOSER (DISPID_SMILANIMATIONFRAGMENT_BASE + 0x03)
  187. // ITIMEEventElement DISPIDs:
  188. #define DISPID_TIMEEVENTELEMENT_TYPE (DISPID_TIMEEVENTELEMENT_BASE + 0x01)
  189. #define DISPID_TIMEEVENTELEMENT_ACTIVE (DISPID_TIMEEVENTELEMENT_BASE + 0x02)
  190. // ITIMEFactory DISPIDs:
  191. #define DISPID_TIMEFACTORY_CREATETIMEELEMENT (DISPID_TIMEFACTORY_BASE + 0x01)
  192. #define DISPID_TIMEFACTORY_CREATETIMEELEMENTBODY (DISPID_TIMEFACTORY_BASE + 0x02)
  193. #define DISPID_TIMEFACTORY_CREATETIMEDAELEMENT (DISPID_TIMEFACTORY_BASE + 0x03)
  194. #define DISPID_TIMEFACTORY_CREATETIMEMEDIAELEMENT (DISPID_TIMEFACTORY_BASE + 0x04)
  195. //
  196. // ITIMEElementCollection
  197. //
  198. #define DISPID_TIMEELEMENTCOLLECTION_LENGTH (DISPID_TIMECOLLECTION_BASE + 0x01)
  199. #define DISPID_TIMEELEMENTCOLLECTION__NEWENUM (DISPID_NEWENUM)
  200. #define DISPID_TIMEELEMENTCOLLECTION_ITEM (DISPID_VALUE)
  201. #define DISPID_TIMEELEMENTCOLLECTION_TAGS (DISPID_TIMECOLLECTION_BASE + 0x02)
  202. //
  203. // ITIMEMediaPlayerSite
  204. //
  205. #define DISPID_TIMEMEDIAPLAYERSITE_TIMEELEMENT (DISPID_TIMEMEDIAPLAYERSITE_BASE + 0x01)
  206. #define DISPID_TIMEMEDIAPLAYERSITE_TIMESTATE (DISPID_TIMEMEDIAPLAYERSITE_BASE + 0x02)
  207. #define DISPID_TIMEMEDIAPLAYERSITE_REPORTERROR (DISPID_TIMEMEDIAPLAYERSITE_BASE + 0x03)
  208. //
  209. // ITIMEMediaPlayer
  210. //
  211. #define DISPID_TIMEMEDIAPLAYER_INIT (DISPID_TIMEMEDIAPLAYER_BASE + 0x01)
  212. #define DISPID_TIMEMEDIAPLAYER_DETACH (DISPID_TIMEMEDIAPLAYER_BASE + 0x02)
  213. #define DISPID_TIMEMEDIAPLAYER_BEGIN (DISPID_TIMEMEDIAPLAYER_BASE + 0x10)
  214. #define DISPID_TIMEMEDIAPLAYER_END (DISPID_TIMEMEDIAPLAYER_BASE + 0x11)
  215. #define DISPID_TIMEMEDIAPLAYER_RESUME (DISPID_TIMEMEDIAPLAYER_BASE + 0x12)
  216. #define DISPID_TIMEMEDIAPLAYER_PAUSE (DISPID_TIMEMEDIAPLAYER_BASE + 0x13)
  217. #define DISPID_TIMEMEDIAPLAYER_REPEAT (DISPID_TIMEMEDIAPLAYER_BASE + 0x14)
  218. #define DISPID_TIMEMEDIAPLAYER_RESET (DISPID_TIMEMEDIAPLAYER_BASE + 0x15)
  219. #define DISPID_TIMEMEDIAPLAYER_SEEK (DISPID_TIMEMEDIAPLAYER_BASE + 0x16)
  220. // Properties - w
  221. #define DISPID_TIMEMEDIAPLAYER_SRC (DISPID_TIMEMEDIAPLAYER_BASE + 0x20)
  222. #define DISPID_TIMEMEDIAPLAYER_CLIPBEGIN (DISPID_TIMEMEDIAPLAYER_BASE + 0x21)
  223. #define DISPID_TIMEMEDIAPLAYER_CLIPEND (DISPID_TIMEMEDIAPLAYER_BASE + 0x22)
  224. // Properties - r/o
  225. #define DISPID_TIMEMEDIAPLAYER_ABSTRACT (DISPID_TIMEMEDIAPLAYER_BASE + 0x30)
  226. #define DISPID_TIMEMEDIAPLAYER_AUTHOR (DISPID_TIMEMEDIAPLAYER_BASE + 0x31)
  227. #define DISPID_TIMEMEDIAPLAYER_CANPAUSE (DISPID_TIMEMEDIAPLAYER_BASE + 0x32)
  228. #define DISPID_TIMEMEDIAPLAYER_CANSEEK (DISPID_TIMEMEDIAPLAYER_BASE + 0x34)
  229. #define DISPID_TIMEMEDIAPLAYER_CLIPDUR (DISPID_TIMEMEDIAPLAYER_BASE + 0x35)
  230. #define DISPID_TIMEMEDIAPLAYER_COPYRIGHT (DISPID_TIMEMEDIAPLAYER_BASE + 0x36)
  231. #define DISPID_TIMEMEDIAPLAYER_CURRTIME (DISPID_TIMEMEDIAPLAYER_BASE + 0x37)
  232. #define DISPID_TIMEMEDIAPLAYER_CUSTOM_OBJECT (DISPID_TIMEMEDIAPLAYER_BASE + 0x38)
  233. #define DISPID_TIMEMEDIAPLAYER_HASAUDIO (DISPID_TIMEMEDIAPLAYER_BASE + 0x39)
  234. #define DISPID_TIMEMEDIAPLAYER_HASVISUAL (DISPID_TIMEMEDIAPLAYER_BASE + 0x3A)
  235. #define DISPID_TIMEMEDIAPLAYER_MEDIADUR (DISPID_TIMEMEDIAPLAYER_BASE + 0x3B)
  236. #define DISPID_TIMEMEDIAPLAYER_MEDIAHEIGHT (DISPID_TIMEMEDIAPLAYER_BASE + 0x3C)
  237. #define DISPID_TIMEMEDIAPLAYER_MEDIAWIDTH (DISPID_TIMEMEDIAPLAYER_BASE + 0x3D)
  238. #define DISPID_TIMEMEDIAPLAYER_PLAYLIST (DISPID_TIMEMEDIAPLAYER_BASE + 0x3E)
  239. #define DISPID_TIMEMEDIAPLAYER_RATING (DISPID_TIMEMEDIAPLAYER_BASE + 0x3F)
  240. #define DISPID_TIMEMEDIAPLAYER_STATE (DISPID_TIMEMEDIAPLAYER_BASE + 0x40)
  241. #define DISPID_TIMEMEDIAPLAYER_TITLE (DISPID_TIMEMEDIAPLAYER_BASE + 0x41)
  242. //
  243. // ITIMEMediaPlayerAudio
  244. //
  245. #define DISPID_TIMEMEDIAPLAYERAUDIO_VOLUME (DISPID_TIMEMEDIAPLAYERAUDIO_BASE + 0x01)
  246. #define DISPID_TIMEMEDIAPLAYERAUDIO_MUTE (DISPID_TIMEMEDIAPLAYERAUDIO_BASE + 0x02)
  247. //
  248. // ITIMEMediaPlayerNetwork
  249. //
  250. #define DISPID_TIMEMEDIAPLAYERNETWORK_HASDOWNLOADPROGRESS (DISPID_TIMEMEDIAPLAYERNETWORK_BASE + 0x01)
  251. #define DISPID_TIMEMEDIAPLAYERNETWORK_DOWNLOADPROGRESS (DISPID_TIMEMEDIAPLAYERNETWORK_BASE + 0x02)
  252. #define DISPID_TIMEMEDIAPLAYERNETWORK_ISBUFFERED (DISPID_TIMEMEDIAPLAYERNETWORK_BASE + 0x03)
  253. #define DISPID_TIMEMEDIAPLAYERNETWORK_BUFFERINGPROGRESS (DISPID_TIMEMEDIAPLAYERNETWORK_BASE + 0x04)
  254. //
  255. // ITIMEMediaPlayerControl
  256. //
  257. #define DISPID_TIMEMEDIAPLAYERCONTROL_GETCONTROL (DISPID_TIMEMEDIAPLAYERCONTROL_BASE + 0x01)
  258. // ITIMEActiveElementsCollection
  259. #define DISPID_ACTIVEELMENTS_LENGTH (0x000005dc) //special dispid specific to collections
  260. #define DISPID_ACTIVEELMENTS_NEWENUM (DISPID_NEWENUM)
  261. #define DISPID_ACTIVEELMENTS_ITEM (0x00000000) //designates this as the default value for this collection.
  262. // ITIMEPlayList collectoion
  263. #define DISPID_TIMEPLAYLIST_ACTIVETRACK (DISPID_TIMEPLAYLIST_BASE + 0x01)
  264. #define DISPID_TIMEPLAYLIST_DUR (DISPID_TIMEPLAYLIST_BASE + 0x02)
  265. #define DISPID_TIMEPLAYLIST_ITEM (0x00000000) //designates this as the default value for this collection.
  266. #define DISPID_TIMEPLAYLIST_LENGTH (0x000005dc) //special dispid specific to collections
  267. #define DISPID_TIMEPLAYLIST_NEWENUM (DISPID_NEWENUM)
  268. #define DISPID_TIMEPLAYLIST_NEXTTRACK (DISPID_TIMEPLAYLIST_BASE + 0x03)
  269. #define DISPID_TIMEPLAYLIST_PREVTRACK (DISPID_TIMEPLAYLIST_BASE + 0x04)
  270. //ITIMEPlayItem interface
  271. #define DISPID_TIMEPLAYITEM_ABSTRACT (DISPID_TIMEPLAYITEM_BASE + 0x01)
  272. #define DISPID_TIMEPLAYITEM_AUTHOR (DISPID_TIMEPLAYITEM_BASE + 0x02)
  273. #define DISPID_TIMEPLAYITEM_COPYRIGHT (DISPID_TIMEPLAYITEM_BASE + 0x03)
  274. #define DISPID_TIMEPLAYITEM_DUR (DISPID_TIMEPLAYITEM_BASE + 0x04)
  275. #define DISPID_TIMEPLAYITEM_INDEX (DISPID_TIMEPLAYITEM_BASE + 0x05)
  276. #define DISPID_TIMEPLAYITEM_RATING (DISPID_TIMEPLAYITEM_BASE + 0x06)
  277. #define DISPID_TIMEPLAYITEM_SRC (DISPID_TIMEPLAYITEM_BASE + 0x07)
  278. #define DISPID_TIMEPLAYITEM_TITLE (DISPID_TIMEPLAYITEM_BASE + 0x08)
  279. //Methods
  280. #define DISPID_TIMEPLAYITEM_SETACTIVE (DISPID_TIMEPLAYITEM_BASE + 0x0a)
  281. //ITIMEPlayItem2 interface continues ITIMEPlayItem interface
  282. #define DISPID_TIMEPLAYITEM_BANNER (DISPID_TIMEPLAYITEM_BASE + 0x10)
  283. #define DISPID_TIMEPLAYITEM_BANNERABSTRACT (DISPID_TIMEPLAYITEM_BASE + 0x11)
  284. #define DISPID_TIMEPLAYITEM_BANNERMOREINFO (DISPID_TIMEPLAYITEM_BASE + 0x12)
  285. #define DISPID_ITIMEDVDPLAYEROBJECT_UPPERBUTTONSEL (DISPID_TIMEDVDPLAYEROBJECT_BASE +0x01)
  286. #define DISPID_ITIMEDVDPLAYEROBJECT_LOWERBUTTONSEL (DISPID_TIMEDVDPLAYEROBJECT_BASE +0x02)
  287. #define DISPID_ITIMEDVDPLAYEROBJECT_LEFTBUTTONSEL (DISPID_TIMEDVDPLAYEROBJECT_BASE +0x03)
  288. #define DISPID_ITIMEDVDPLAYEROBJECT_RIGHTBUTTONSEL (DISPID_TIMEDVDPLAYEROBJECT_BASE +0x04)
  289. #define DISPID_ITIMEDVDPLAYEROBJECT_BUTTONACTIVATE (DISPID_TIMEDVDPLAYEROBJECT_BASE +0x05)
  290. #define DISPID_ITIMEDVDPLAYEROBJECT_GOTOMENU (DISPID_TIMEDVDPLAYEROBJECT_BASE +0x06)
  291. // =============================================
  292. // ITIMEState
  293. // =============================================
  294. #define DISPID_TIMESTATE_ACTIVEDUR (DISPID_TIMESTATE_BASE + 0x01)
  295. #define DISPID_TIMESTATE_ACTIVETIME (DISPID_TIMESTATE_BASE + 0x02)
  296. #define DISPID_TIMESTATE_ISACTIVE (DISPID_TIMESTATE_BASE + 0x03)
  297. #define DISPID_TIMESTATE_ISON (DISPID_TIMESTATE_BASE + 0x04)
  298. #define DISPID_TIMESTATE_ISPAUSED (DISPID_TIMESTATE_BASE + 0x05)
  299. #define DISPID_TIMESTATE_ISMUTED (DISPID_TIMESTATE_BASE + 0x06)
  300. #define DISPID_TIMESTATE_PARENTTIMEBEGIN (DISPID_TIMESTATE_BASE + 0x07)
  301. #define DISPID_TIMESTATE_PARENTTIMEEND (DISPID_TIMESTATE_BASE + 0x08)
  302. #define DISPID_TIMESTATE_PROGRESS (DISPID_TIMESTATE_BASE + 0x09)
  303. #define DISPID_TIMESTATE_REPEATCOUNT (DISPID_TIMESTATE_BASE + 0x0a)
  304. #define DISPID_TIMESTATE_SEGMENTDUR (DISPID_TIMESTATE_BASE + 0x0b)
  305. #define DISPID_TIMESTATE_SEGMENTTIME (DISPID_TIMESTATE_BASE + 0x0c)
  306. #define DISPID_TIMESTATE_SIMPLEDUR (DISPID_TIMESTATE_BASE + 0x0d)
  307. #define DISPID_TIMESTATE_SIMPLETIME (DISPID_TIMESTATE_BASE + 0x0e)
  308. #define DISPID_TIMESTATE_SPEED (DISPID_TIMESTATE_BASE + 0x0f)
  309. #define DISPID_TIMESTATE_STATE (DISPID_TIMESTATE_BASE + 0x10)
  310. #define DISPID_TIMESTATE_STATESTRING (DISPID_TIMESTATE_BASE + 0x11)
  311. #define DISPID_TIMESTATE_VOLUME (DISPID_TIMESTATE_BASE + 0x12)
  312. #define DISPID_ITIMEDMPLAYEROBJECT_HASDM (DISPID_TIMEDMPLAYEROBJECT_BASE +0x01)
  313. // =============================================
  314. // Transitions related stuff
  315. // =============================================
  316. #define DISPID_TIMEMEDIAELEMENT2_EARLIESTTIME (DISPID_TIMEMEDIAELEMENT2_BASE + 0x03)
  317. #define DISPID_TIMEMEDIAELEMENT2_LATESTTTIME (DISPID_TIMEMEDIAELEMENT2_BASE + 0x04)
  318. #define DISPID_TIMEMEDIAELEMENT2_MINBUFF (DISPID_TIMEMEDIAELEMENT2_BASE + 0x05)
  319. #define DISPID_TIMEMEDIAELEMENT2_DLTOTAL (DISPID_TIMEMEDIAELEMENT2_BASE + 0x06)
  320. #define DISPID_TIMEMEDIAELEMENT2_DLCURRENT (DISPID_TIMEMEDIAELEMENT2_BASE + 0x07)
  321. #define DISPID_TIMEMEDIAELEMENT2_ISSTREAMED (DISPID_TIMEMEDIAELEMENT2_BASE + 0x08)
  322. #define DISPID_TIMEMEDIAELEMENT2_BUFPROG (DISPID_TIMEMEDIAELEMENT2_BASE + 0x09)
  323. #define DISPID_TIMEMEDIAELEMENT2_HASDLPROGRESS (DISPID_TIMEMEDIAELEMENT2_BASE + 0x0a)
  324. #define DISPID_TIMEMEDIAELEMENT2_MIMETYPE (DISPID_TIMEMEDIAELEMENT2_BASE + 0x0b)
  325. #define DISPID_TIMEMEDIAELEMENT2_SEEKTOFRAME (DISPID_TIMEMEDIAELEMENT2_BASE + 0x0c)
  326. #define DISPID_TIMEMEDIAELEMENT2_DECODEMIMETYPE (DISPID_TIMEMEDIAELEMENT2_BASE + 0x0d)
  327. #define DISPID_TIMEMEDIAELEMENT_CURRFRAME (DISPID_TIMEMEDIAELEMENT2_BASE + 0x0e)
  328. #define DISPID_TIMEMEDIAELEMENT2_DLPROG (DISPID_TIMEMEDIAELEMENT2_BASE + 0x0f)
  329. #define DISPID_TIMETRANSITIONELEMENT_TYPE (DISPID_TIMETRANSITIONELEMENT_BASE + 0x01)
  330. #define DISPID_TIMETRANSITIONELEMENT_SUBTYPE (DISPID_TIMETRANSITIONELEMENT_BASE + 0x02)
  331. #define DISPID_TIMETRANSITIONELEMENT_DUR (DISPID_TIMETRANSITIONELEMENT_BASE + 0x03)
  332. #define DISPID_TIMETRANSITIONELEMENT_STARTPROGRESS (DISPID_TIMETRANSITIONELEMENT_BASE + 0x04)
  333. #define DISPID_TIMETRANSITIONELEMENT_ENDPROGRESS (DISPID_TIMETRANSITIONELEMENT_BASE + 0x05)
  334. #define DISPID_TIMETRANSITIONELEMENT_DIRECTION (DISPID_TIMETRANSITIONELEMENT_BASE + 0x06)
  335. #define DISPID_TIMETRANSITIONELEMENT_REPEATCOUNT (DISPID_TIMETRANSITIONELEMENT_BASE + 0x07)
  336. #define DISPID_TIMETRANSITIONELEMENT_BEGIN (DISPID_TIMETRANSITIONELEMENT_BASE + 0x08)
  337. #define DISPID_TIMETRANSITIONELEMENT_END (DISPID_TIMETRANSITIONELEMENT_BASE + 0x09)
  338. #endif //__TIMEDISPID_H__