
#ifndef WINDRAWER_H
#define WINDRAWER_H
// The following ifdef block is the standard way of creating macros which make exporting 
// from a DLL simpler. All files within this DLL are compiled with the KPORT_EXPORTS
// symbol defined on the command line. this symbol should not be defined on any project
// that uses this DLL. This way any other project whose source files include this file see 
// KPORT_API functions as being imported from a DLL, wheras this DLL sees symbols
// defined with this macro as being exported.
#include <windows.h>

#ifdef WINDRAWER_EXPORTS
#define WINDRAWER_API __declspec(dllexport)
#else
#define WINDRAWER_API __declspec(dllimport)
#endif


#ifdef __cplusplus
extern "C" {
#endif
//////////////////////////////////////////////////////////////////////

// Returns a value from specific ports.
WINDRAWER_API BOOL APIENTRY CheckCashDrawer1();//WORD PortNum);
WINDRAWER_API BOOL APIENTRY CheckCashDrawer2();//WORD PortNum);
// Write a value to specific ports.
WINDRAWER_API BOOL APIENTRY OpenCashDrawer1();//WORD PortNum, BYTE byte);
WINDRAWER_API BOOL APIENTRY OpenCashDrawer2();//WORD PortNum, BYTE byte);

/////////////////////////////////////////////////////////////////////
#ifdef __cplusplus
}
#endif

#endif//end	 #ifndef KPORT_H
