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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
|
// 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 "wmpplaylist.h"
// Dispatch interfaces referenced by this interface
#include "WMPMedia.h"
/////////////////////////////////////////////////////////////////////////////
// CWMPPlaylist properties
/////////////////////////////////////////////////////////////////////////////
// CWMPPlaylist operations
long CWMPPlaylist::GetCount()
{
long result;
InvokeHelper(0xc9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
CString CWMPPlaylist::GetName()
{
CString result;
InvokeHelper(0xca, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
void CWMPPlaylist::SetName(LPCTSTR lpszNewValue)
{
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0xca, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
lpszNewValue);
}
long CWMPPlaylist::GetAttributeCount()
{
long result;
InvokeHelper(0xd2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
CString CWMPPlaylist::GetAttributeName(long lIndex)
{
CString result;
static BYTE parms[] =
VTS_I4;
InvokeHelper(0xd3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
lIndex);
return result;
}
CWMPMedia CWMPPlaylist::GetItem(long lIndex)
{
LPDISPATCH pDispatch;
static BYTE parms[] =
VTS_I4;
InvokeHelper(0xd4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, parms,
lIndex);
return CWMPMedia(pDispatch);
}
CString CWMPPlaylist::getItemInfo(LPCTSTR bstrName)
{
CString result;
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0xcb, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
bstrName);
return result;
}
void CWMPPlaylist::setItemInfo(LPCTSTR bstrName, LPCTSTR bstrValue)
{
static BYTE parms[] =
VTS_BSTR VTS_BSTR;
InvokeHelper(0xcc, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
bstrName, bstrValue);
}
BOOL CWMPPlaylist::GetIsIdentical(LPDISPATCH pIWMPPlaylist)
{
BOOL result;
static BYTE parms[] =
VTS_DISPATCH;
InvokeHelper(0xd5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
pIWMPPlaylist);
return result;
}
void CWMPPlaylist::clear()
{
InvokeHelper(0xcd, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
void CWMPPlaylist::insertItem(long lIndex, LPDISPATCH pIWMPMedia)
{
static BYTE parms[] =
VTS_I4 VTS_DISPATCH;
InvokeHelper(0xce, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
lIndex, pIWMPMedia);
}
void CWMPPlaylist::appendItem(LPDISPATCH pIWMPMedia)
{
static BYTE parms[] =
VTS_DISPATCH;
InvokeHelper(0xcf, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
pIWMPMedia);
}
void CWMPPlaylist::removeItem(LPDISPATCH pIWMPMedia)
{
static BYTE parms[] =
VTS_DISPATCH;
InvokeHelper(0xd0, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
pIWMPMedia);
}
void CWMPPlaylist::moveItem(long lIndexOld, long lIndexNew)
{
static BYTE parms[] =
VTS_I4 VTS_I4;
InvokeHelper(0xd1, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
lIndexOld, lIndexNew);
}
|