#if !defined(AFX_IMSENC_H__1114FB6F_503A_11D4_82AA_0000E8EFB46E__INCLUDED_)
#define AFX_IMSENC_H__1114FB6F_503A_11D4_82AA_0000E8EFB46E__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// 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.

/////////////////////////////////////////////////////////////////////////////
// CImsEnc wrapper class

class CImsEnc : public CWnd
{
protected:
	DECLARE_DYNCREATE(CImsEnc)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0xf5380f26, 0xc107, 0x11d3, { 0x82, 0xaa, 0xbb, 0xf7, 0x60, 0x1a, 0x83, 0x73 } };
		return clsid;
	}
	virtual BOOL Create(LPCTSTR lpszClassName,
		LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect,
		CWnd* pParentWnd, UINT nID,
		CCreateContext* pContext = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }

    BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect, CWnd* pParentWnd, UINT nID,
		CFile* pPersist = NULL, BOOL bStorage = FALSE,
		BSTR bstrLicKey = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
		pPersist, bStorage, bstrLicKey); }

// Attributes
public:
	short GetActive();
	void SetActive(short);

// Operations
public:
	short TestActiveChip(short CardNumber);
	short SetLed(short CardNumber, short LedNumber, short OnOffMode);
	short GetLed(short CardNumber, short LedNumber, short* OnOffMode);
	short SetEncoderResolution(short CardNumber, short EncoderNumber, short ClocksPerCycle);
	short GetEncoderResolution(short CardNumber, short EncoderNumber, short* ClocksPerCycle);
	short SetEncoderEventFlagSource(short CardNumber, short EncoderNumber, short EventFlagSource);
	short GetEncoderEventFlagSource(short CardNumber, short EncoderNumber, short* EventFlagSource);
	short SetHoldEncoderEventFlag(short CardNumber, short EncoderNumber, short OnOffMode);
	short GetHoldEncoderEventFlag(short CardNumber, short EncoderNumber, short* OnOffMode);
	short SetEncoderEventFlagPolarity(short CardNumber, short EncoderNumber, short Polarity);
	short GetEncoderEventFlagPolarity(short CardNumber, short EncoderNumber, short* Polarity);
	short WriteOutputs(short CardNumber, short Outputs);
	short ReadInputs(short CardNumber, short* Inputs, short* EncoderEventFlags);
	short ClearEncoderEventFlag(short CardNumber, short EncoderNumber);
	short SetIndexResetsPositionCounter(short CardNumber, short EncoderNumber, short EnabledDisabledMode);
	short GetIndexResetsPositionCounter(short CardNumber, short EncoderNumber, short* EnabledDisabledMode);
	short SetIndexPulsePolarity(short CardNumber, short EncoderNumber, short Polarity);
	short GetIndexPulsePolarity(short CardNumber, short EncoderNumber, short* Polarity);
	short GetSetPoint(short CardNumber, short EncoderNumber, long* SetPoint);
	short SetSetPoint(short CardNumber, short EncoderNumber, long SetPoint);
	short ReadPositionCounter(short CardNumber, short EncoderNumber, long* PositionCounter);
	short RequestPositionCounter(short CardNumber, short EncoderNumber, short OutputsMirror);
	short ResetPositionCounter(short CardNumber, short EncoderNumber, short OutputsMirror);
	short SetInterruptMode(short CardNumber, short EnabledDisabledMode);
	short GetInterruptMode(short CardNumber, short* EnabledDisabledMode);
	short SetInterruptPolarity(short CardNumber, short Polarity);
	short GetInterruptPolarity(short CardNumber, short* Polarity);
	short SetInterruptSource(short CardNumber, short InterruptSource);
	short GetInterruptSource(short CardNumber, short* InterruptSource);
	short SetActiveChip(short CardNumber, short ChipNumber);
	short GetActiveChip(short CardNumber, short* ChipNumber);
	void AboutBox();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_IMSENC_H__1114FB6F_503A_11D4_82AA_0000E8EFB46E__INCLUDED_)
