summary refs log tree commit diff stats
path: root/plugins/wmpa/wmperror.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/wmperror.cpp
parentd81619cca95831e2fd444d71cd078201f3db0e39 (diff)
parent9d9c24c8d347aa44efbd63e8f8c8dfb5b3cddedb (diff)
Merge branch 'wdk'
Diffstat (limited to 'plugins/wmpa/wmperror.cpp')
-rw-r--r--plugins/wmpa/wmperror.cpp45
1 files changed, 45 insertions, 0 deletions
diff --git a/plugins/wmpa/wmperror.cpp b/plugins/wmpa/wmperror.cpp
new file mode 100644
index 00000000..2fce2b59
--- /dev/null
+++ b/plugins/wmpa/wmperror.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 "wmperror.h"

+

+// Dispatch interfaces referenced by this interface

+#include "wmperroritem.h"

+

+

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

+// CWMPError properties

+

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

+// CWMPError operations

+

+void CWMPError::clearErrorQueue()

+{

+	InvokeHelper(0x353, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);

+}

+

+long CWMPError::GetErrorCount()

+{

+	long result;

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

+	return result;

+}

+

+CWMPErrorItem CWMPError::GetItem(long dwIndex)

+{

+	LPDISPATCH pDispatch;

+	static BYTE parms[] =

+		VTS_I4;

+	InvokeHelper(0x355, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, parms,

+		dwIndex);

+	return CWMPErrorItem(pDispatch);

+}

+

+void CWMPError::webHelp()

+{

+	InvokeHelper(0x356, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);

+}