+struct IMediaPlayer : public IDispatch
+{
+ STDMETHOD(get_CurrentPosition)(double __RPC_FAR *pCurrentPosition) PURE;
+ STDMETHOD(put_CurrentPosition)(double pCurrentPosition) PURE;
+ STDMETHOD(get_Duration)(double __RPC_FAR *pDuration) PURE;
+ STDMETHOD(get_ImageSourceWidth)(long __RPC_FAR *pWidth) PURE;
+ STDMETHOD(get_ImageSourceHeight)(long __RPC_FAR *pHeight) PURE;
+ STDMETHOD(get_MarkerCount)(long __RPC_FAR *pMarkerCount) PURE;
+ STDMETHOD(get_CanScan)(VARIANT_BOOL __RPC_FAR *pCanScan) PURE;
+ STDMETHOD(get_CanSeek)(VARIANT_BOOL __RPC_FAR *pCanSeek) PURE;
+ STDMETHOD(get_CanSeekToMarkers)(VARIANT_BOOL __RPC_FAR *pCanSeekToMarkers) PURE;
+ STDMETHOD(get_CurrentMarker)(long __RPC_FAR *pCurrentMarker) PURE;
+ STDMETHOD(put_CurrentMarker)(long pCurrentMarker) PURE;
+ STDMETHOD(get_FileName)(BSTR __RPC_FAR *pbstrFileName) PURE;
+ STDMETHOD(put_FileName)(BSTR pbstrFileName) PURE;
+ STDMETHOD(get_SourceLink)(BSTR __RPC_FAR *pbstrSourceLink) PURE;
+ STDMETHOD(get_CreationDate)(DATE __RPC_FAR *pCreationDate) PURE;
+ STDMETHOD(get_ErrorCorrection)(BSTR __RPC_FAR *pbstrErrorCorrection) PURE;
+ STDMETHOD(get_Bandwidth)(long __RPC_FAR *pBandwidth) PURE;
+ STDMETHOD(get_SourceProtocol)(long __RPC_FAR *pSourceProtocol) PURE;
+ STDMETHOD(get_ReceivedPackets)(long __RPC_FAR *pReceivedPackets) PURE;
+ STDMETHOD(get_RecoveredPackets)(long __RPC_FAR *pRecoveredPackets) PURE;
+ STDMETHOD(get_LostPackets)(long __RPC_FAR *pLostPackets) PURE;
+ STDMETHOD(get_ReceptionQuality)(long __RPC_FAR *pReceptionQuality) PURE;
+ STDMETHOD(get_BufferingCount)(long __RPC_FAR *pBufferingCount) PURE;
+ STDMETHOD(get_IsBroadcast)(VARIANT_BOOL __RPC_FAR *pIsBroadcast) PURE;
+ STDMETHOD(get_BufferingProgress)(long __RPC_FAR *pBufferingProgress) PURE;
+ STDMETHOD(get_ChannelName)(BSTR __RPC_FAR *pbstrChannelName) PURE;
+ STDMETHOD(get_ChannelDescription)(BSTR __RPC_FAR *pbstrChannelDescription) PURE;
+ STDMETHOD(get_ChannelURL)(BSTR __RPC_FAR *pbstrChannelURL) PURE;
+ STDMETHOD(get_ContactAddress)(BSTR __RPC_FAR *pbstrContactAddress) PURE;
+ STDMETHOD(get_ContactPhone)(BSTR __RPC_FAR *pbstrContactPhone) PURE;
+ STDMETHOD(get_ContactEmail)(BSTR __RPC_FAR *pbstrContactEmail) PURE;
+ STDMETHOD(get_BufferingTime)(double __RPC_FAR *pBufferingTime) PURE;
+ STDMETHOD(put_BufferingTime)(double pBufferingTime) PURE;
+ STDMETHOD(get_AutoStart)(VARIANT_BOOL __RPC_FAR *pAutoStart) PURE;
+ STDMETHOD(put_AutoStart)(VARIANT_BOOL pAutoStart) PURE;
+ STDMETHOD(get_AutoRewind)(VARIANT_BOOL __RPC_FAR *pAutoRewind) PURE;
+ STDMETHOD(put_AutoRewind)(VARIANT_BOOL pAutoRewind) PURE;
+ STDMETHOD(get_Rate)(double __RPC_FAR *pRate) PURE;
+ STDMETHOD(put_Rate)(double pRate) PURE;
+ STDMETHOD(get_SendKeyboardEvents)(VARIANT_BOOL __RPC_FAR *pSendKeyboardEvents) PURE;
+ STDMETHOD(put_SendKeyboardEvents)(VARIANT_BOOL pSendKeyboardEvents) PURE;
+ STDMETHOD(get_SendMouseClickEvents)(VARIANT_BOOL __RPC_FAR *pSendMouseClickEvents) PURE;
+ STDMETHOD(put_SendMouseClickEvents)(VARIANT_BOOL pSendMouseClickEvents) PURE;
+ STDMETHOD(get_SendMouseMoveEvents)(VARIANT_BOOL __RPC_FAR *pSendMouseMoveEvents) PURE;
+ STDMETHOD(put_SendMouseMoveEvents)(VARIANT_BOOL pSendMouseMoveEvents) PURE;
+ STDMETHOD(get_PlayCount)(long __RPC_FAR *pPlayCount) PURE;
+ STDMETHOD(put_PlayCount)(long pPlayCount) PURE;
+ STDMETHOD(get_ClickToPlay)(VARIANT_BOOL __RPC_FAR *pClickToPlay) PURE;
+ STDMETHOD(put_ClickToPlay)(VARIANT_BOOL pClickToPlay) PURE;
+ STDMETHOD(get_AllowScan)(VARIANT_BOOL __RPC_FAR *pAllowScan) PURE;
+ STDMETHOD(put_AllowScan)(VARIANT_BOOL pAllowScan) PURE;
+ STDMETHOD(get_EnableContextMenu)(VARIANT_BOOL __RPC_FAR *pEnableContextMenu) PURE;
+ STDMETHOD(put_EnableContextMenu)(VARIANT_BOOL pEnableContextMenu) PURE;
+ STDMETHOD(get_CursorType)(long __RPC_FAR *pCursorType) PURE;
+ STDMETHOD(put_CursorType)(long pCursorType) PURE;
+ STDMETHOD(get_CodecCount)(long __RPC_FAR *pCodecCount) PURE;
+ STDMETHOD(get_AllowChangeDisplaySize)(VARIANT_BOOL __RPC_FAR *pAllowChangeDisplaySize) PURE;
+ STDMETHOD(put_AllowChangeDisplaySize)( VARIANT_BOOL pAllowChangeDisplaySize) PURE;
+ STDMETHOD(get_IsDurationValid)(VARIANT_BOOL __RPC_FAR *pIsDurationValid) PURE;
+ STDMETHOD(get_OpenState)(long __RPC_FAR *pOpenState) PURE;
+ STDMETHOD(get_SendOpenStateChangeEvents)(VARIANT_BOOL __RPC_FAR *pSendOpenStateChangeEvents) PURE;
+ STDMETHOD(put_SendOpenStateChangeEvents)(VARIANT_BOOL pSendOpenStateChangeEvents) PURE;
+ STDMETHOD(get_SendWarningEvents)( VARIANT_BOOL __RPC_FAR *pSendWarningEvents) PURE;
+ STDMETHOD(put_SendWarningEvents)(VARIANT_BOOL pSendWarningEvents) PURE;
+ STDMETHOD(get_SendErrorEvents)(VARIANT_BOOL __RPC_FAR *pSendErrorEvents) PURE;
+ STDMETHOD(put_SendErrorEvents)(VARIANT_BOOL pSendErrorEvents) PURE;
+ STDMETHOD(get_PlayState)(MPPlayStateConstants __RPC_FAR *pPlayState) PURE;
+ STDMETHOD(get_SendPlayStateChangeEvents)(VARIANT_BOOL __RPC_FAR *pSendPlayStateChangeEvents) PURE;
+ STDMETHOD(put_SendPlayStateChangeEvents)(VARIANT_BOOL pSendPlayStateChangeEvents) PURE;
+ STDMETHOD(get_DisplaySize)(MPDisplaySizeConstants __RPC_FAR *pDisplaySize) PURE;
+ STDMETHOD(put_DisplaySize)(MPDisplaySizeConstants pDisplaySize) PURE;
+ STDMETHOD(get_InvokeURLs)(VARIANT_BOOL __RPC_FAR *pInvokeURLs) PURE;
+ STDMETHOD(put_InvokeURLs)(VARIANT_BOOL pInvokeURLs) PURE;
+ STDMETHOD(get_BaseURL)(BSTR __RPC_FAR *pbstrBaseURL) PURE;
+ STDMETHOD(put_BaseURL)(BSTR pbstrBaseURL) PURE;
+ STDMETHOD(get_DefaultFrame)(BSTR __RPC_FAR *pbstrDefaultFrame) PURE;
+ STDMETHOD(put_DefaultFrame)(BSTR pbstrDefaultFrame) PURE;
+ STDMETHOD(get_HasError)(VARIANT_BOOL __RPC_FAR *pHasError) PURE;
+ STDMETHOD(get_ErrorDescription)(BSTR __RPC_FAR *pbstrErrorDescription) PURE;
+ STDMETHOD(get_ErrorCode)(long __RPC_FAR *pErrorCode) PURE;
+ STDMETHOD(get_AnimationAtStart)(VARIANT_BOOL __RPC_FAR *pAnimationAtStart) PURE;
+ STDMETHOD(put_AnimationAtStart)(VARIANT_BOOL pAnimationAtStart) PURE;
+ STDMETHOD(get_TransparentAtStart)( VARIANT_BOOL __RPC_FAR *pTransparentAtStart) PURE;
+ STDMETHOD(put_TransparentAtStart)(VARIANT_BOOL pTransparentAtStart) PURE;
+ STDMETHOD(get_Volume)(long __RPC_FAR *pVolume) PURE;
+ STDMETHOD(put_Volume)(long pVolume) PURE;
+ STDMETHOD(get_Balance)(long __RPC_FAR *pBalance) PURE;
+ STDMETHOD(put_Balance)(long pBalance) PURE;
+ STDMETHOD(get_ReadyState)(MPReadyStateConstants __RPC_FAR *pValue) PURE;
+ STDMETHOD(get_SelectionStart)(double __RPC_FAR *pValue) PURE;
+ STDMETHOD(put_SelectionStart)(double pValue) PURE;
+ STDMETHOD(get_SelectionEnd)(double __RPC_FAR *pValue) PURE;
+ STDMETHOD(put_SelectionEnd)(double pValue) PURE;
+ STDMETHOD(get_ShowDisplay)(VARIANT_BOOL __RPC_FAR *Show) PURE;
+ STDMETHOD(put_ShowDisplay)(VARIANT_BOOL Show) PURE;
+ STDMETHOD(get_ShowControls)(VARIANT_BOOL __RPC_FAR *Show) PURE;
+ STDMETHOD(put_ShowControls)(VARIANT_BOOL Show) PURE;
+ STDMETHOD(get_ShowPositionControls)(VARIANT_BOOL __RPC_FAR *Show) PURE;
+ STDMETHOD(put_ShowPositionControls)(VARIANT_BOOL Show) PURE;
+ STDMETHOD(get_ShowTracker)(VARIANT_BOOL __RPC_FAR *Show) PURE;
+ STDMETHOD(put_ShowTracker)(VARIANT_BOOL Show) PURE;
+ STDMETHOD(get_EnablePositionControls)(VARIANT_BOOL __RPC_FAR *Enable) PURE;
+ STDMETHOD(put_EnablePositionControls)(VARIANT_BOOL Enable) PURE;
+ STDMETHOD(get_EnableTracker)(VARIANT_BOOL __RPC_FAR *Enable) PURE;
+ STDMETHOD(put_EnableTracker)(VARIANT_BOOL Enable) PURE;
+ STDMETHOD(get_Enabled)(VARIANT_BOOL __RPC_FAR *pEnabled) PURE;
+ STDMETHOD(put_Enabled)(VARIANT_BOOL pEnabled) PURE;
+ STDMETHOD(get_DisplayForeColor)(VB_OLE_COLOR __RPC_FAR *ForeColor) PURE;
+ STDMETHOD(put_DisplayForeColor)(VB_OLE_COLOR ForeColor) PURE;
+ STDMETHOD(get_DisplayBackColor)(VB_OLE_COLOR __RPC_FAR *BackColor) PURE;
+ STDMETHOD(put_DisplayBackColor)(VB_OLE_COLOR BackColor) PURE;
+ STDMETHOD(get_DisplayMode)(MPDisplayModeConstants __RPC_FAR *pValue) PURE;
+ STDMETHOD(put_DisplayMode)(MPDisplayModeConstants pValue) PURE;
+ STDMETHOD(get_VideoBorder3D)(VARIANT_BOOL __RPC_FAR *pVideoBorderWidth) PURE;
+ STDMETHOD(put_VideoBorder3D)(VARIANT_BOOL pVideoBorderWidth) PURE;
+ STDMETHOD(get_VideoBorderWidth)(long __RPC_FAR *pVideoBorderWidth) PURE;
+ STDMETHOD(put_VideoBorderWidth)(long pVideoBorderWidth) PURE;
+ STDMETHOD(get_VideoBorderColor)(VB_OLE_COLOR __RPC_FAR *pVideoBorderWidth) PURE;
+ STDMETHOD(put_VideoBorderColor)(VB_OLE_COLOR pVideoBorderWidth) PURE;
+ STDMETHOD(get_ShowGotoBar)(VARIANT_BOOL __RPC_FAR *pbool) PURE;
+ STDMETHOD(put_ShowGotoBar)(VARIANT_BOOL pbool) PURE;
+ STDMETHOD(get_ShowStatusBar)(VARIANT_BOOL __RPC_FAR *pbool) PURE;
+ STDMETHOD(put_ShowStatusBar)(VARIANT_BOOL pbool) PURE;
+ STDMETHOD(get_ShowCaptioning)(VARIANT_BOOL __RPC_FAR *pbool) PURE;
+ STDMETHOD(put_ShowCaptioning)(VARIANT_BOOL pbool) PURE;
+ STDMETHOD(get_ShowAudioControls)(VARIANT_BOOL __RPC_FAR *pbool) PURE;
+ STDMETHOD(put_ShowAudioControls)(VARIANT_BOOL pbool) PURE;
+ STDMETHOD(get_CaptioningID)( BSTR __RPC_FAR *pstrText) PURE;
+ STDMETHOD(put_CaptioningID)(BSTR pstrText) PURE;
+ STDMETHOD(get_Mute)(VARIANT_BOOL __RPC_FAR *vbool) PURE;
+ STDMETHOD(put_Mute)(VARIANT_BOOL vbool) PURE;
+ STDMETHOD(get_CanPreview)(VARIANT_BOOL __RPC_FAR *pCanPreview) PURE;
+ STDMETHOD(get_PreviewMode)(VARIANT_BOOL __RPC_FAR *pPreviewMode) PURE;
+ STDMETHOD(put_PreviewMode)(VARIANT_BOOL pPreviewMode) PURE;
+ STDMETHOD(get_HasMultipleItems)(VARIANT_BOOL __RPC_FAR *pHasMuliItems) PURE;
+ STDMETHOD(get_Language)(long __RPC_FAR *pLanguage) PURE;
+ STDMETHOD(put_Language)(long pLanguage) PURE;
+ STDMETHOD(get_AudioStream)(long __RPC_FAR *pStream) PURE;
+ STDMETHOD(put_AudioStream)(long pStream) PURE;
+ STDMETHOD(get_SAMIStyle)(BSTR __RPC_FAR *pbstrStyle) PURE;
+ STDMETHOD(put_SAMIStyle)(BSTR pbstrStyle) PURE;
+ STDMETHOD(get_SAMILang)(BSTR __RPC_FAR *pbstrLang) PURE;
+ STDMETHOD(put_SAMILang)(BSTR pbstrLang) PURE;
+ STDMETHOD(get_SAMIFileName)(BSTR __RPC_FAR *pbstrFileName) PURE;
+ STDMETHOD(put_SAMIFileName)(BSTR pbstrFileName) PURE;
+ STDMETHOD(get_StreamCount)( long __RPC_FAR *pStreamCount) PURE;
+ STDMETHOD(get_ClientId)(BSTR __RPC_FAR *pbstrClientId) PURE;
+ STDMETHOD(get_ConnectionSpeed)(long __RPC_FAR *plConnectionSpeed) PURE;
+ STDMETHOD(get_AutoSize)(VARIANT_BOOL __RPC_FAR *pbool) PURE;
+ STDMETHOD(put_AutoSize)(VARIANT_BOOL pbool) PURE;
+ STDMETHOD(get_EnableFullScreenControls)(VARIANT_BOOL __RPC_FAR *pbVal) PURE;
+ STDMETHOD(put_EnableFullScreenControls)(VARIANT_BOOL pbVal) PURE;
+ STDMETHOD(get_ActiveMovie)(IDispatch __RPC_FAR *__RPC_FAR *ppdispatch) PURE;
+ STDMETHOD(get_NSPlay)(IDispatch __RPC_FAR *__RPC_FAR *ppdispatch) PURE;
+ STDMETHOD(get_WindowlessVideo)(VARIANT_BOOL __RPC_FAR *pbool) PURE;
+ STDMETHOD(put_WindowlessVideo)(VARIANT_BOOL pbool) PURE;
+ STDMETHOD(Play)(void) PURE;
+ STDMETHOD(Stop)(void) PURE;
+ STDMETHOD(Pause)(void) PURE;
+ STDMETHOD(GetMarkerTime)(long MarkerNum,
+ double __RPC_FAR *pMarkerTime) PURE;
+ STDMETHOD(GetMarkerName)(long MarkerNum,
+ BSTR __RPC_FAR *pbstrMarkerName) PURE;
+ STDMETHOD(AboutBox)(void) PURE;
+ STDMETHOD(GetCodecInstalled)(long CodecNum,
+ VARIANT_BOOL __RPC_FAR *pCodecInstalled) PURE;
+ STDMETHOD(GetCodecDescription)(long CodecNum,
+ BSTR __RPC_FAR *pbstrCodecDescription) PURE;
+ STDMETHOD(GetCodecURL)(long CodecNum,
+ BSTR __RPC_FAR *pbstrCodecURL) PURE;
+ STDMETHOD(GetMoreInfoURL)(MPMoreInfoType MoreInfoType,
+ BSTR __RPC_FAR *pbstrMoreInfoURL) PURE;
+ STDMETHOD(GetMediaInfoString)(MPMediaInfoType MediaInfoType,
+ BSTR __RPC_FAR *pbstrMediaInfo) PURE;
+ STDMETHOD(Cancel)(void) PURE;
+ STDMETHOD(Open)(BSTR bstrFileName) PURE;
+ STDMETHOD(IsSoundCardEnabled)(VARIANT_BOOL __RPC_FAR *pbSoundCard) PURE;
+ STDMETHOD(Next)(void) PURE;
+ STDMETHOD(Previous)(void) PURE;
+ STDMETHOD(StreamSelect)(long StreamNum) PURE;
+ STDMETHOD(FastForward)(void) PURE;
+ STDMETHOD(FastReverse)(void) PURE;
+ STDMETHOD(GetStreamName)(long StreamNum,
+ BSTR __RPC_FAR *pbstrStreamName) PURE;
+ STDMETHOD(GetStreamGroup)(long StreamNum,
+ long __RPC_FAR *pStreamGroup) PURE;
+ STDMETHOD(GetStreamSelected)(long StreamNum, VARIANT_BOOL __RPC_FAR *pStreamSelected) PURE;
+};