activemovie3.cpp
资源名称:player.rar [点击查看]
上传用户:chjulong
上传日期:2020-01-10
资源大小:3427k
文件大小:13k
源码类别:
midi
开发平台:
Visual C++
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
- #include "stdafx.h"
- #include "activemovie3.h"
- /////////////////////////////////////////////////////////////////////////////
- // CActiveMovie3
- IMPLEMENT_DYNCREATE(CActiveMovie3, CWnd)
- /////////////////////////////////////////////////////////////////////////////
- // CActiveMovie3 properties
- /////////////////////////////////////////////////////////////////////////////
- // CActiveMovie3 operations
- void CActiveMovie3::AboutBox()
- {
- InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void CActiveMovie3::Run()
- {
- InvokeHelper(0x60020001, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void CActiveMovie3::Pause()
- {
- InvokeHelper(0x60020002, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void CActiveMovie3::Stop()
- {
- InvokeHelper(0x60020003, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- long CActiveMovie3::GetImageSourceWidth()
- {
- long result;
- InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- long CActiveMovie3::GetImageSourceHeight()
- {
- long result;
- InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- CString CActiveMovie3::GetAuthor()
- {
- CString result;
- InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- CString CActiveMovie3::GetTitle()
- {
- CString result;
- InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- CString CActiveMovie3::GetCopyright()
- {
- CString result;
- InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- CString CActiveMovie3::GetDescription()
- {
- CString result;
- InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- CString CActiveMovie3::GetRating()
- {
- CString result;
- InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- CString CActiveMovie3::GetFileName()
- {
- CString result;
- InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetFileName(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- double CActiveMovie3::GetDuration()
- {
- double result;
- InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
- return result;
- }
- double CActiveMovie3::GetCurrentPosition()
- {
- double result;
- InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetCurrentPosition(double newValue)
- {
- static BYTE parms[] =
- VTS_R8;
- InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- long CActiveMovie3::GetPlayCount()
- {
- long result;
- InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetPlayCount(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- double CActiveMovie3::GetSelectionStart()
- {
- double result;
- InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetSelectionStart(double newValue)
- {
- static BYTE parms[] =
- VTS_R8;
- InvokeHelper(0xf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- double CActiveMovie3::GetSelectionEnd()
- {
- double result;
- InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetSelectionEnd(double newValue)
- {
- static BYTE parms[] =
- VTS_R8;
- InvokeHelper(0x10, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- long CActiveMovie3::GetCurrentState()
- {
- long result;
- InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- double CActiveMovie3::GetRate()
- {
- double result;
- InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetRate(double newValue)
- {
- static BYTE parms[] =
- VTS_R8;
- InvokeHelper(0x12, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- long CActiveMovie3::GetVolume()
- {
- long result;
- InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetVolume(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x13, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CActiveMovie3::GetBalance()
- {
- long result;
- InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetBalance(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x14, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL CActiveMovie3::GetEnableContextMenu()
- {
- BOOL result;
- InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetEnableContextMenu(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x15, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CActiveMovie3::GetShowDisplay()
- {
- BOOL result;
- InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetShowDisplay(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x16, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CActiveMovie3::GetShowControls()
- {
- BOOL result;
- InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetShowControls(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CActiveMovie3::GetShowPositionControls()
- {
- BOOL result;
- InvokeHelper(0x18, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetShowPositionControls(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x18, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CActiveMovie3::GetShowSelectionControls()
- {
- BOOL result;
- InvokeHelper(0x19, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetShowSelectionControls(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x19, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CActiveMovie3::GetShowTracker()
- {
- BOOL result;
- InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetShowTracker(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CActiveMovie3::GetEnablePositionControls()
- {
- BOOL result;
- InvokeHelper(0x1b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetEnablePositionControls(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x1b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CActiveMovie3::GetEnableSelectionControls()
- {
- BOOL result;
- InvokeHelper(0x1c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetEnableSelectionControls(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x1c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CActiveMovie3::GetEnableTracker()
- {
- BOOL result;
- InvokeHelper(0x1d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetEnableTracker(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x1d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CActiveMovie3::GetAllowHideDisplay()
- {
- BOOL result;
- InvokeHelper(0x1e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetAllowHideDisplay(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x1e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CActiveMovie3::GetAllowHideControls()
- {
- BOOL result;
- InvokeHelper(0x1f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetAllowHideControls(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x1f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long CActiveMovie3::GetDisplayMode()
- {
- long result;
- InvokeHelper(0x20, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetDisplayMode(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x20, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL CActiveMovie3::GetAllowChangeDisplayMode()
- {
- BOOL result;
- InvokeHelper(0x21, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetAllowChangeDisplayMode(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x21, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- LPUNKNOWN CActiveMovie3::GetFilterGraph()
- {
- LPUNKNOWN result;
- InvokeHelper(0x22, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetFilterGraph(LPUNKNOWN newValue)
- {
- static BYTE parms[] =
- VTS_UNKNOWN;
- InvokeHelper(0x22, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- LPDISPATCH CActiveMovie3::GetFilterGraphDispatch()
- {
- LPDISPATCH result;
- InvokeHelper(0x23, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- unsigned long CActiveMovie3::GetDisplayForeColor()
- {
- unsigned long result;
- InvokeHelper(0x24, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetDisplayForeColor(unsigned long newValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x24, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- unsigned long CActiveMovie3::GetDisplayBackColor()
- {
- unsigned long result;
- InvokeHelper(0x25, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetDisplayBackColor(unsigned long newValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x25, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- long CActiveMovie3::GetMovieWindowSize()
- {
- long result;
- InvokeHelper(0x26, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetMovieWindowSize(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x26, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL CActiveMovie3::GetFullScreenMode()
- {
- BOOL result;
- InvokeHelper(0x27, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetFullScreenMode(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x27, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CActiveMovie3::GetAutoStart()
- {
- BOOL result;
- InvokeHelper(0x28, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetAutoStart(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x28, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CActiveMovie3::GetAutoRewind()
- {
- BOOL result;
- InvokeHelper(0x29, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetAutoRewind(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x29, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long CActiveMovie3::GetHWnd()
- {
- long result;
- InvokeHelper(DISPID_HWND, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- long CActiveMovie3::GetAppearance()
- {
- long result;
- InvokeHelper(DISPID_APPEARANCE, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetAppearance(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(DISPID_APPEARANCE, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CActiveMovie3::GetBorderStyle()
- {
- long result;
- InvokeHelper(0x2a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetBorderStyle(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x2a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL CActiveMovie3::GetEnabled()
- {
- BOOL result;
- InvokeHelper(DISPID_ENABLED, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CActiveMovie3::SetEnabled(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(DISPID_ENABLED, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CActiveMovie3::IsSoundCardEnabled()
- {
- BOOL result;
- InvokeHelper(0x35, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- long CActiveMovie3::GetReadyState()
- {
- long result;
- InvokeHelper(DISPID_READYSTATE, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH CActiveMovie3::GetMediaPlayer()
- {
- LPDISPATCH result;
- InvokeHelper(0x457, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }