Chapter 12: Cash Drawer Interface 12-3
BOOL WriteIOPort( DWORD databytes, WORD ioport );
WriteIOPort(),writesdatatotheportthatcontrolthecashdrawer
solenoid(s)bit(s).Thismethodusestheportaddressobtainedin
QueryConf()forcontrollingthesolenoid(s).Seethesectionon
Hardware/FirmwareInterfacesformoredetail.
BOOL ReadIOPort( DWORD *databytes, WORD ioport );
ReadIOPort(),readsfromtheportthatmonitorsthecashdrawer
status
bit.Thismethodusestheportaddressobtainedin
QueryConf()formonitoringthestatusbit.Seethesectionon
Hardware/FirmwareInterfacesformoredetail.