summary refs log tree commit diff stats
path: root/plugins/wmpa/wmpplaylist.cpp
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-07-11 19:46:46 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-07-11 19:46:46 +0200
commit1ea726a91809340451c7a05ede34e7be00ba7863 (patch)
tree936bb6fce5c26b3876a7324ec82ee0bb232875d7 /plugins/wmpa/wmpplaylist.cpp
parentd81619cca95831e2fd444d71cd078201f3db0e39 (diff)
parent9d9c24c8d347aa44efbd63e8f8c8dfb5b3cddedb (diff)
Merge branch 'wdk'
Diffstat (limited to 'plugins/wmpa/wmpplaylist.cpp')
-rw-r--r--plugins/wmpa/wmpplaylist.cpp132
1 files changed, 132 insertions, 0 deletions
diff --git a/plugins/wmpa/wmpplaylist.cpp b/plugins/wmpa/wmpplaylist.cpp
new file mode 100644
index 00000000..9308aa5b
--- /dev/null
+++ b/plugins/wmpa/wmpplaylist.cpp
@@ -0,0 +1,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);

+}