// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'I332_IFC.pas' rev: 6.00

#ifndef I332_IFCHPP
#define I332_IFCHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <i332_def.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

//-- type declarations -------------------------------------------------------
//-- var, const, procedure ---------------------------------------------------
#define DLLName "I332.DLL"
extern "C" int __stdcall I332IFCInit(Word ifcMode, int ifcPara);
extern "C" int __stdcall I332IFCDone(int I332Handle);
extern "C" int __stdcall I332GetAxLabels(int I332Handle, char * AAxLbls);
extern "C" int __stdcall I332GetIFCErrString(int AErrNo, char * AErrStr, int BufSize);
extern "C" int __stdcall I332Reset(int I332Handle);
extern "C" int __stdcall I332Restart(int I332Handle, Word icRestart);
extern "C" int __stdcall I332Write0(int I332Handle, Word icSet);
extern "C" int __stdcall I332Write1(int I332Handle, Word icSet, Word Value);
extern "C" int __stdcall I332Write2(int I332Handle, Word icSet, int Value);
extern "C" int __stdcall I332Read1(int I332Handle, Word icGet, Word &Value);
extern "C" int __stdcall I332Read2(int I332Handle, Word icGet, int &Value);
extern "C" int __stdcall I332DwnLdFirmware(int I332Handle, char * AFileName);
extern "C" int __stdcall I332FirmwareInfo(char * AFileName, char * AInfoStr, int BufSize, TI332InfoEx &AI332InfoEx);
extern "C" int __stdcall I332DLLVersion(void);
extern "C" int __stdcall I332GetIFCErr(int I332Handle);
extern "C" int __stdcall I332GetInfo(int I332Handle, TI332Info &I332Info);
extern "C" int __stdcall I332GetInfoEx(int I332Handle, TI332InfoEx &AI332InfoEx);
extern "C" int __stdcall I332GetVerStr(int I332Handle, char * VerStr, int BufSize);
extern "C" int __stdcall I332MutexName(int I332Handle, char * Buffer, int BufSize);
extern "C" int __stdcall I332WaitForMutex(int I332Handle);
extern "C" int __stdcall I332ReleaseMutex(int I332Handle);
extern "C" int __stdcall I332SetAchsReg(int I332Handle, Word icSet, Shortint AxisNo, int Value);
extern "C" int __stdcall I332GetAchsReg(int I332Handle, Word icGet, Shortint AxisNo, int &Value);
extern "C" int __stdcall I332AchsReg(int I332Handle, Word icGet, Shortint AxisNo);
extern "C" int __stdcall I332GetStatus(int I332Handle, int &I332Status);
extern "C" int __stdcall I332GetRefInfo(int I332Handle, Word &RefInfo);
extern "C" int __stdcall I332GetSFStatus(int I332Handle, Word &SFStatus);
extern "C" int __stdcall I332ZyklusStart(int I332Handle);
extern "C" int __stdcall I332ZyklusStop(int I332Handle);
extern "C" int __stdcall I332DoZyklusStart(int I332Handle, BOOL Start);
extern "C" int __stdcall I332GetPos(int I332Handle, Shortint AxisNo, int &IstWert);
extern "C" int __stdcall I332Pos(int I332Handle, Shortint AxisNo);
extern "C" int __stdcall I332GetVIst(int I332Handle, int &Value);
extern "C" int __stdcall I332VIst(int I332Handle);
extern "C" int __stdcall I332DoPos1(int I332Handle, Shortint AxisNr, int Dist, int F, int Flags);
extern "C" int __stdcall I332DoIPLLin(int I332Handle, Shortint AxisCnt, const int * AxArray, int F, int Flags);
extern "C" int __stdcall I332DoIPLCW(int I332Handle, Shortint AxisCnt, const int * AxArray, int F, int Flags, Shortint XAx, Shortint YAx, int XMP, int YMP);
extern "C" int __stdcall I332DoIPLCCW(int I332Handle, Shortint AxisCnt, const int * AxArray, int F, int Flags, Shortint XAx, Shortint YAx, int XMP, int YMP);
extern "C" int __stdcall I332DoDelay(int I332Handle, int F, int Flags);
extern "C" int __stdcall I332DoAxisRef(int I332Handle, Shortint AxisNo);
extern "C" int __stdcall I332DoAxisAsync(int I332Handle, Shortint AxisNo, int Dist, int HndF, Word sfMode);
extern "C" int __stdcall I332DoAxisHand(int I332Handle, Shortint AxisNo, int HndF, Word sfMode);
extern "C" int __stdcall I332XmtCFG(int I332Handle, char * AINIFileName);
extern "C" int __stdcall I332ExecCfgDlg(int AI332Handle, char * AINIFileName);
extern "C" int __stdcall I332ExecTstDlg(int AI332Handle, int AMode);
extern "C" int __stdcall I332GetAxArray(int I332Handle, Word icGet, int * AxArray);
extern "C" int __stdcall I332XmtBuffer(int I332Handle, void * Buffer, unsigned WordCnt);
extern "C" int __stdcall I332InitBuffer(int I332Handle, void * Buffer, int MaxSize, BOOL AW_O);
extern "C" int __stdcall I332FreeBuffer(int I332Handle);
extern "C" int __stdcall I332FlushBuffer(int I332Handle);
extern "C" int __stdcall I332ClearBuffer(int I332Handle);
extern "C" int __stdcall I332GetBuffer(int I332Handle, void * Buffer, int WordCnt, int WordPos);
#pragma option pop	// -w-
#pragma option pop	// -Vx

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// I332_IFC
