// 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 "mediaplayer2.h"
// Dispatch interfaces referenced by this interface
#include "MediaPlayerDvd.h"
/////////////////////////////////////////////////////////////////////////////
// CMediaPlayer2
IMPLEMENT_DYNCREATE(CMediaPlayer2, CWnd)
/////////////////////////////////////////////////////////////////////////////
// CMediaPlayer2 properties
/////////////////////////////////////////////////////////////////////////////
// CMediaPlayer2 operations
double CMediaPlayer2::GetCurrentPosition()
{
double result;
InvokeHelper(0x403, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
return result;
}
void CMediaPlayer2::SetCurrentPosition(double newValue)
{
static BYTE parms[] =
VTS_R8;
InvokeHelper(0x403, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
newValue);
}
double CMediaPlayer2::GetDuration()
{
double result;
InvokeHelper(0x3eb, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
return result;
}
long CMediaPlayer2::GetImageSourceWidth()
{
long result;
InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
long CMediaPlayer2::GetImageSourceHeight()
{
long result;
InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
long CMediaPlayer2::GetMarkerCount()
{
long result;
InvokeHelper(0x3f2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
BOOL CMediaPlayer2::GetCanScan()
{
BOOL result;
InvokeHelper(0x3f3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
return result;
}
BOOL CMediaPlayer2::GetCanSeek()
{
BOOL result;
InvokeHelper(0x3f4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
return result;
}
BOOL CMediaPlayer2::GetCanSeekToMarkers()
{
BOOL result;
InvokeHelper(0x417, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
return result;
}
long CMediaPlayer2::GetCurrentMarker()
{
long result;
InvokeHelper(0x405, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CMediaPlayer2::SetCurrentMarker(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x405, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
CString CMediaPlayer2::GetFileName()
{
CString result;
InvokeHelper(0x402, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
void CMediaPlayer2::SetFileName(LPCTSTR lpszNewValue)
{
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0x402, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
lpszNewValue);
}
CString CMediaPlayer2::GetSourceLink()
{
CString result;
InvokeHelper(0x3f1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
DATE CMediaPlayer2::GetCreationDate()
{
DATE result;
InvokeHelper(0x40c, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
return result;
}
CString CMediaPlayer2::GetErrorCorrection()
{
CString result;
InvokeHelper(0x40e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
long CMediaPlayer2::GetBandwidth()
{
long result;
InvokeHelper(0x40d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
long CMediaPlayer2::GetSourceProtocol()
{
long result;
InvokeHelper(0x424, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
long CMediaPlayer2::GetReceivedPackets()
{
long result;
InvokeHelper(0x40f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
long CMediaPlayer2::GetRecoveredPackets()
{
long result;
InvokeHelper(0x410, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
long CMediaPlayer2::GetLostPackets()
{
long result;
InvokeHelper(0x411, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
long CMediaPlayer2::GetReceptionQuality()
{
long result;
InvokeHelper(0x412, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
long CMediaPlayer2::GetBufferingCount()
{
long result;
InvokeHelper(0x413, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
BOOL CMediaPlayer2::GetIsBroadcast()
{
BOOL result;
InvokeHelper(0x422, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
return result;
}
long CMediaPlayer2::GetBufferingProgress()
{
long result;
InvokeHelper(0x438, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
CString CMediaPlayer2::GetChannelName()
{
CString result;
InvokeHelper(0x41a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
CString CMediaPlayer2::GetChannelDescription()
{
CString result;
InvokeHelper(0x41b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
CString CMediaPlayer2::GetChannelURL()
{
CString result;
InvokeHelper(0x41c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
CString CMediaPlayer2::GetContactAddress()
{
CString result;
InvokeHelper(0x41d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
CString CMediaPlayer2::GetContactPhone()
{
CString result;
InvokeHelper(0x41e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
CString CMediaPlayer2::GetContactEmail()
{
CString result;
InvokeHelper(0x41f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
double CMediaPlayer2::GetBufferingTime()
{
double result;
InvokeHelper(0x42e, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
return result;
}
void CMediaPlayer2::SetBufferingTime(double newValue)
{
static BYTE parms[] =
VTS_R8;
InvokeHelper(0x42e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
newValue);
}
BOOL CMediaPlayer2::GetAutoStart()
{
BOOL result;
InvokeHelper(0x3f9, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
return result;
}
void CMediaPlayer2::SetAutoStart(BOOL bNewValue)
{
static BYTE parms[] =
VTS_BOOL;
InvokeHelper(0x3f9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
bNewValue);
}
BOOL CMediaPlayer2::GetAutoRewind()
{
BOOL result;
InvokeHelper(0x3fa, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
return result;
}
void CMediaPlayer2::SetAutoRewind(BOOL bNewValue)
{
static BYTE parms[] =
VTS_BOOL;
InvokeHelper(0x3fa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
bNewValue);
}
double CMediaPlayer2::GetRate()
{
double result;
InvokeHelper(0x404, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
return result;
}
void CMediaPlayer2::SetRate(double newValue)
{
static BYTE parms[] =
VTS_R8;
InvokeHelper(0x404, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
newValue);
}
BOOL CMediaPlayer2::GetSendKeyboardEvents()
{
BOOL result;
InvokeHelper(0x3f5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
return result;
}
void CMediaPlayer2::SetSendKeyboardEvents(BOOL bNewValue)
{
static BYTE parms[] =
VTS_BOOL;
InvokeHelper(0x3f5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
bNewValue);
}
BOOL CMediaPlayer2::GetSendMouseClickEvents()
{
BOOL result;
InvokeHelper(0x3f6, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
return result;
}
void CMediaPlayer2::SetSendMouseClickEvents(BOOL bNewValue)
{
static BYTE parms[] =
VTS_BOOL;
InvokeHelper(0x3f6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
bNewValue);
}
BOOL CMediaPlayer2::GetSendMouseMoveEvents()
{
BOOL result;
InvokeHelper(0x3f7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
return result;
}
void CMediaPlayer2::SetSendMouseMoveEvents(BOOL bNewValue)
{
static BYTE parms[] =
VTS_BOOL;
InvokeHelper(0x3f7, DISPATCH_PROPERTYPUT,
- 1
- 2
- 3
- 4
- 5
- 6
前往页