#if !defined(AFX_IMSENCPCI_H__A13DE60F_E343_11D5_82AB_0000E8EFB46E__INCLUDED_)
#define AFX_IMSENCPCI_H__A13DE60F_E343_11D5_82AB_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.

/////////////////////////////////////////////////////////////////////////////
// CImsEncPci wrapper class

class CImsEncPci : public CWnd
{
protected:
	DECLARE_DYNCREATE(CImsEncPci)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x4ede2966, 0xcd5e, 0x11d5, { 0x82, 0xab, 0x0, 0x0, 0xe8, 0xef, 0xb4, 0x6e } };
		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(long CardHandle);
	short SetLed(long CardHandle, short LedNumber, short OnOffMode);
	short GetLed(long CardHandle, short LedNumber, short* OnOffMode);
	short SetEncoderResolution(long CardHandle, short EncoderNumber, short ClocksPerCycle);
	short GetEncoderResolution(long CardHandle, short EncoderNumber, short* ClocksPerCycle);
	short SetEncoderEventFlagSource(long CardHandle, short EncoderNumber, short EventFlagSource);
	short GetEncoderEventFlagSource(long CardHandle, short EncoderNumber, short* EventFlagSource);
	short SetHoldEncoderEventFlag(long CardHandle, short EncoderNumber, short OnOffMode);
	short GetHoldEncoderEventFlag(long CardHandle, short EncoderNumber, short* OnOffMode);
	short SetEncoderEventFlagPolarity(long CardHandle, short EncoderNumber, short Polarity);
	short GetEncoderEventFlagPolarity(long CardHandle, short EncoderNumber, short* Polarity);
	short WriteOutputs(long CardHandle, short Outputs);
	short ReadInputs(long CardHandle, short* Inputs, short* EncoderEventFlags);
	short ClearEncoderEventFlag(long CardHandle, short EncoderNumber);
	short SetIndexResetsPositionCounter(long CardHandle, short EncoderNumber, short EnabledDisabledMode);
	short GetIndexResetsPositionCounter(long CardHandle, short EncoderNumber, short* EnabledDisabledMode);
	short SetIndexPulsePolarity(long CardHandle, short EncoderNumber, short Polarity);
	short GetIndexPulsePolarity(long CardHandle, short EncoderNumber, short* Polarity);
	short GetSetPoint(long CardHandle, short EncoderNumber, long* SetPoint);
	short SetSetPoint(long CardHandle, short EncoderNumber, long SetPoint);
	short ReadPositionCounter(long CardHandle, short EncoderNumber, long* PositionCounter);
	short RequestPositionCounter(long CardHandle, short EncoderNumber, short OutputsMirror);
	short ResetPositionCounter(long CardHandle, short EncoderNumber, short OutputsMirror);
	short SetActiveChip(long CardHandle, short ChipNumber);
	short GetActiveChip(long CardHandle, short* ChipNumber);
	short GetCardHandle(long* CardHandle, short CardIndex);
	short GetRevisionID(long CardHandle, short* RevisionID);
	void AboutBox();
};

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

#endif // !defined(AFX_IMSENCPCI_H__A13DE60F_E343_11D5_82AB_0000E8EFB46E__INCLUDED_)
