/************************************************************************
**                                                                     **
**                            Magicard Ltd                             **
**                                                                     **
*************************************************************************
**                                                                     **
**   PROJECT              :  Magicard SDK                              **
**                                                                     **
**   MODULE NAME          :  MagAPI.dll                                **
**                                                                     **
**   COPYRIGHT            :  Magicard Ltd                              **
**                                                                     **
*************************************************************************

     AMENDMENT RECORD 

************************************************************************
  DATE		 VERSION
 29-08-2024	 V3.2.7.2

- Updated function ID_AccessBool for Generation 2 printers

************************************************************************

  DATE		 VERSION
 07-06-2024	 V3.2.7.0

- Updated function ID_Password for Generation 2 printers

************************************************************************

  DATE		 VERSION
 17-05-2024	  V3.2.6.5
1. Added more Generation 2 printer parameters.

************************************************************************

  DATE		 VERSION
 31-10-2023	  V3.2.6.3
1. Fix for Mag Encoding Verification on Generation 2 Printers

************************************************************************

  DATE		 VERSION
 09-08-2023	  V3.2.6.2
1. Speed improvements for ID_SendAPDU over network connections

************************************************************************

  DATE		 VERSION
 26-01-2022	  V3.2.6.0
1. Formal SDK update
2. Parameters for ID_SendAPDU changed

************************************************************************

  DATE		 VERSION
 13-12-2021	  V3.2.5.1
1. Fix for Erase Power on MB1 printers
2. Fix for Eject Mode not being recognised under some conditions

************************************************************************

  DATE		 VERSION
 17-6-2021	  V3.2.5.0
1. Printer model Pronto identified correctly
2. New function for Generation 2 printers - ID_SendAPDU

************************************************************************

  DATE		 VERSION
 14-1-2021	  V3.2.4.0
1. Support for Pronto 100, 100e, 100 NEO
2. Printer model Rio Pro 360 identified correctly
3. Generation 2 printers: Improved end of dye film detection
                          Improved mag stripe - reporting of 'no data'
4. Improvement to detection of busy when waiting for printer

************************************************************************

  DATE		 VERSION
 25-3-2020	  V3.2.3.0

1. Logging facility added.
2. New function for Generation 2 printers - ID_MoveFilm
3. Correction of buffer sizing when getting replies from Generation 2 
   printers.  This was manifested as ID_PRINTER_ERROR on ethernet/wi-fi
   connected printers.
4. Fix bug on Generation 2 printers - couldn't enquire error status
   because printer is in error!

************************************************************************

  DATE		 VERSION
 26-11-2019	  V3.2.2.0

1. 600 dpi printing support, including ID_Resolution function
2. ID_Sensors function to read Hopper Sensor and Exit Sensor (where fitted)
3. ID_Move Card: Reject will withdraw a card that is held in the exit 
   sensor (where fitted) before rejecting that card.
4. New functions ID_SetDevMode and ID_PrinterPrefs to allow the user to
   set a devmode, and to display the Printer Preferences dialog.
5. Rio Pro 2 family renamed to Generation 2 family

************************************************************************

  DATE		 VERSION
 26-6-2019	  V3.2.1.0

1. Correction (removal of a minus sign!) so that resin extraction works
   on Windows 7 as well as Windows 10!
2. Add ID_UpdateDC & ID_GetDevMode
3. Detect if the installed driver supports KResin_Transfer, and revert
   to using Bitblt transfer if not (to better maintain backwards 
   compatibility).

************************************************************************

  DATE		 VERSION
 4-6-2019	  V3.2.0.0
1. Updates to levels and methods of rewritable card erasing for Rio Pro 
   360 family printers.
2. ID_HoloKotePreview support for Ultima.
3. Correction for Feed Card for Rio Pro 360 family when called using the 
   old API entry point 'FeedCard'.

************************************************************************

  DATE		 VERSION
 9-5-2019	  V3.1.5.0

1. Canvas transfer (non-resin) to the driver now done using StretchBlt, 
   not BitBlt.
2. Resin canvas is processed and then transferred directly to the driver
   using an extended escape.  The driver takes it and passes it straight
   to the resin plane. 

************************************************************************

  DATE		 VERSION
 9-4-2019	  V3.1.4.0

1. Add ID_CardHeight function to cater for Ultima card height being 664, 
   not 642
2. ID_HoloKoteCount function
3. Support for 600 and 300 models in Rio Pro 360 family.
4. Handle printer names longer than 32 characters
5. ID_PrepareForPrint and ID_WaitPrintComplete to give Rio Pro 360 a 
   similar capability to ID_WaitForPrinter when printing.
6. ID_LastMessage enabled for Rio Pro 360
7. Corrected flip commands on Rio Pro 360

************************************************************************

  DATE		 VERSION
 19-12-2018	 V3.1.3.0

1. Fix for Enduro JIS decoding, to stop data being passed through ISO 
   decoding routine. 
2. Remove inadvertent 'frame' around image when printing using SDK functions
3. Add ID_HoloKotePreview for Rio Pro 360
4. Add ID_PrintableArea for Rio Pro 360
5. Rio Pro 360 - Modification to buffer size when XML parsing, to remove 
   CRC, due to random failures when the CRC is included.

************************************************************************

  DATE		 VERSION
 15-8-2018	 V3.1.2.0

1. Improve detection of sentinels in magnetic encoding strings
2. Mid coercivity implemented for Rio Pro 360 and Ultima

************************************************************************

  DATE		 VERSION
 19-7-2018	 V3.1.1.0

1. ID_PrinterStatus and ID_EncodeMag now wait for pending actions to complete
   before returning (requires appropriate printer firmware).
2. Pro 360 error code is now accessible as an integer, not just a string

************************************************************************

  DATE		 VERSION
 29-6-2018	 V3.1.0.0

 Support for Rio Pro 360

************************************************************************

  DATE		 VERSION
 11-6-2018	 V3.0.5.0

Pre-release of MagAPI for incorporation into driver release, prior to full
formal SDK update.
- Support for Rio Pro 360

************************************************************************

  DATE		 VERSION
 3-11-2017	 V3.0.4.0

1. Correction for API function FeedCard not allowing a parameter of 2 for
   the mode, compromising backwards compatibility.

************************************************************************

  DATE		 VERSION
 27-1-2017	 V3.0.3.0

1. Canvas areas for printing functions expanded to 1016 x 1016 (1036 for
   Helix) so that both landscape and portrait orientations are correctly
   handled.

************************************************************************

  DATE		VERSION
 2-12-2016	V3.0.2.0

1. Helix support
2. Addition of Colour Areas function
3. Addition of Colour Adjust function
2. Addition of XLI option for Smart Mode on extended printers


************************************************************************

  DATE		VERSION
 6-7-2016	V3.0.1.0

1. Bug Clearance - eject mode was inverted for existing API users
2. Correction of scaling in ID_DrawImage for images that were not 300dpi
3. Addition of resin handling in ID_DrawImage.
4. Preliminary handling of Helix functionality for beta testing.


************************************************************************

  DATE		VERSION
 21-10-2015	V3.0.0.0

Initial release for use with the new Magicard SDK