' ########################################################################################
' Microsoft Windows
' File: mstimeid.inc
' Contents: IDs for HTML+TIME
' Copyright (c) 2011 Jos? Roca
' Portions Copyright (c) Microsoft Corporation.
' All Rights Reserved.
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
' MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
' ########################################################################################
#IF NOT %DEF(PBX_mstimeid_PBI)
#DEFINE PBX_mstimeid_PBI
%EQUATE `MSTIMEID_INC = 1
#INCLUDE ONCE "Legacy/COM/OAIdl.inc"
'// Base offset:
'//
'// need to reposition our IDs low for DHTML Behaviors
'//
%EQUATE `DISPID_BASE = &H00000000
'// Interface offsets:
%EQUATE `TIMEELEMENT_OFFSET = &H0100
%EQUATE `TIMEBODYELEMENT_OFFSET = &H0200
%EQUATE `TIMEANIMATIONELEMENT_OFFSET = &H0300
%EQUATE `TIMEMEDIAELEMENT_OFFSET = &H0400
%EQUATE `TIMEFACTORY_OFFSET = &H0500
%EQUATE `TIMECOLLECTION_OFFSET = &H0600
%EQUATE `TIMECOLLECTION_RESERVED_OFFSET = &H0700
%EQUATE `TIMEMEDIAPLAYER_OFFSET = &H0800
%EQUATE `TIMEMEDIAPLAYERAUDIO_OFFSET = &H0900
%EQUATE `TIMEEVENTELEMENT_OFFSET = &H0A00
%EQUATE `TIMEPLAYLIST_OFFSET = &H0B00
%EQUATE `TIMEPLAYITEM_OFFSET = &H0C00
%EQUATE `TIMEDVDPLAYEROBJECT_OFFSET = &H0D00
%EQUATE `SMILANIMATIONCOMPSITE_OFFSET = &H0E00
%EQUATE `SMILANIMATIONFRAGMENT_OFFSET = &H0F00
%EQUATE `TIMESTATE_OFFSET = &H1000
%EQUATE `TIMEDMPLAYEROBJECT_OFFSET = &H1100
%EQUATE `TIMEMEDIAPLAYERSITE_OFFSET = &H1200
%EQUATE `TIMEMEDIAPLAYERCONTROL_OFFSET = &H1300
%EQUATE `TIMEMEDIAELEMENT2_OFFSET = &H1400
%EQUATE `TIMETRANSITIONELEMENT_OFFSET = &H1500
%EQUATE `TIMEMEDIAPLAYERNETWORK_OFFSET = &H1600
%EQUATE `DISPID_TIME_MIN = &H0001
%EQUATE `DISPID_TIME_MAX = &H270F
'// Interface bases:
%EQUATE `DISPID_TIMEELEMENT_BASE = (%DISPID_BASE + %TIMEELEMENT_OFFSET)
%EQUATE `DISPID_TIMEBODYELEMENT_BASE = (%DISPID_BASE + %TIMEBODYELEMENT_OFFSET)
%EQUATE `DISPID_TIMEMEDIAELEMENT_BASE = (%DISPID_BASE + %TIMEMEDIAELEMENT_OFFSET)
%EQUATE `DISPID_TIMEEVENTELEMENT_BASE = (%DISPID_BASE + %TIMEEVENTELEMENT_OFFSET)
%EQUATE `DISPID_TIMEFACTORY_BASE = (%DISPID_BASE + %TIMEFACTORY_OFFSET)
%EQUATE `DISPID_TIMECOLLECTION_BASE = (%DISPID_BASE + %TIMECOLLECTION_OFFSET)
%EQUATE `DISPID_TIMECOLLECTION_RESERVED_BASE = (%DISPID_BASE + %TIMECOLLECTION_RESERVED_OFFSET)
%EQUATE `DISPID_TIMEMEDIAPLAYER_BASE = (%DISPID_BASE + %TIMEMEDIAPLAYER_OFFSET)
%EQUATE `DISPID_TIMEMEDIAPLAYERAUDIO_BASE = (%DISPID_BASE + %TIMEMEDIAPLAYERAUDIO_OFFSET)
%EQUATE `DISPID_TIMEPLAYLIST_BASE = (%DISPID_BASE + %TIMEPLAYLIST_OFFSET)
%EQUATE `DISPID_TIMEPLAYITEM_BASE = (%DISPID_BASE + %TIMEPLAYITEM_OFFSET)
%EQUATE `DISPID_TIMEDVDPLAYEROBJECT_BASE = (%DISPID_BASE + %TIMEDVDPLAYEROBJECT_OFFSET)
%EQUATE `DISPID_TIMEANIMATIONELEMENT_BASE = (%DISPID_BASE + %TIMEANIMATIONELEMENT_OFFSET)
%EQUATE `DISPID_SMILANIMATIONCOMPSITE_BASE = (%DISPID_BASE + %SMILANIMATIONCOMPSITE_OFFSET)
%EQUATE `DISPID_SMILANIMATIONFRAGMENT_BASE = (%DISPID_BASE + %SMILANIMATIONFRAGMENT_OFFSET)
%EQUATE `DISPID_TIMESTATE_BASE = (%DISPID_BASE + %TIMESTATE_OFFSET)
%EQUATE `DISPID_TIMEDMPLAYEROBJECT_BASE = (%DISPID_BASE + %TIMEDMPLAYEROBJECT_OFFSET)
%EQUATE `DISPID_TIMEMEDIAPLAYERSITE_BASE = (%DISPID_BASE + %TIMEMEDIAPLAYERSITE_OFFSET)
%EQUATE `DISPID_TIMEMEDIAPLAYERCONTROL_BASE = (%DISPID_BASE + %TIMEMEDIAPLAYERCONTROL_OFFSET)
%EQUATE `DISPID_TIMEMEDIAELEMENT2_BASE = (%DISPID_BASE + %TIMEMEDIAELEMENT2_OFFSET)
%EQUATE `DISPID_TIMETRANSITIONELEMENT_BASE = (%DISPID_BASE + %TIMETRANSITIONELEMENT_OFFSET)
%EQUATE `DISPID_TIMEMEDIAPLAYERNETWORK_BASE = (%DISPID_BASE + %TIMEMEDIAPLAYERNETWORK_OFFSET)
'// Collection Reserve (for expando's and ordinal's)
%EQUATE `DISPID_COLLECTION_RESERVED_MIN = %DISPID_TIMECOLLECTION_RESERVED_BASE
%EQUATE `DISPID_COLLECTION_RESERVED_MAX = &H0000007FF
'// =============================================
'// ITIMEElement DISPIDs:
'// =============================================
'// XML Attributes
%EQUATE `DISPID_TIMEELEMENT_ACCELERATE = (%DISPID_TIMEELEMENT_BASE + &H01)
%EQUATE `DISPID_TIMEELEMENT_ACCELERATEFROM = (%DISPID_TIMEELEMENT_BASE + &H02)
%EQUATE `DISPID_TIMEELEMENT_AUTOREVERSE = (%DISPID_TIMEELEMENT_BASE + &H03)
%EQUATE `DISPID_TIMEELEMENT_BEGIN = (%DISPID_TIMEELEMENT_BASE + &H04)
%EQUATE `DISPID_TIMEELEMENT_DECELERATE = (%DISPID_TIMEELEMENT_BASE + &H05)
%EQUATE `DISPID_TIMEELEMENT_DECELERATETO = (%DISPID_TIMEELEMENT_BASE + &H06)
%EQUATE `DISPID_TIMEELEMENT_DUR = (%DISPID_TIMEELEMENT_BASE + &H07)
%EQUATE `DISPID_TIMEELEMENT_END = (%DISPID_TIMEELEMENT_BASE + &H08)
%EQUATE `DISPID_TIMEELEMENT_FILL = (%DISPID_TIMEELEMENT_BASE + &H0a)
%EQUATE `DISPID_TIMEELEMENT_MUTE = (%DISPID_TIMEELEMENT_BASE + &H0b)
%EQUATE `DISPID_TIMEELEMENT_REPEATCOUNT = (%DISPID_TIMEELEMENT_BASE + &H0c)
%EQUATE `DISPID_TIMEELEMENT_REPEATDUR = (%DISPID_TIMEELEMENT_BASE + &H0d)
%EQUATE `DISPID_TIMEELEMENT_RESTART = (%DISPID_TIMEELEMENT_BASE + &H0e)
%EQUATE `DISPID_TIMEELEMENT_SPEED = (%DISPID_TIMEELEMENT_BASE + &H0f)
%EQUATE `DISPID_TIMEELEMENT_SYNCBEHAVIOR = (%DISPID_TIMEELEMENT_BASE + &H10)
%EQUATE `DISPID_TIMEELEMENT_SYNCMASTER = (%DISPID_TIMEELEMENT_BASE + &H11)
%EQUATE `DISPID_TIMEELEMENT_SYNCTOLERANCE = (%DISPID_TIMEELEMENT_BASE + &H12)
%EQUATE `DISPID_TIMEELEMENT_TIMEACTION = (%DISPID_TIMEELEMENT_BASE + &H13)
%EQUATE `DISPID_TIMEELEMENT_TIMECONTAINER = (%DISPID_TIMEELEMENT_BASE + &H14)
%EQUATE `DISPID_TIMEELEMENT_UPDATEMODE = (%DISPID_TIMEELEMENT_BASE + &H15)
%EQUATE `DISPID_TIMEELEMENT_VOLUME = (%DISPID_TIMEELEMENT_BASE + &H16)
'// Properties
%EQUATE `DISPID_TIMEELEMENT_CURRTIMESTATE = (%DISPID_TIMEELEMENT_BASE + &H20)
%EQUATE `DISPID_TIMEELEMENT_TIMEALL = (%DISPID_TIMEELEMENT_BASE + &H21)
%EQUATE `DISPID_TIMEELEMENT_TIMECHILDREN = (%DISPID_TIMEELEMENT_BASE + &H22)
%EQUATE `DISPID_TIMEELEMENT_TIMEPARENT = (%DISPID_TIMEELEMENT_BASE + &H23)
%EQUATE `DISPID_TIMEELEMENT_ISPAUSED = (%DISPID_TIMEELEMENT_BASE + &H24)
'// Methods
%EQUATE `DISPID_TIMEELEMENT_BEGINELEMENT = (%DISPID_TIMEELEMENT_BASE + &H30)
%EQUATE `DISPID_TIMEELEMENT_BEGINELEMENTAT = (%DISPID_TIMEELEMENT_BASE + &H31)
%EQUATE `DISPID_TIMEELEMENT_ENDELEMENT = (%DISPID_TIMEELEMENT_BASE + &H32)
%EQUATE `DISPID_TIMEELEMENT_ENDELEMENTAT = (%DISPID_TIMEELEMENT_BASE + &H33)
%EQUATE `DISPID_TIMEELEMENT_PAUSEELEMENT = (%DISPID_TIMEELEMENT_BASE + &H34)
%EQUATE `DISPID_TIMEELEMENT_RESET = (%DISPID_TIMEELEMENT_BASE + &H35)
%EQUATE `DISPID_TIMEELEMENT_RESUMEELEMENT = (%DISPID_TIMEELEMENT_BASE + &H36)
%EQUATE `DISPID_TIMEELEMENT_SEEKACTIVETIME = (%DISPID_TIMEELEMENT_BASE + &H37)
%EQUATE `DISPID_TIMEELEMENT_SEEKSEGMENTTIME = (%DISPID_TIMEELEMENT_BASE + &H38)
%EQUATE `DISPID_TIMEELEMENT_SEEKTO = (%DISPID_TIMEELEMENT_BASE + &H39)
%EQUATE `DISPID_TIMEELEMENT_UPDATE = (%DISPID_TIMEELEMENT_BASE + &H3a)
%EQUATE `DISPID_TIMEELEMENT_DOCUMENTTIMETOPARENTTIME = (%DISPID_TIMEELEMENT_BASE + &H3b)
%EQUATE `DISPID_TIMEELEMENT_PARENTTIMETODOCUMENTTIME = (%DISPID_TIMEELEMENT_BASE + &H3c)
%EQUATE `DISPID_TIMEELEMENT_PARENTTIMETOACTIVETIME = (%DISPID_TIMEELEMENT_BASE + &H3d)
%EQUATE `DISPID_TIMEELEMENT_ACTIVETIMETOPARENTTIME = (%DISPID_TIMEELEMENT_BASE + &H3e)
%EQUATE `DISPID_TIMEELEMENT_ACTIVETIMETOSEGMENTTIME = (%DISPID_TIMEELEMENT_BASE + &H3f)
%EQUATE `DISPID_TIMEELEMENT_SEGMENTTIMETOACTIVETIME = (%DISPID_TIMEELEMENT_BASE + &H40)
%EQUATE `DISPID_TIMEELEMENT_SEGMENTTIMETOSIMPLETIME = (%DISPID_TIMEELEMENT_BASE + &H41)
%EQUATE `DISPID_TIMEELEMENT_SIMPLETIMETOSEGMENTTIME = (%DISPID_TIMEELEMENT_BASE + &H42)
'// Container attributes
%EQUATE `DISPID_TIMEELEMENT_ENDSYNC = (%DISPID_TIMEELEMENT_BASE + &H50)
'// Container Properties
%EQUATE `DISPID_TIMEELEMENT_ACTIVEELEMENTS = (%DISPID_TIMEELEMENT_BASE + &H60)
%EQUATE `DISPID_TIMEELEMENT_HASMEDIA = (%DISPID_TIMEELEMENT_BASE + &H61)
'// Container Methods
%EQUATE `DISPID_TIMEELEMENT_NEXTELEMENT = (%DISPID_TIMEELEMENT_BASE + &H70)
%EQUATE `DISPID_TIMEELEMENT_PREVELEMENT = (%DISPID_TIMEELEMENT_BASE + &H71)
'//
'// ITIMEBodyElement DISPIDs:
'//
'// empty interface
'// =============================================
'// ITIMEMediaElement DISPIDs:
'// =============================================
'// XML Attributes
%EQUATE `DISPID_TIMEMEDIAELEMENT_CLIPBEGIN = (%DISPID_TIMEMEDIAELEMENT_BASE + &H01)
%EQUATE `DISPID_TIMEMEDIAELEMENT_CLIPEND = (%DISPID_TIMEMEDIAELEMENT_BASE + &H02)
%EQUATE `DISPID_TIMEMEDIAELEMENT_PLAYER = (%DISPID_TIMEMEDIAELEMENT_BASE + &H03)
%EQUATE `DISPID_TIMEMEDIAELEMENT_SRC = (%DISPID_TIMEMEDIAELEMENT_BASE + &H04)
%EQUATE `DISPID_TIMEMEDIAELEMENT_TYPE = (%DISPID_TIMEMEDIAELEMENT_BASE + &H05)
'// Properties
%EQUATE `DISPID_TIMEMEDIAELEMENT_ABSTRACT = (%DISPID_TIMEMEDIAELEMENT_BASE + &H10)
%EQUATE `DISPID_TIMEMEDIAELEMENT_AUTHOR = (%DISPID_TIMEMEDIAELEMENT_BASE + &H11)
%EQUATE `DISPID_TIMEMEDIAELEMENT_COPYRIGHT = (%DISPID_TIMEMEDIAELEMENT_BASE + &H12)
%EQUATE `DISPID_TIMEMEDIAELEMENT_HASAUDIO = (%DISPID_TIMEMEDIAELEMENT_BASE + &H13)
%EQUATE `DISPID_TIMEMEDIAELEMENT_HASVISUAL = (%DISPID_TIMEMEDIAELEMENT_BASE + &H14)
%EQUATE `DISPID_TIMEMEDIAELEMENT_MEDIACAPS = (%DISPID_TIMEMEDIAELEMENT_BASE + &H15)
%EQUATE `DISPID_TIMEMEDIAELEMENT_MEDIADUR = (%DISPID_TIMEMEDIAELEMENT_BASE + &H16)
%EQUATE `DISPID_TIMEMEDIAELEMENT_MEDIAHEIGHT = (%DISPID_TIMEMEDIAELEMENT_BASE + &H17)
%EQUATE `DISPID_TIMEMEDIAELEMENT_MEDIAWIDTH = (%DISPID_TIMEMEDIAELEMENT_BASE + &H18)
%EQUATE `DISPID_TIMEMEDIAELEMENT_PLAYEROBJECT = (%DISPID_TIMEMEDIAELEMENT_BASE + &H19)
%EQUATE `DISPID_TIMEMEDIAELEMENT_PLAYLIST = (%DISPID_TIMEMEDIAELEMENT_BASE + &H1a)
%EQUATE `DISPID_TIMEMEDIAELEMENT_RATING = (%DISPID_TIMEMEDIAELEMENT_BASE + &H1b)
%EQUATE `DISPID_TIMEMEDIAELEMENT_TITLE = (%DISPID_TIMEMEDIAELEMENT_BASE + &H1c)
%EQUATE `DISPID_TIMEMEDIAELEMENT_HASPLAYLIST = (%DISPID_TIMEMEDIAELEMENT_BASE + &H1d)
'// Media Caps
%EQUATE `DISPID_TIMEMEDIAELEMENT_CANPAUSE = (%DISPID_TIMEMEDIAELEMENT_BASE + &H30)
%EQUATE `DISPID_TIMEMEDIAELEMENT_CANSEEK = (%DISPID_TIMEMEDIAELEMENT_BASE + &H32)
'// Methods
'// =============================================
'// ITIMEAnimationElement DISPIDs
'// =============================================
%EQUATE `DISPID_TIMEANIMATIONELEMENT_ATTRIBUTENAME = (%DISPID_TIMEANIMATIONELEMENT_BASE + &H01)
%EQUATE `DISPID_TIMEANIMATIONELEMENT_BY = (%DISPID_TIMEANIMATIONELEMENT_BASE + &H02)
%EQUATE `DISPID_TIMEANIMATIONELEMENT_CALCMODE = (%DISPID_TIMEANIMATIONELEMENT_BASE + &H03)
%EQUATE `DISPID_TIMEANIMATIONELEMENT_FROM = (%DISPID_TIMEANIMATIONELEMENT_BASE + &H04)
%EQUATE `DISPID_TIMEANIMATIONELEMENT_KEYSPLINES = (%DISPID_TIMEANIMATIONELEMENT_BASE + &H05)
%EQUATE `DISPID_TIMEANIMATIONELEMENT_KEYTIMES = (%DISPID_TIMEANIMATIONELEMENT_BASE + &H06)
%EQUATE `DISPID_TIMEANIMATIONELEMENT_TARGETELEMENT = (%DISPID_TIMEANIMATIONELEMENT_BASE + &H07)
%EQUATE `DISPID_TIMEANIMATIONELEMENT_TO = (%DISPID_TIMEANIMATIONELEMENT_BASE + &H08)
%EQUATE `DISPID_TIMEANIMATIONELEMENT_VALUES = (%DISPID_TIMEANIMATIONELEMENT_BASE + &H09)
%EQUATE `DISPID_TIMEANIMATIONELEMENT_ORIGIN = (%DISPID_TIMEANIMATIONELEMENT_BASE + &H0a)
%EQUATE `DISPID_TIMEANIMATIONELEMENT_PATH = (%DISPID_TIMEANIMATIONELEMENT_BASE + &H0b)
%EQUATE `DISPID_TIMEANIMATIONELEMENT_ADDITIVE = (%DISPID_TIMEANIMATIONELEMENT_BASE + &H0c)
%EQUATE `DISPID_TIMEANIMATIONELEMENT_ACCUMULATE = (%DISPID_TIMEANIMATIONELEMENT_BASE + &H0d)
%EQUATE `DISPID_TIMEANIMATIONELEMENT_TYPE = (%DISPID_TIMEANIMATIONELEMENT_BASE + &H0e)
%EQUATE `DISPID_TIMEANIMATIONELEMENT_SUBTYPE = (%DISPID_TIMEANIMATIONELEMENT_BASE + &H0f)
%EQUATE `DISPID_TIMEANIMATIONELEMENT_MODE = (%DISPID_TIMEANIMATIONELEMENT_BASE + &H10)
%EQUATE `DISPID_TIMEANIMATIONELEMENT_FADECOLOR = (%DISPID_TIMEANIMATIONELEMENT_BASE + &H11)
'// IAnimationComposerSite DISPIDs
%EQUATE `DISPID_SMILANIMATIONCOMPSITE_ADDFRAGMENT = (%DISPID_SMILANIMATIONCOMPSITE_BASE + &H01)
%EQUATE `DISPID_SMILANIMATIONCOMPSITE_REMOVEFRAGMENT = (%DISPID_SMILANIMATIONCOMPSITE_BASE + &H02)
%EQUATE `DISPID_SMILANIMATIONCOMPSITE_INSERTFRAGMENT = (%DISPID_SMILANIMATIONCOMPSITE_BASE + &H03)
%EQUATE `DISPID_SMILANIMATIONCOMPSITE_ENUMERATEFRAGMENTS = (%DISPID_SMILANIMATIONCOMPSITE_BASE + &H04)
%EQUATE `DISPID_SMILANIMATIONCOMPSITE_REGISTERFACTORY = (%DISPID_SMILANIMATIONCOMPSITE_BASE + &H05)
%EQUATE `DISPID_SMILANIMATIONCOMPSITE_UNREGISTER_FACTORY = (%DISPID_SMILANIMATIONCOMPSITE_BASE + &H06)
'// IAnimationFragment
%EQUATE `DISPID_SMILANIMATIONFRAGMENT_ELEMENT = (%DISPID_SMILANIMATIONFRAGMENT_BASE + &H01)
%EQUATE `DISPID_SMILANIMATIONFRAGMENT_VALUE = (%DISPID_SMILANIMATIONFRAGMENT_BASE + &H02)
%EQUATE `DISPID_SMILANIMATIONFRAGMENT_DETACHFROMCOMPOSER = (%DISPID_SMILANIMATIONFRAGMENT_BASE + &H03)
'// ITIMEEventElement DISPIDs:
%EQUATE `DISPID_TIMEEVENTELEMENT_TYPE = (%DISPID_TIMEEVENTELEMENT_BASE + &H01)
%EQUATE `DISPID_TIMEEVENTELEMENT_ACTIVE = (%DISPID_TIMEEVENTELEMENT_BASE + &H02)
'// ITIMEFactory DISPIDs:
%EQUATE `DISPID_TIMEFACTORY_CREATETIMEELEMENT = (%DISPID_TIMEFACTORY_BASE + &H01)
%EQUATE `DISPID_TIMEFACTORY_CREATETIMEELEMENTBODY = (%DISPID_TIMEFACTORY_BASE + &H02)
%EQUATE `DISPID_TIMEFACTORY_CREATETIMEDAELEMENT = (%DISPID_TIMEFACTORY_BASE + &H03)
%EQUATE `DISPID_TIMEFACTORY_CREATETIMEMEDIAELEMENT = (%DISPID_TIMEFACTORY_BASE + &H04)
'//
'// ITIMEElementCollection
'//
%EQUATE `DISPID_TIMEELEMENTCOLLECTION_LENGTH = (%DISPID_TIMECOLLECTION_BASE + &H01)
%EQUATE `DISPID_TIMEELEMENTCOLLECTION__NEWENUM = (%DISPID_NEWENUM)
%EQUATE `DISPID_TIMEELEMENTCOLLECTION_ITEM = (%DISPID_VALUE)
%EQUATE `DISPID_TIMEELEMENTCOLLECTION_TAGS = (%DISPID_TIMECOLLECTION_BASE + &H02)
'//
'// ITIMEMediaPlayerSite
'//
%EQUATE `DISPID_TIMEMEDIAPLAYERSITE_TIMEELEMENT = (%DISPID_TIMEMEDIAPLAYERSITE_BASE + &H01)
%EQUATE `DISPID_TIMEMEDIAPLAYERSITE_TIMESTATE = (%DISPID_TIMEMEDIAPLAYERSITE_BASE + &H02)
%EQUATE `DISPID_TIMEMEDIAPLAYERSITE_REPORTERROR = (%DISPID_TIMEMEDIAPLAYERSITE_BASE + &H03)
'//
'// ITIMEMediaPlayer
'//
%EQUATE `DISPID_TIMEMEDIAPLAYER_INIT = (%DISPID_TIMEMEDIAPLAYER_BASE + &H01)
%EQUATE `DISPID_TIMEMEDIAPLAYER_DETACH = (%DISPID_TIMEMEDIAPLAYER_BASE + &H02)
%EQUATE `DISPID_TIMEMEDIAPLAYER_BEGIN = (%DISPID_TIMEMEDIAPLAYER_BASE + &H10)
%EQUATE `DISPID_TIMEMEDIAPLAYER_END = (%DISPID_TIMEMEDIAPLAYER_BASE + &H11)
%EQUATE `DISPID_TIMEMEDIAPLAYER_RESUME = (%DISPID_TIMEMEDIAPLAYER_BASE + &H12)
%EQUATE `DISPID_TIMEMEDIAPLAYER_PAUSE = (%DISPID_TIMEMEDIAPLAYER_BASE + &H13)
%EQUATE `DISPID_TIMEMEDIAPLAYER_REPEAT = (%DISPID_TIMEMEDIAPLAYER_BASE + &H14)
%EQUATE `DISPID_TIMEMEDIAPLAYER_RESET = (%DISPID_TIMEMEDIAPLAYER_BASE + &H15)
%EQUATE `DISPID_TIMEMEDIAPLAYER_SEEK = (%DISPID_TIMEMEDIAPLAYER_BASE + &H16)
'// Properties - w
%EQUATE `DISPID_TIMEMEDIAPLAYER_SRC = (%DISPID_TIMEMEDIAPLAYER_BASE + &H20)
%EQUATE `DISPID_TIMEMEDIAPLAYER_CLIPBEGIN = (%DISPID_TIMEMEDIAPLAYER_BASE + &H21)
%EQUATE `DISPID_TIMEMEDIAPLAYER_CLIPEND = (%DISPID_TIMEMEDIAPLAYER_BASE + &H22)
'// Properties - r/o
%EQUATE `DISPID_TIMEMEDIAPLAYER_ABSTRACT = (%DISPID_TIMEMEDIAPLAYER_BASE + &H30)
%EQUATE `DISPID_TIMEMEDIAPLAYER_AUTHOR = (%DISPID_TIMEMEDIAPLAYER_BASE + &H31)
%EQUATE `DISPID_TIMEMEDIAPLAYER_CANPAUSE = (%DISPID_TIMEMEDIAPLAYER_BASE + &H32)
%EQUATE `DISPID_TIMEMEDIAPLAYER_CANSEEK = (%DISPID_TIMEMEDIAPLAYER_BASE + &H34)
%EQUATE `DISPID_TIMEMEDIAPLAYER_CLIPDUR = (%DISPID_TIMEMEDIAPLAYER_BASE + &H35)
%EQUATE `DISPID_TIMEMEDIAPLAYER_COPYRIGHT = (%DISPID_TIMEMEDIAPLAYER_BASE + &H36)
%EQUATE `DISPID_TIMEMEDIAPLAYER_CURRTIME = (%DISPID_TIMEMEDIAPLAYER_BASE + &H37)
%EQUATE `DISPID_TIMEMEDIAPLAYER_CUSTOM_OBJECT = (%DISPID_TIMEMEDIAPLAYER_BASE + &H38)
%EQUATE `DISPID_TIMEMEDIAPLAYER_HASAUDIO = (%DISPID_TIMEMEDIAPLAYER_BASE + &H39)
%EQUATE `DISPID_TIMEMEDIAPLAYER_HASVISUAL = (%DISPID_TIMEMEDIAPLAYER_BASE + &H3A)
%EQUATE `DISPID_TIMEMEDIAPLAYER_MEDIADUR = (%DISPID_TIMEMEDIAPLAYER_BASE + &H3B)
%EQUATE `DISPID_TIMEMEDIAPLAYER_MEDIAHEIGHT = (%DISPID_TIMEMEDIAPLAYER_BASE + &H3C)
%EQUATE `DISPID_TIMEMEDIAPLAYER_MEDIAWIDTH = (%DISPID_TIMEMEDIAPLAYER_BASE + &H3D)
%EQUATE `DISPID_TIMEMEDIAPLAYER_PLAYLIST = (%DISPID_TIMEMEDIAPLAYER_BASE + &H3E)
%EQUATE `DISPID_TIMEMEDIAPLAYER_RATING = (%DISPID_TIMEMEDIAPLAYER_BASE + &H3F)
%EQUATE `DISPID_TIMEMEDIAPLAYER_STATE = (%DISPID_TIMEMEDIAPLAYER_BASE + &H40)
%EQUATE `DISPID_TIMEMEDIAPLAYER_TITLE = (%DISPID_TIMEMEDIAPLAYER_BASE + &H41)
'//
'// ITIMEMediaPlayerAudio
'//
%EQUATE `DISPID_TIMEMEDIAPLAYERAUDIO_VOLUME = (%DISPID_TIMEMEDIAPLAYERAUDIO_BASE + &H01)
%EQUATE `DISPID_TIMEMEDIAPLAYERAUDIO_MUTE = (%DISPID_TIMEMEDIAPLAYERAUDIO_BASE + &H02)
'//
'// ITIMEMediaPlayerNetwork
'//
%EQUATE `DISPID_TIMEMEDIAPLAYERNETWORK_HASDOWNLOADPROGRESS = (%DISPID_TIMEMEDIAPLAYERNETWORK_BASE + &H01)
%EQUATE `DISPID_TIMEMEDIAPLAYERNETWORK_DOWNLOADPROGRESS = (%DISPID_TIMEMEDIAPLAYERNETWORK_BASE + &H02)
%EQUATE `DISPID_TIMEMEDIAPLAYERNETWORK_ISBUFFERED = (%DISPID_TIMEMEDIAPLAYERNETWORK_BASE + &H03)
%EQUATE `DISPID_TIMEMEDIAPLAYERNETWORK_BUFFERINGPROGRESS = (%DISPID_TIMEMEDIAPLAYERNETWORK_BASE + &H04)
'//
'// ITIMEMediaPlayerControl
'//
%EQUATE `DISPID_TIMEMEDIAPLAYERCONTROL_GETCONTROL = (%DISPID_TIMEMEDIAPLAYERCONTROL_BASE + &H01)
'// ITIMEActiveElementsCollection
%EQUATE `DISPID_ACTIVEELMENTS_LENGTH = (&H000005dc) ' //special dispid specific to collections
%EQUATE `DISPID_ACTIVEELMENTS_NEWENUM = (%DISPID_NEWENUM)
%EQUATE `DISPID_ACTIVEELMENTS_ITEM = (&H00000000) ' //designates this as the default value for this collection.
'// ITIMEPlayList collectoion
%EQUATE `DISPID_TIMEPLAYLIST_ACTIVETRACK = (%DISPID_TIMEPLAYLIST_BASE + &H01)
%EQUATE `DISPID_TIMEPLAYLIST_DUR = (%DISPID_TIMEPLAYLIST_BASE + &H02)
%EQUATE `DISPID_TIMEPLAYLIST_ITEM = (&H00000000) ' //designates this as the default value for this collection.
%EQUATE `DISPID_TIMEPLAYLIST_LENGTH = (&H000005dc) ' //special dispid specific to collections
%EQUATE `DISPID_TIMEPLAYLIST_NEWENUM = (%DISPID_NEWENUM)
%EQUATE `DISPID_TIMEPLAYLIST_NEXTTRACK = (%DISPID_TIMEPLAYLIST_BASE + &H03)
%EQUATE `DISPID_TIMEPLAYLIST_PREVTRACK = (%DISPID_TIMEPLAYLIST_BASE + &H04)
'//ITIMEPlayItem interface
%EQUATE `DISPID_TIMEPLAYITEM_ABSTRACT = (%DISPID_TIMEPLAYITEM_BASE + &H01)
%EQUATE `DISPID_TIMEPLAYITEM_AUTHOR = (%DISPID_TIMEPLAYITEM_BASE + &H02)
%EQUATE `DISPID_TIMEPLAYITEM_COPYRIGHT = (%DISPID_TIMEPLAYITEM_BASE + &H03)
%EQUATE `DISPID_TIMEPLAYITEM_DUR = (%DISPID_TIMEPLAYITEM_BASE + &H04)
%EQUATE `DISPID_TIMEPLAYITEM_INDEX = (%DISPID_TIMEPLAYITEM_BASE + &H05)
%EQUATE `DISPID_TIMEPLAYITEM_RATING = (%DISPID_TIMEPLAYITEM_BASE + &H06)
%EQUATE `DISPID_TIMEPLAYITEM_SRC = (%DISPID_TIMEPLAYITEM_BASE + &H07)
%EQUATE `DISPID_TIMEPLAYITEM_TITLE = (%DISPID_TIMEPLAYITEM_BASE + &H08)
'//Methods
%EQUATE `DISPID_TIMEPLAYITEM_SETACTIVE = (%DISPID_TIMEPLAYITEM_BASE + &H0a)
'//ITIMEPlayItem2 interface continues ITIMEPlayItem interface
%EQUATE `DISPID_TIMEPLAYITEM_BANNER = (%DISPID_TIMEPLAYITEM_BASE + &H10)
%EQUATE `DISPID_TIMEPLAYITEM_BANNERABSTRACT = (%DISPID_TIMEPLAYITEM_BASE + &H11)
%EQUATE `DISPID_TIMEPLAYITEM_BANNERMOREINFO = (%DISPID_TIMEPLAYITEM_BASE + &H12)
%EQUATE `DISPID_ITIMEDVDPLAYEROBJECT_UPPERBUTTONSEL = (%DISPID_TIMEDVDPLAYEROBJECT_BASE + &H01)
%EQUATE `DISPID_ITIMEDVDPLAYEROBJECT_LOWERBUTTONSEL = (%DISPID_TIMEDVDPLAYEROBJECT_BASE + &H02)
%EQUATE `DISPID_ITIMEDVDPLAYEROBJECT_LEFTBUTTONSEL = (%DISPID_TIMEDVDPLAYEROBJECT_BASE + &H03)
%EQUATE `DISPID_ITIMEDVDPLAYEROBJECT_RIGHTBUTTONSEL = (%DISPID_TIMEDVDPLAYEROBJECT_BASE + &H04)
%EQUATE `DISPID_ITIMEDVDPLAYEROBJECT_BUTTONACTIVATE = (%DISPID_TIMEDVDPLAYEROBJECT_BASE + &H05)
%EQUATE `DISPID_ITIMEDVDPLAYEROBJECT_GOTOMENU = (%DISPID_TIMEDVDPLAYEROBJECT_BASE + &H06)
'// =============================================
'// ITIMEState
'// =============================================
%EQUATE `DISPID_TIMESTATE_ACTIVEDUR = (%DISPID_TIMESTATE_BASE + &H01)
%EQUATE `DISPID_TIMESTATE_ACTIVETIME = (%DISPID_TIMESTATE_BASE + &H02)
%EQUATE `DISPID_TIMESTATE_ISACTIVE = (%DISPID_TIMESTATE_BASE + &H03)
%EQUATE `DISPID_TIMESTATE_ISON = (%DISPID_TIMESTATE_BASE + &H04)
%EQUATE `DISPID_TIMESTATE_ISPAUSED = (%DISPID_TIMESTATE_BASE + &H05)
%EQUATE `DISPID_TIMESTATE_ISMUTED = (%DISPID_TIMESTATE_BASE + &H06)
%EQUATE `DISPID_TIMESTATE_PARENTTIMEBEGIN = (%DISPID_TIMESTATE_BASE + &H07)
%EQUATE `DISPID_TIMESTATE_PARENTTIMEEND = (%DISPID_TIMESTATE_BASE + &H08)
%EQUATE `DISPID_TIMESTATE_PROGRESS = (%DISPID_TIMESTATE_BASE + &H09)
%EQUATE `DISPID_TIMESTATE_REPEATCOUNT = (%DISPID_TIMESTATE_BASE + &H0a)
%EQUATE `DISPID_TIMESTATE_SEGMENTDUR = (%DISPID_TIMESTATE_BASE + &H0b)
%EQUATE `DISPID_TIMESTATE_SEGMENTTIME = (%DISPID_TIMESTATE_BASE + &H0c)
%EQUATE `DISPID_TIMESTATE_SIMPLEDUR = (%DISPID_TIMESTATE_BASE + &H0d)
%EQUATE `DISPID_TIMESTATE_SIMPLETIME = (%DISPID_TIMESTATE_BASE + &H0e)
%EQUATE `DISPID_TIMESTATE_SPEED = (%DISPID_TIMESTATE_BASE + &H0f)
%EQUATE `DISPID_TIMESTATE_STATE = (%DISPID_TIMESTATE_BASE + &H10)
%EQUATE `DISPID_TIMESTATE_STATESTRING = (%DISPID_TIMESTATE_BASE + &H11)
%EQUATE `DISPID_TIMESTATE_VOLUME = (%DISPID_TIMESTATE_BASE + &H12)
%EQUATE `DISPID_ITIMEDMPLAYEROBJECT_HASDM = (%DISPID_TIMEDMPLAYEROBJECT_BASE + &H01)
'// =============================================
'// Transitions related stuff
'// =============================================
%EQUATE `DISPID_TIMEMEDIAELEMENT2_EARLIESTTIME = (%DISPID_TIMEMEDIAELEMENT2_BASE + &H03)
%EQUATE `DISPID_TIMEMEDIAELEMENT2_LATESTTTIME = (%DISPID_TIMEMEDIAELEMENT2_BASE + &H04)
%EQUATE `DISPID_TIMEMEDIAELEMENT2_MINBUFF = (%DISPID_TIMEMEDIAELEMENT2_BASE + &H05)
%EQUATE `DISPID_TIMEMEDIAELEMENT2_DLTOTAL = (%DISPID_TIMEMEDIAELEMENT2_BASE + &H06)
%EQUATE `DISPID_TIMEMEDIAELEMENT2_DLCURRENT = (%DISPID_TIMEMEDIAELEMENT2_BASE + &H07)
%EQUATE `DISPID_TIMEMEDIAELEMENT2_ISSTREAMED = (%DISPID_TIMEMEDIAELEMENT2_BASE + &H08)
%EQUATE `DISPID_TIMEMEDIAELEMENT2_BUFPROG = (%DISPID_TIMEMEDIAELEMENT2_BASE + &H09)
%EQUATE `DISPID_TIMEMEDIAELEMENT2_HASDLPROGRESS = (%DISPID_TIMEMEDIAELEMENT2_BASE + &H0a)
%EQUATE `DISPID_TIMEMEDIAELEMENT2_MIMETYPE = (%DISPID_TIMEMEDIAELEMENT2_BASE + &H0b)
%EQUATE `DISPID_TIMEMEDIAELEMENT2_SEEKTOFRAME = (%DISPID_TIMEMEDIAELEMENT2_BASE + &H0c)
%EQUATE `DISPID_TIMEMEDIAELEMENT2_DECODEMIMETYPE = (%DISPID_TIMEMEDIAELEMENT2_BASE + &H0d)
%EQUATE `DISPID_TIMEMEDIAELEMENT_CURRFRAME = (%DISPID_TIMEMEDIAELEMENT2_BASE + &H0e)
%EQUATE `DISPID_TIMEMEDIAELEMENT2_DLPROG = (%DISPID_TIMEMEDIAELEMENT2_BASE + &H0f)
%EQUATE `DISPID_TIMETRANSITIONELEMENT_TYPE = (%DISPID_TIMETRANSITIONELEMENT_BASE + &H01)
%EQUATE `DISPID_TIMETRANSITIONELEMENT_SUBTYPE = (%DISPID_TIMETRANSITIONELEMENT_BASE + &H02)
%EQUATE `DISPID_TIMETRANSITIONELEMENT_DUR = (%DISPID_TIMETRANSITIONELEMENT_BASE + &H03)
%EQUATE `DISPID_TIMETRANSITIONELEMENT_STARTPROGRESS = (%DISPID_TIMETRANSITIONELEMENT_BASE + &H04)
%EQUATE `DISPID_TIMETRANSITIONELEMENT_ENDPROGRESS = (%DISPID_TIMETRANSITIONELEMENT_BASE + &H05)
%EQUATE `DISPID_TIMETRANSITIONELEMENT_DIRECTION = (%DISPID_TIMETRANSITIONELEMENT_BASE + &H06)
%EQUATE `DISPID_TIMETRANSITIONELEMENT_REPEATCOUNT = (%DISPID_TIMETRANSITIONELEMENT_BASE + &H07)
%EQUATE `DISPID_TIMETRANSITIONELEMENT_BEGIN = (%DISPID_TIMETRANSITIONELEMENT_BASE + &H08)
%EQUATE `DISPID_TIMETRANSITIONELEMENT_END = (%DISPID_TIMETRANSITIONELEMENT_BASE + &H09)
#ENDIF
