summary refs log tree commit diff stats
path: root/plugins/wmpa/wmpcdromcollection.cpp
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2011-08-12 01:39:40 +0200
committerBerke Viktor <berkeviktor@aol.com>2011-08-12 01:39:40 +0200
commit4338ddf9ec6a3662e852bcdbbfd3048e8d108a10 (patch)
tree834460baa3012cce64a4e998c6bf3d8d2865e0a9 /plugins/wmpa/wmpcdromcollection.cpp
parent0709b95732214f48e191d591de9a652b0c9ddf82 (diff)
add wmpa 1.0.2 sources
Diffstat (limited to 'plugins/wmpa/wmpcdromcollection.cpp')
-rw-r--r--plugins/wmpa/wmpcdromcollection.cpp45
1 files changed, 45 insertions, 0 deletions
diff --git a/plugins/wmpa/wmpcdromcollection.cpp b/plugins/wmpa/wmpcdromcollection.cpp
new file mode 100644
index 00000000..3e1f7e7d
--- /dev/null
+++ b/plugins/wmpa/wmpcdromcollection.cpp
@@ -0,0 +1,45 @@
+// 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 "wmpcdromcollection.h"

+

+// Dispatch interfaces referenced by this interface

+#include "WMPCdrom.h"

+

+

+/////////////////////////////////////////////////////////////////////////////

+// CWMPCdromCollection properties

+

+/////////////////////////////////////////////////////////////////////////////

+// CWMPCdromCollection operations

+

+long CWMPCdromCollection::GetCount()

+{

+	long result;

+	InvokeHelper(0x12d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);

+	return result;

+}

+

+CWMPCdrom CWMPCdromCollection::Item(long lIndex)

+{

+	LPDISPATCH pDispatch;

+	static BYTE parms[] =

+		VTS_I4;

+	InvokeHelper(0x12e, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms,

+		lIndex);

+	return CWMPCdrom(pDispatch);

+}

+

+CWMPCdrom CWMPCdromCollection::getByDriveSpecifier(LPCTSTR bstrDriveSpecifier)

+{

+	LPDISPATCH pDispatch;

+	static BYTE parms[] =

+		VTS_BSTR;

+	InvokeHelper(0x12f, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms,

+		bstrDriveSpecifier);

+	return CWMPCdrom(pDispatch);

+}