summary refs log tree commit diff stats
path: root/plugins/wmpa/wmpcontrols.h
blob: b793bcb1cdaaa8b708633e4e905b334662aaf564 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#if !defined(AFX_WMPCONTROLS_H__234DACEF_6ED9_481D_B7E8_03653189E9B2__INCLUDED_)
#define AFX_WMPCONTROLS_H__234DACEF_6ED9_481D_B7E8_03653189E9B2__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// 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.


// Dispatch interfaces referenced by this interface
class CWMPMedia;

/////////////////////////////////////////////////////////////////////////////
// CWMPControls wrapper class

class CWMPControls : public COleDispatchDriver
{
public:
	CWMPControls() {}		// Calls COleDispatchDriver default constructor
	CWMPControls(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	CWMPControls(const CWMPControls& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes
public:

// Operations
public:
	BOOL GetIsAvailable(LPCTSTR bstrItem);
	void play();
	void stop();
	void pause();
	void fastForward();
	void fastReverse();
	double GetCurrentPosition();
	void SetCurrentPosition(double newValue);
	CString GetCurrentPositionString();
	void next();
	void previous();
	CWMPMedia GetCurrentItem();
	void SetCurrentItem(LPDISPATCH newValue);
	long GetCurrentMarker();
	void SetCurrentMarker(long nNewValue);
	void playItem(LPDISPATCH pIWMPMedia);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_WMPCONTROLS_H__234DACEF_6ED9_481D_B7E8_03653189E9B2__INCLUDED_)
an>parms[] = VTS_DISPATCH; InvokeHelper(0x2fb, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms, pIWMPMedia); return result; } CString CWMPMedia::GetSourceURL() { CString result; InvokeHelper(0x2ef, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); return result; } CString CWMPMedia::GetName() { CString result; InvokeHelper(0x2fc, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); return result; } void CWMPMedia::SetName(LPCTSTR lpszNewValue) { static BYTE parms[] = VTS_BSTR; InvokeHelper(0x2fc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, lpszNewValue); } long CWMPMedia::GetImageSourceWidth() { long result; InvokeHelper(0x2f0, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); return result; } long CWMPMedia::GetImageSourceHeight() { long result; InvokeHelper(0x2f1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); return result; } long CWMPMedia::GetMarkerCount() { long result; InvokeHelper(0x2f2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); return result; } double CWMPMedia::getMarkerTime(long MarkerNum) { double result; static BYTE parms[] = VTS_I4; InvokeHelper(0x2f3, DISPATCH_METHOD, VT_R8, (void*)&result, parms, MarkerNum); return result; } CString CWMPMedia::getMarkerName(long MarkerNum) { CString result; static BYTE parms[] = VTS_I4; InvokeHelper(0x2f4, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms, MarkerNum); return result; } double CWMPMedia::GetDuration() { double result; InvokeHelper(0x2f5, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL); return result; } CString CWMPMedia::GetDurationString() { CString result; InvokeHelper(0x2f6, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); return result; } long CWMPMedia::GetAttributeCount() { long result; InvokeHelper(0x2f7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); return result; } CString CWMPMedia::getAttributeName(long lIndex) { CString result; static BYTE parms[] = VTS_I4; InvokeHelper(0x2f8, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms, lIndex); return result; } CString CWMPMedia::getItemInfo(LPCTSTR bstrItemName) { CString result; static BYTE parms[] = VTS_BSTR; InvokeHelper(0x2f9, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms, bstrItemName); return result; } void CWMPMedia::setItemInfo(LPCTSTR bstrItemName, LPCTSTR bstrVal) { static BYTE parms[] = VTS_BSTR VTS_BSTR; InvokeHelper(0x2fa, DISPATCH_METHOD, VT_EMPTY, NULL, parms, bstrItemName, bstrVal); } CString CWMPMedia::getItemInfoByAtom(long lAtom) { CString result; static BYTE parms[] = VTS_I4; InvokeHelper(0x2fd, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms, lAtom); return result; } BOOL CWMPMedia::isMemberOf(LPDISPATCH pPlaylist) { BOOL result; static BYTE parms[] = VTS_DISPATCH; InvokeHelper(0x2fe, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, pPlaylist); return result; } BOOL CWMPMedia::isReadOnlyItem(LPCTSTR bstrItemName) { BOOL result; static BYTE parms[] = VTS_BSTR; InvokeHelper(0x2ff, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, bstrItemName); return result; }