+enum ReadyStateConstants
+{
+ amvUninitialized = 0,
+ amvLoading = 1,
+ amvInteractive = 3,
+ amvComplete = 4
+};
+
+enum StateConstants
+{
+ amvNotLoaded = -1,
+ amvStopped = 0,
+ amvPaused = 1,
+ amvRunning = 2
+};
+
+enum DisplayModeConstants
+{
+ amvTime = 0,
+ amvFrames = 1
+};
+
+enum WindowSizeConstants
+{
+ amvOriginalSize = 0,
+ amvDoubleOriginalSize = 1,
+ amvOneSixteenthScreen = 2,
+ amvOneFourthScreen = 3,
+ amvOneHalfScreen = 4
+};
+
+enum AppearanceConstants
+{
+ amvFlat = 0,
+ amv3D = 1
+};
+
+enum BorderStyleConstants
+{
+ amvNone = 0,
+ amvFixedSingle = 1
+};
+
+struct IActiveMovie : public IDispatch
+{
+ STDMETHOD(AboutBox)( void) PURE;
+ STDMETHOD(Run)( void) PURE;
+ STDMETHOD(Pause)( void) PURE;
+ STDMETHOD(Stop)( void) PURE;
+ STDMETHOD(get_ImageSourceWidth)(long __RPC_FAR *pWidth) PURE;
+ STDMETHOD(get_ImageSourceHeight)(long __RPC_FAR *pHeight) PURE;
+ STDMETHOD(get_Author)(BSTR __RPC_FAR *pbstrAuthor) PURE;
+ STDMETHOD(get_Title)(BSTR __RPC_FAR *pbstrTitle) PURE;
+ STDMETHOD(get_Copyright)(BSTR __RPC_FAR *pbstrCopyright) PURE;
+ STDMETHOD(get_Description)(BSTR __RPC_FAR *pbstrDescription) PURE;
+ STDMETHOD(get_Rating)(BSTR __RPC_FAR *pbstrRating) PURE;
+ STDMETHOD(get_FileName)(BSTR __RPC_FAR *pbstrFileName) PURE;
+ STDMETHOD(put_FileName)(BSTR pbstrFileName) PURE;
+ STDMETHOD(get_Duration)(double __RPC_FAR *pValue) PURE;
+ STDMETHOD(get_CurrentPosition)(double __RPC_FAR *pValue) PURE;
+ STDMETHOD(put_CurrentPosition)(double pValue) PURE;
+ STDMETHOD(get_PlayCount)(long __RPC_FAR *pPlayCount) PURE;
+ STDMETHOD(put_PlayCount)(long pPlayCount) 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_CurrentState)(StateConstants __RPC_FAR *pState) PURE;
+ STDMETHOD(get_Rate)(double __RPC_FAR *pValue) PURE;
+ STDMETHOD(put_Rate)(double pValue) PURE;
+ STDMETHOD(get_Volume)(long __RPC_FAR *pValue) PURE;
+ STDMETHOD(put_Volume)(long pValue) PURE;
+ STDMETHOD(get_Balance)(long __RPC_FAR *pValue) PURE;
+ STDMETHOD(put_Balance)(long pValue) PURE;
+ STDMETHOD(get_EnableContextMenu)(VARIANT_BOOL __RPC_FAR *pEnable) PURE;
+ STDMETHOD(put_EnableContextMenu)(VARIANT_BOOL pEnable) 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_ShowSelectionControls)(VARIANT_BOOL __RPC_FAR *Show) PURE;
+ STDMETHOD(put_ShowSelectionControls)(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_EnableSelectionControls)(VARIANT_BOOL __RPC_FAR *Enable) PURE;
+ STDMETHOD(put_EnableSelectionControls)(VARIANT_BOOL Enable) PURE;
+ STDMETHOD(get_EnableTracker)(VARIANT_BOOL __RPC_FAR *Enable) PURE;
+ STDMETHOD(put_EnableTracker)(VARIANT_BOOL Enable) PURE;
+ STDMETHOD(get_AllowHideDisplay)(VARIANT_BOOL __RPC_FAR *Show) PURE;
+ STDMETHOD(put_AllowHideDisplay)(VARIANT_BOOL Show) PURE;
+ STDMETHOD(get_AllowHideControls)(VARIANT_BOOL __RPC_FAR *Show) PURE;
+ STDMETHOD(put_AllowHideControls)(VARIANT_BOOL Show) PURE;
+ STDMETHOD(get_DisplayMode)(DisplayModeConstants __RPC_FAR *pValue) PURE;
+ STDMETHOD(put_DisplayMode)(DisplayModeConstants pValue) PURE;
+ STDMETHOD(get_AllowChangeDisplayMode)(VARIANT_BOOL __RPC_FAR *fAllow) PURE;
+ STDMETHOD(put_AllowChangeDisplayMode)(VARIANT_BOOL fAllow) PURE;
+ STDMETHOD(get_FilterGraph)(IUnknown __RPC_FAR *__RPC_FAR *ppFilterGraph) PURE;
+ STDMETHOD(put_FilterGraph)(IUnknown __RPC_FAR *ppFilterGraph) PURE;
+ STDMETHOD(get_FilterGraphDispatch)(IDispatch __RPC_FAR *__RPC_FAR *pDispatch) PURE;
+ STDMETHOD(get_DisplayForeColor)(unsigned long __RPC_FAR *ForeColor) PURE;
+ STDMETHOD(put_DisplayForeColor)(unsigned long ForeColor) PURE;
+ STDMETHOD(get_DisplayBackColor)(unsigned long __RPC_FAR *BackColor) PURE;
+ STDMETHOD(put_DisplayBackColor)(unsigned long BackColor) PURE;
+ STDMETHOD(get_MovieWindowSize)(WindowSizeConstants __RPC_FAR *WindowSize) PURE;
+ STDMETHOD(put_MovieWindowSize)(WindowSizeConstants WindowSize) PURE;
+ STDMETHOD(get_FullScreenMode)(VARIANT_BOOL __RPC_FAR *pEnable) PURE;
+ STDMETHOD(put_FullScreenMode)(VARIANT_BOOL pEnable) PURE;
+ STDMETHOD(get_AutoStart)(VARIANT_BOOL __RPC_FAR *pEnable) PURE;
+ STDMETHOD(put_AutoStart)(VARIANT_BOOL pEnable) PURE;
+ STDMETHOD(get_AutoRewind)(VARIANT_BOOL __RPC_FAR *pEnable) PURE;
+ STDMETHOD(put_AutoRewind)(VARIANT_BOOL pEnable) PURE;
+ STDMETHOD(get_hWnd)(long __RPC_FAR *hWnd) PURE;
+ STDMETHOD(get_Appearance)(AppearanceConstants __RPC_FAR *pAppearance) PURE;
+ STDMETHOD(put_Appearance)(AppearanceConstants pAppearance) PURE;
+ STDMETHOD(get_BorderStyle)(BorderStyleConstants __RPC_FAR *pBorderStyle) PURE;
+ STDMETHOD(put_BorderStyle)(BorderStyleConstants pBorderStyle) PURE;
+ STDMETHOD(get_Enabled)(VARIANT_BOOL __RPC_FAR *pEnabled) PURE;
+ STDMETHOD(put_Enabled)(VARIANT_BOOL pEnabled) PURE;
+ STDMETHOD(get_Info)(long __RPC_FAR *ppInfo) PURE;
+};
+
+
+struct IActiveMovie2 : public IActiveMovie
+{
+ STDMETHOD(IsSoundCardEnabled)(VARIANT_BOOL __RPC_FAR *pbSoundCard) PURE;
+ STDMETHOD(get_ReadyState)(ReadyStateConstants __RPC_FAR *pValue) PURE;
+};
+
+struct IActiveMovie3 : public IActiveMovie2
+{
+ STDMETHOD(get_MediaPlayer)(IDispatch __RPC_FAR *__RPC_FAR *ppDispatch) PURE;
+};
+
+
+//---------------------------------------------------------------------------
+// MEDIAPLAYER COM INTERFACES (dumped from msdxm.idl from MSVC COM Browser)
+//---------------------------------------------------------------------------
+
+enum MPPlayStateConstants
+{
+ mpStopped = 0,
+ mpPaused = 1,
+ mpPlaying = 2,
+ mpWaiting = 3,
+ mpScanForward = 4,
+ mpScanReverse = 5,
+ mpClosed = 6
+};
+
+enum MPDisplaySizeConstants
+{
+ mpDefaultSize = 0,
+ mpHalfSize = 1,
+ mpDoubleSize = 2,
+ mpFullScreen = 3,
+ mpFitToSize = 4,
+ mpOneSixteenthScreen = 5,
+ mpOneFourthScreen = 6,
+ mpOneHalfScreen = 7
+};
+
+enum MPReadyStateConstants
+{
+ mpReadyStateUninitialized = 0,
+ mpReadyStateLoading = 1,
+ mpReadyStateInteractive = 3,
+ mpReadyStateComplete = 4
+};
+
+typedef unsigned long VB_OLE_COLOR;
+
+enum MPDisplayModeConstants
+{
+ mpTime = 0,
+ mpFrames = 1
+};
+
+enum MPMoreInfoType
+{
+ mpShowURL = 0,
+ mpClipURL = 1,
+ mpBannerURL = 2
+};
+
+enum MPMediaInfoType
+{
+ mpShowFilename = 0,
+ mpShowTitle = 1,
+ mpShowAuthor = 2,
+ mpShowCopyright = 3,
+ mpShowRating = 4,
+ mpShowDescription = 5,
+ mpShowLogoIcon = 6,
+ mpClipFilename = 7,
+ mpClipTitle = 8,
+ mpClipAuthor = 9,
+ mpClipCopyright = 10,
+ mpClipRating = 11,
+ mpClipDescription = 12,
+ mpClipLogoIcon = 13,
+ mpBannerImage = 14,
+ mpBannerMoreInfo = 15,
+ mpWatermark = 16
+};
+
+enum DVDMenuIDConstants
+{
+ dvdMenu_Title = 2,
+ dvdMenu_Root = 3,
+ dvdMenu_Subpicture = 4,
+ dvdMenu_Audio = 5,
+ dvdMenu_Angle = 6,
+ dvdMenu_Chapter = 7
+};
+
+enum MPShowDialogConstants
+{
+ mpShowDialogHelp = 0,
+ mpShowDialogStatistics = 1,
+ mpShowDialogOptions = 2,
+ mpShowDialogContextMenu = 3
+};
+
+
+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;
+};
+
+struct IMediaPlayer2 : public IMediaPlayer
+{
+ STDMETHOD(get_DVD)(struct IMediaPlayerDvd __RPC_FAR *__RPC_FAR *ppdispatch) PURE;
+ STDMETHOD(GetMediaParameter)(long EntryNum, BSTR bstrParameterName, BSTR __RPC_FAR *pbstrParameterValue) PURE;
+ STDMETHOD(GetMediaParameterName(long EntryNum, long Index, BSTR __RPC_FAR *pbstrParameterName) PURE;
+ STDMETHOD(get_EntryCount)(long __RPC_FAR *pNumberEntries) PURE;
+ STDMETHOD(GetCurrentEntry)(long __RPC_FAR *pEntryNumber) PURE;
+ STDMETHOD(SetCurrentEntry)(long EntryNumber) PURE;
+ STDMETHOD(ShowDialog)(MPShowDialogConstants mpDialogIndex) PURE;
+};
+
+//---------------------------------------------------------------------------
+// NETSHOW COM INTERFACES (dumped from nscompat.idl from MSVC COM Browser)
+//---------------------------------------------------------------------------
+
+struct INSOPlay : public IDispatch
+{
+ STDMETHOD(get_ImageSourceWidth)(long __RPC_FAR *pWidth) PURE;
+ STDMETHOD(get_ImageSourceHeight)(long __RPC_FAR *pHeight) PURE;
+ STDMETHOD(get_Duration)(double __RPC_FAR *pDuration) PURE;
+ STDMETHOD(get_Author)(BSTR __RPC_FAR *pbstrAuthor) PURE;
+ STDMETHOD(get_Copyright)(BSTR __RPC_FAR *pbstrCopyright) PURE;
+ STDMETHOD(get_Description)(BSTR __RPC_FAR *pbstrDescription) PURE;
+ STDMETHOD(get_Rating)(BSTR __RPC_FAR *pbstrRating) PURE;
+ STDMETHOD(get_Title)(BSTR __RPC_FAR *pbstrTitle) PURE;
+ STDMETHOD(get_SourceLink)(BSTR __RPC_FAR *pbstrSourceLink) 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_CreationDate)(DATE __RPC_FAR *pCreationDate) PURE;
+ STDMETHOD(get_Bandwidth)(long __RPC_FAR *pBandwidth) PURE;
+ STDMETHOD(get_ErrorCorrection)(BSTR __RPC_FAR *pbstrErrorCorrection) 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_AllowChangeControlType)(VARIANT_BOOL __RPC_FAR *pAllowChangeControlType) PURE;
+ STDMETHOD(put_AllowChangeControlType)(VARIANT_BOOL pAllowChangeControlType) PURE;
+ STDMETHOD(get_InvokeURLs)(VARIANT_BOOL __RPC_FAR *pInvokeURLs) PURE;
+ STDMETHOD(put_InvokeURLs)(VARIANT_BOOL pInvokeURLs) PURE;
+ STDMETHOD(get_EnableContextMenu)(VARIANT_BOOL __RPC_FAR *pEnableContextMenu) PURE;
+ STDMETHOD(put_EnableContextMenu)(VARIANT_BOOL pEnableContextMenu) PURE;
+ STDMETHOD(get_TransparentAtStart)(VARIANT_BOOL __RPC_FAR *pTransparentAtStart) PURE;
+ STDMETHOD(put_TransparentAtStart)(VARIANT_BOOL pTransparentAtStart) PURE;
+ STDMETHOD(get_TransparentOnStop)(VARIANT_BOOL __RPC_FAR *pTransparentOnStop) PURE;
+ STDMETHOD(put_TransparentOnStop)(VARIANT_BOOL pTransparentOnStop) PURE;
+ STDMETHOD(get_ClickToPlay)(VARIANT_BOOL __RPC_FAR *pClickToPlay) PURE;
+ STDMETHOD(put_ClickToPlay)(VARIANT_BOOL pClickToPlay) PURE;
+ STDMETHOD(get_FileName)(BSTR __RPC_FAR *pbstrFileName) PURE;
+ STDMETHOD(put_FileName)(BSTR pbstrFileName) PURE;
+ STDMETHOD(get_CurrentPosition)(double __RPC_FAR *pCurrentPosition) PURE;
+ STDMETHOD(put_CurrentPosition)(double pCurrentPosition) PURE;
+ STDMETHOD(get_Rate)(double __RPC_FAR *pRate) PURE;
+ STDMETHOD(put_Rate)(double pRate) PURE;
+ STDMETHOD(get_CurrentMarker)(long __RPC_FAR *pCurrentMarker) PURE;
+ STDMETHOD(put_CurrentMarker)(long pCurrentMarker) PURE;
+ STDMETHOD(get_PlayCount)(long __RPC_FAR *pPlayCount) PURE;
+ STDMETHOD(put_PlayCount)(long pPlayCount) PURE;
+ STDMETHOD(get_CurrentState)(long __RPC_FAR *pCurrentState) PURE;
+ STDMETHOD(get_DisplaySize)(long __RPC_FAR *pDisplaySize) PURE;
+ STDMETHOD(put_DisplaySize)(long pDisplaySize) PURE;
+ STDMETHOD(get_MainWindow)(long __RPC_FAR *pMainWindow) PURE;
+ STDMETHOD(get_ControlType)(long __RPC_FAR *pControlType) PURE;
+ STDMETHOD(put_ControlType)(long pControlType) PURE;
+ STDMETHOD(get_AllowScan)(VARIANT_BOOL __RPC_FAR *pAllowScan) PURE;
+ STDMETHOD(put_AllowScan)(VARIANT_BOOL pAllowScan) 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_SendStateChangeEvents)(VARIANT_BOOL __RPC_FAR *pSendStateChangeEvents) PURE;
+ STDMETHOD(put_SendStateChangeEvents)(VARIANT_BOOL pSendStateChangeEvents) 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_CursorType)(long __RPC_FAR *pCursorType) PURE;
+ STDMETHOD(put_CursorType)(long pCursorType) PURE;
+ STDMETHOD(get_AnimationAtStart)(VARIANT_BOOL __RPC_FAR *pAnimationAtStart) PURE;
+ STDMETHOD(put_AnimationAtStart)(VARIANT_BOOL pAnimationAtStart) PURE;
+ STDMETHOD(get_AnimationOnStop)(VARIANT_BOOL __RPC_FAR *pAnimationOnStop) PURE;
+ STDMETHOD(put_AnimationOnStop)(VARIANT_BOOL pAnimationOnStop) PURE;
+ STDMETHOD(Play)(void) PURE;
+ STDMETHOD(Pause)(void) PURE;
+ STDMETHOD(Stop)(void) PURE;
+ STDMETHOD(GetMarkerTime)(long MarkerNum, double __RPC_FAR *pMarkerTime) PURE;
+ STDMETHOD(GetMarkerName)(long MarkerNum, BSTR __RPC_FAR *pbstrMarkerName) PURE;
+};
+
+struct INSPlay : public INSOPlay
+{
+ 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_AllowChangeDisplaySize)(VARIANT_BOOL __RPC_FAR *pAllowChangeDisplaySize) PURE;
+ STDMETHOD(put_AllowChangeDisplaySize)(VARIANT_BOOL pAllowChangeDisplaySize) PURE;
+ STDMETHOD(get_CodecCount)(long __RPC_FAR *pCodecCount) PURE;
+ STDMETHOD(get_IsBroadcast)(VARIANT_BOOL __RPC_FAR *pIsBroadcast) PURE;
+ STDMETHOD(get_IsDurationValid)(VARIANT_BOOL __RPC_FAR *pIsDurationValid) PURE;
+ STDMETHOD(get_SourceProtocol)(long __RPC_FAR *pSourceProtocol) 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_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_PlayState)(long __RPC_FAR *pPlayState) PURE;
+ STDMETHOD(get_SendPlayStateChangeEvents)(VARIANT_BOOL __RPC_FAR *pSendPlayStateChangeEvents) PURE;
+ STDMETHOD(put_SendPlayStateChangeEvents)(VARIANT_BOOL pSendPlayStateChangeEvents) PURE;
+ STDMETHOD(get_BufferingTime)(double __RPC_FAR *pBufferingTime) PURE;
+ STDMETHOD(put_BufferingTime)(double pBufferingTime) PURE;
+ STDMETHOD(get_UseFixedUDPPort)(VARIANT_BOOL __RPC_FAR *pUseFixedUDPPort) PURE;
+ STDMETHOD(put_UseFixedUDPPort)(VARIANT_BOOL pUseFixedUDPPort) PURE;
+ STDMETHOD(get_FixedUDPPort)(long __RPC_FAR *pFixedUDPPort) PURE;
+ STDMETHOD(put_FixedUDPPort)(long pFixedUDPPort) PURE;
+ STDMETHOD(get_UseHTTPProxy)(VARIANT_BOOL __RPC_FAR *pUseHTTPProxy) PURE;
+ STDMETHOD(put_UseHTTPProxy)(VARIANT_BOOL pUseHTTPProxy) PURE;
+ STDMETHOD(get_EnableAutoProxy)(VARIANT_BOOL __RPC_FAR *pEnableAutoProxy) PURE;
+ STDMETHOD(put_EnableAutoProxy)(VARIANT_BOOL pEnableAutoProxy) PURE;
+ STDMETHOD(get_HTTPProxyHost)(BSTR __RPC_FAR *pbstrHTTPProxyHost) PURE;
+ STDMETHOD(put_HTTPProxyHost)(BSTR pbstrHTTPProxyHost) PURE;
+ STDMETHOD(get_HTTPProxyPort)(long __RPC_FAR *pHTTPProxyPort) PURE;
+ STDMETHOD(put_HTTPProxyPort)(long pHTTPProxyPort) PURE;
+ STDMETHOD(get_EnableMulticast)(VARIANT_BOOL __RPC_FAR *pEnableMulticast) PURE;
+ STDMETHOD(put_EnableMulticast)(VARIANT_BOOL pEnableMulticast) PURE;
+ STDMETHOD(get_EnableUDP)(VARIANT_BOOL __RPC_FAR *pEnableUDP) PURE;
+ STDMETHOD(put_EnableUDP)(VARIANT_BOOL pEnableUDP) PURE;
+ STDMETHOD(get_EnableTCP)(VARIANT_BOOL __RPC_FAR *pEnableTCP) PURE;
+ STDMETHOD(put_EnableTCP)(VARIANT_BOOL pEnableTCP) PURE;
+ STDMETHOD(get_EnableHTTP)(VARIANT_BOOL __RPC_FAR *pEnableHTTP) PURE;
+ STDMETHOD(put_EnableHTTP)(VARIANT_BOOL pEnableHTTP) PURE;
+ STDMETHOD(get_BufferingProgress)(long __RPC_FAR *pBufferingProgress) 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(AboutBox))(void) PURE;
+ STDMETHOD(Cancel)(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(Open)(BSTR bstrFileName) PURE;
+};
+
+
+struct INSPlay1 : public INSPlay
+{
+ STDMETHOD(get_MediaPlayer)(IDispatch __RPC_FAR *__RPC_FAR *ppdispatch) PURE;
+};
+
+//---------------------------------------------------------------------------
+// IWMP (PocketPC 2000) COM INTERFACES (dumped from PlayerOCX.idl)
+//---------------------------------------------------------------------------
+
+struct IWMP : public IDispatch