// 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 "vicx.h"

/////////////////////////////////////////////////////////////////////////////
// CVICX

IMPLEMENT_DYNCREATE(CVICX, CWnd)

/////////////////////////////////////////////////////////////////////////////
// CVICX properties

/////////////////////////////////////////////////////////////////////////////
// CVICX operations

void CVICX::CloseVicx()
{
	InvokeHelper(0x1, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

BOOL CVICX::OpenVicx()
{
	BOOL result;
	InvokeHelper(0x2, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
	return result;
}

long CVICX::OpenPrt(long Address, long Size, long PortCount)
{
	long result;
	static BYTE parms[] =
		VTS_I4 VTS_I4 VTS_I4;
	InvokeHelper(0x3, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
		Address, Size, PortCount);
	return result;
}

void CVICX::ClosePrt(long Port)
{
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 Port);
}

long CVICX::RP(long Port, long Index)
{
	long result;
	static BYTE parms[] =
		VTS_I4 VTS_I4;
	InvokeHelper(0x5, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
		Port, Index);
	return result;
}

void CVICX::WP(long Port, long Index, long Data)
{
	static BYTE parms[] =
		VTS_I4 VTS_I4 VTS_I4;
	InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 Port, Index, Data);
}

void CVICX::AboutBox()
{
	InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
