#define INQUEUSIZE  256
#define OUTQUEUSIZE 1

#define WINAPI    FAR PASCAL

DWORD WINAPI timeGetTime(void); // Aus mmsystem.h

int FAR PASCAL _WEP(int idExit);
BOOL FAR PASCAL MIRRORSetupCommunication(LPSTR comName);
void FAR PASCAL MIRRORPosExtremeRight(void);
void FAR PASCAL MIRRORPosExtremeLeft(void);
void FAR PASCAL MIRRORPosMiddle(void);
void FAR PASCAL MIRRORPosSignedSingleStep(char step);
void FAR PASCAL MIRRORPosAbsolute(double degree);
void FAR PASCAL MIRRORShutDownCommunication(void);
void left100(int *totalWay);
void left95(int *totalWay);
void left90(int *totalWay);
void left85(int *totalWay);
void left80(int *totalWay);
void left75(int *totalWay);
void left70(int *totalWay);
void left65(int *totalWay);
void left60(int *totalWay);
void left55(int *totalWay);
void left50(int *totalWay);
void left45(int *totalWay);
void left40(int *totalWay);
void left35(int *totalWay);
void left30(int *totalWay);
void left25(int *totalWay);
void left20(int *totalWay);
void left15(int *totalWay);
void left10(int *totalWay);
void left5(int *totalWay);
void left1(int *totalWay);
void right100(int *totalWay);
void right95(int *totalWay);
void right90(int *totalWay);
void right85(int *totalWay);
void right80(int *totalWay);
void right75(int *totalWay);
void right70(int *totalWay);
void right65(int *totalWay);
void right60(int *totalWay);
void right55(int *totalWay);
void right50(int *totalWay);
void right45(int *totalWay);
void right40(int *totalWay);
void right35(int *totalWay);
void right30(int *totalWay);
void right25(int *totalWay);
void right20(int *totalWay);
void right15(int *totalWay);
void right10(int *totalWay);
void right5(int *totalWay);
void right1(int *totalWay);
void waitMSECs(DWORD msecs);
