Añado pruebas

This commit is contained in:
2025-07-03 11:39:24 +02:00
parent d311c034af
commit 0b19f81457
10 changed files with 4297 additions and 0 deletions
+270
View File
@@ -0,0 +1,270 @@
#pragma once
#define SM_SUCCESS 0x00000000
#define SM_FAIL 0xFFFFFFFF // -1
// error code definition
#define SM_F_FOUNDNODEV 0x80000000 // there is no device to use.
#define SM_F_INVALIDDEVIDX 0x80000001 // index of device is out of bound.
#define SM_F_INVALIDBUFPOINTER 0x80000002 // invalid buffer pointer. (may be null)
#define SM_F_NOTEXISTDEV 0x80000003 // not exist device. (not connected device)
#define SM_F_INVALIDPARAM 0x80000004 // invalid parameter value.
#define SM_F_DEVOPENFAILED 0x80000005 // device open failed. for more information, use GetLastError API.
#define SM_F_DEVIO 0x80000006 // device io operation is failed. for more information, use GetLastError API.
#define SM_F_FOUNDNODRV 0x80000007 // not found driver or cannot acquire DEVMODE from driver.
#define SM_F_INVALIDHANDLE 0x80000008 // invalid handle value.
#define SM_F_CARDISINSIDE 0x80000009 // card is already inside of device.
#define SM_F_NOCARDISINSIDE 0x8000000A // no card is inside of device.
#define SM_F_HOPPEREMPTY 0x8000000B // no cards are in hopper.
#define SM_F_NOCARDONBOTH 0x8000000C // no card both hopper and inside of printer.
#define SM_F_WAITTIMEOUT 0x8000000D // timeout occured while wait...
#define SM_F_CASEOPEN 0x8000000E // case is opened.
#define SM_F_ERRORSTATUS 0x8000000F // current status has error flag.
#define SM_F_CARDIN 0x80000010 // card-in action is failed.
#define SM_F_CARDOUT 0x80000011 // card-out action is failed.
#define SM_F_CARDOUTBACK 0x80000012 // card-back-out action is failed.
#define SM_F_MOVE2MAG 0x80000013 // card move (to magnetic) is failed.
#define SM_F_MOVE2IC 0x80000014 // card move (to IC) is failed.
#define SM_F_MOVE2RF 0x80000015 // card move (to RF) is failed.
#define SM_F_MOVE2ROT 0x80000016 // card move (to Rotator) is failed.
#define SM_F_MOVE2DEV 0x80000017 // card move (from Rotator) is failed.
#define SM_F_MAGRW 0x80000018 // magnetic read/write is failed,
#define SM_F_NOPRINTDATA 0x80000019 // printer failed to receive print data.
#define SM_F_PRINT 0x8000001A // print failed.
#define SM_F_SEEKRIBBON 0x8000001B // seek-ribbon is failed.
#define SM_F_MOVERIBBON 0x8000001C // move-ribbon is failed.
#define SM_F_EMPTYRIBBON 0x8000001D // ribbon is empty.
#define SM_F_ICHUP 0x8000001E // ic-head up failed.
#define SM_F_ICHDN 0x8000001F // ic-head down failed.
#define SM_F_ROTTOP 0x80000020 // rotate to top is failed.
#define SM_F_ROTBOTTOM 0x80000021 // rotate to bottom is failed.
#define SM_F_REQNOMAGTRACK 0x80000022 // requested no magnetic track.
#define SM_F_REQMULTIMAGTRACK 0x80000023 // requested two or more magnetic tracks in XXXGetBuffer function.
#define SM_F_FILENOTFOUND 0x80000024 // file not found.
#define SM_F_FIELDNOTFOUND 0x80000025 // field is not exist.
#define SM_F_IMAGELOAD 0x80000026 // failed to load image.
#define SM_F_CREATEDC 0x80000027 // dc creation is failed.
#define SM_F_VERIFYDRV 0x80000028 // driver verification is failed. may the driver is not ours.
#define SM_F_SPOOLING 0x80000029 // failed to make spool data. (includes StartDoc, StartPage, EndPage and EndDoc)
#define SM_F_DEVNOTOPENED 0x8000002A // request access to ic/rf module without opening the printer device.
#define SM_F_USEDBYOTHER 0x8000002B // usb is temporarily blocked by other.
#define SM_F_SOCKETCREATE 0x8000002C // socket creation failed.
#define SM_F_SOCKETCONNECT 0x8000002D // socket connection failed.
#define SM_F_SSLINIT 0x8000002E // SSL initialization failed.
#define SM_F_SSLCREATE 0x8000002F // SSL creation failed.
#define SM_F_SSLCONNECT 0x80000030 // SSL connection is failed.
#define SM_F_RESERVED 0x80000031 // host is already reserved status.
#define SM_F_INVALIDSOCKET 0x80000032 // socket fd is invalid.
#define SM_F_LESSSENDED 0x80000033 // packet is sended less than requested.
#define SM_F_LESSRECVED 0x80000034 // packet is received less than requested.
#define SM_F_SOCKETERROR 0x80000035 // socket error occured. for more information, use WSAGetLastError API.
#define SM_F_INVALIDPACKET 0x80000036 // packet is not valid. (include signature is not matched or else ...)
#define SM_F_PACKETSEQDIFFER 0x80000037 // packet sequence/id is not equaled when receive.
#define SM_F_PACKETFLAGNOREPLY 0x80000038 // reply flag is not setted on received packet.
#define SM_F_PACKETFLAGHEADER 0x80000039 // sent packet header is incorrect.
#define SM_F_PACKETFLAGARGUMENT 0x8000003A // argument is not valid on sent packet.
#define SM_F_PACKETFLAGEXE 0x8000003B // execution error flag is setted.
#define SM_F_PACKETFLAGBADCMD 0x8000003C // bad command flag is setted.
#define SM_F_PACKETFLAGINIT 0x8000003D // ...
#define SM_F_PACKETFLAGHANDLE 0x8000003E // invalid handle is given.
#define SM_F_FILEOPEN 0x8000003F // file open failed...
#define SM_F_FILEREAD 0x80000040 // read from file is failed.
#define SM_F_NOTSUPPORTYET 0x80000041 // not support yet...
#define SM_F_INSUFFICIENTBUF 0x80000042 // insufficient buffer.
// IC error area...
#define SM_F_ICESTABLISH 0x80000043 // SCardEstablish failed. for more information, use GetLastError.
#define SM_F_ICLISTREADER 0x80000044 // SCardListReaders failed. for more information, use GetLastError.
#define SM_F_ICCONNECT 0x80000045 // SCardConnect failed. for more information, use GetLastError.
#define SM_F_ICGETSTATUS 0x80000046 // SCardStatus failed. for more information, use GetLastError.
#define SM_F_ICDISCONNECT 0x80000047 // SCardDisconenct failed. for more information, use GetLastError.
#define SM_F_ICRELEASE 0x80000048 // SCardReleaseContext failed. for more information, use GetLastError.
// RF error area...
#define SM_F_RFINVALIDSETTING 0x80000049 // setting value is incorrect. (i.e., RF Port, ...)
#define SM_F_RFOPEN 0x8000004A // port open failed.
#define SM_F_RFCONNECT 0x8000004B // connect failed.
// 0x80000050 NOTE: LEAVE THIS. PLEASE.
#define SM_F_RFALREADYOPENED 0x80000051 // open the port that already opened.
#define SM_F_RFOPENFAIL 0x80000052 // port open failed.
#define SM_F_RFINVALIDCOMMPORT 0x80000053 // invalid COM port number.
#define SM_F_RFFAILGETCOMMSTATE 0x80000054 // error of communication setting.
#define SM_F_RFFAILSETCOMMSTATE 0x80000055 // error of communication setting.
#define SM_F_RFFAILCOMMIOTHREAD 0x80000056 // error of communication setting.
#define SM_F_RFPARAMETER 0x80000057 // incorrect function parameter.
#define SM_F_RFCOMMSTATE 0x80000150 // .
#define SM_F_RFCOMMSTATEPROCESS 0x80000151 // running non-blocking mode works.
#define SM_F_RFCOMMSTATEFINISH 0x8000015F // finished non-blocking mode works.
#define SM_F_RFCOMMSTATEERROR 0x800001D0 // .
#define SM_F_RFCOMMSTATEERRORWRITE 0x800001D1 // data transmition error.
#define SM_F_RFCOMMSTATEERRORFORMAT 0x800001D2 // invalid received data format.
#define SM_F_RFCOMMSTATEERRORLENGTH 0x800001D3 // incorrect data length of received data length.
#define SM_F_RFCOMMSTATEERRORLRC 0x800001D4 // error of received data's LRC.
#define SM_F_RFCOMMSTATEERRORTIMEOUT 0x800001D5 // receiving timeout.
// additional error codes...
#define SM_F_INVALIDNAME 0x80000200 // invalid or not supporting barcode name is given.
#define SM_F_ICDLLLOADFAILED 0x80000201 // ic(contact smartcard) dll load failed. // DEPRECATED.
#define SM_F_RFDLLLOADFAILED 0x80000202 // rf(contactless smartcard) dll load failed. // DEPRECATED.
#define SM_F_OBJECTNOTFOUND 0x80000203 // object is not exist.
#define SM_F_SUBDLLLOADFAILED 0x80000204 // sub-dll load failed... (ie., devconlib.dll, PIR_D02B.dll, ...)
#define SM_F_CONFIGFILEFAILED 0x80000205 // configuration file load/save failed...
#define SM_F_OVERHEATED 0x80000206 // thermal-head is overheated...
#define SM_F_NOPRINTHREAD 0x80000207 // no thermal-head
#define SM_F_LOWERVERSION 0x80000208 // SmartCommCl is lower than SmartCommon
#define SM_F_HIGHERVERSION 0x80000209 // SmartCommCl is higher than SmartCommon
#define SM_F_OLDSERVER 0x8000020A // SmartCommonService is old.
#define SM_F_VERSIONNOTMATCH 0x8000020B // version is not matched.
#define SM_F_CHANGEPASSWORD 0x8000020C // changing root/user password is failed.
#define SM_F_UNLOCK 0x8000020D // unlock is failed.
#define SM_F_LOCK 0x8000020E // lock is failed.
#define SM_F_FAILEDTOSET 0x8000020F // failed to printer set....
#define SM_F_FILESIZEZERO 0x80000220 // required file size is 0.
#define SM_F_DEPRECATED 0x80000221 // that function is deprecated.
#define SM_F_SERIALNORESPONSE 0x80000222 // not responding for serial command...
#define SM_F_NETAUTHFAIL 0x80000300 // Network Authentification failed.
#define SM_F_NETREBOOTERROR 0x80000301 // Network Reboot command failed.
#define SM_F_NETRELOADERROR 0x80000302 // Network Reload command failed.
#define SM_F_NETRESETERROR 0x80000303 // Network Reset command failed.
#define SM_F_NETUPGRADEERROR 0x80000304 // Network upgrade command failed.
#define SM_F_NETGETSYSCFGERROR 0x80000305 // Network Get System Config command failed.
#define SM_F_NETSETSYSCFGERROR 0x80000306 // Network Set System Config command failed.
#define SM_F_NETGETSVCCFGERROR 0x80000307 // Network Get Service Config command failed.
#define SM_F_NETSETSVCCFGERROR 0x80000308 // Network Set Service Config command failed.
#define SM_F_NETLISTUSERERROR 0x80000309 // Network List User command failed.
#define SM_F_NETADDUSERERROR 0x8000030A // Network Add User command failed.
#define SM_F_NETDELUSERERROR 0x8000030B // Network Delete User command failed.
#define SM_F_NETPASSWDUSERERROR 0x8000030C // Network Change User Password command failed.
// SMART-70 Extended Error Codes...
#define SM_F_PREEMPTION 0x80000350 // Preemption Failed. Other Program Already have the Preemption.
#define SM_F_CARDMOVE 0x80000351 // Card Move (among the Modules) is failed.
#define SM_F_MOVEPOSITION 0x80000352 // Card Positining Move is failed.
#define SM_F_SETENCCONFIG 0x80000353 // Change Encoder Config is failed.
#define SM_F_ENCODING 0x80000354 // Encoding failed.
#define SM_F_NOTEXISTMODULE 0x80000355 // Module does not exist.
#define SM_F_MODULERESERVED 0x80000356 // Module is reserved by other job.
#define SM_F_MODULEOCUPIED 0x80000357 // Module is ocupied by other job.
#define SM_F_NOTEXISTJOB 0x80000358 // Specified Job Id does not exit. Maybe Wrong Job id or finished already.
#define SM_F_MODULEBUSY 0x80000359 // Module is busy
#define SM_F_MODULEHASERROR 0x8000035A // Module has error
#define SM_F_CANCELBYUSER 0x8000035B // Printing Job is Canceled by User.
#define SM_F_EMPTYDATA 0x8000035C // There is No Encoded Data.
#define SM_F_LAMINATE 0x8000035D // error while laminating
#define SM_W_HOLDINGPRINTDATA 0x8000035E // not an error. have print data but not printing.
#define SM_F_INVALIDMODULEID 0x8000035F // invalid module id.
#define SM_F_STACKERFULL 0x80000360 // stacker is full.
#define SM_F_MODULEWEAKRESERVED 0x80000361 // Module is weak-reserved by other job.
#define SM_F_OBJINFORBIDDENAREA 0x80000362 // laser engraving object(s) is(are) in not allowed zone.
#define SM_F_UNKNOWNCMD 0x80000381 // given command is unknown.
// 485 Packet Error Code
#define SM7_F_PACKETINVALID 0x80000400 // packet is invalid (not our format).
#define SM7_F_PACKETSHORT 0x80000401 // data
#define SM7_F_PACKETCRC 0x80000402 // different crc
#define SM7_F_EMPTYHOPPER 0x80000403 // hopper is empty
#define SM7_F_ERRORLASTCMD 0x80000404 // error came from last command...
// smartcard error codes...
#define SM_F_SCARD_F_INTERNAL_ERROR SCARD_F_INTERNAL_ERROR // 0x80100001 // An internal consistency check failed.
#define SM_F_SCARD_E_CANCELLED SCARD_E_CANCELLED // 0x80100002 // The action was cancelled by an SCardCancel request.
#define SM_F_SCARD_E_INVALID_HANDLE SCARD_E_INVALID_HANDLE // 0x80100003 // The supplied handle was invalid.
#define SM_F_SCARD_E_INVALID_PARAMETER SCARD_E_INVALID_PARAMETER // 0x80100004 // One or more of the supplied parameters could not be properly interpreted.
#define SM_F_SCARD_E_INVALID_TARGET SCARD_E_INVALID_TARGET // 0x80100005 // Registry startup information is missing or invalid.
#define SM_F_SCARD_E_NO_MEMORY SCARD_E_NO_MEMORY // 0x80100006 // Not enough memory available to complete this command.
#define SM_F_SCARD_F_WAITED_TOO_LONG SCARD_F_WAITED_TOO_LONG // 0x80100007 // An internal consistency timer has expired.
#define SM_F_SCARD_E_INSUFFICIENT_BUFFER SCARD_E_INSUFFICIENT_BUFFER // 0x80100008 // The data buffer to receive returned data is too small for the returned data.
#define SM_F_SCARD_E_UNKNOWN_READER SCARD_E_UNKNOWN_READER // 0x80100009 // The specified reader name is not recognized.
#define SM_F_SCARD_E_TIMEOUT SCARD_E_TIMEOUT // 0x8010000A // The user-specified timeout value has expired.
#define SM_F_SCARD_E_SHARING_VIOLATION SCARD_E_SHARING_VIOLATION // 0x8010000B // The smart card cannot be accessed because of other connections outstanding.
#define SM_F_SCARD_E_NO_SMARTCARD SCARD_E_NO_SMARTCARD // 0x8010000C // The operation requires a Smart Card, but no Smart Card is currently in the device.
#define SM_F_SCARD_E_UNKNOWN_CARD SCARD_E_UNKNOWN_CARD // 0x8010000D // The specified smart card name is not recognized.
#define SM_F_SCARD_E_CANT_DISPOSE SCARD_E_CANT_DISPOSE // 0x8010000E // The system could not dispose of the media in the requested manner.
#define SM_F_SCARD_E_PROTO_MISMATCH SCARD_E_PROTO_MISMATCH // 0x8010000F // The requested protocols are incompatible with the protocol currently in use with the smart card.
#define SM_F_SCARD_E_NOT_READY SCARD_E_NOT_READY // 0x80100010 // The reader or smart card is not ready to accept commands.
#define SM_F_SCARD_E_INVALID_VALUE SCARD_E_INVALID_VALUE // 0x80100011 // One or more of the supplied parameters values could not be properly interpreted.
#define SM_F_SCARD_E_SYSTEM_CANCELLED SCARD_E_SYSTEM_CANCELLED // 0x80100012 // The action was cancelled by the system, presumably to log off or shut down.
#define SM_F_SCARD_F_COMM_ERROR SCARD_F_COMM_ERROR // 0x80100013 // An internal communications error has been detected.
#define SM_F_SCARD_F_UNKNOWN_ERROR SCARD_F_UNKNOWN_ERROR // 0x80100014 // An internal error has been detected, but the source is unknown.
#define SM_F_SCARD_E_INVALID_ATR SCARD_E_INVALID_ATR // 0x80100015 // An ATR obtained from the registry is not a valid ATR string.
#define SM_F_SCARD_E_NOT_TRANSACTED SCARD_E_NOT_TRANSACTED // 0x80100016 // An attempt was made to end a non-existent transaction.
#define SM_F_SCARD_E_READER_UNAVAILABLE SCARD_E_READER_UNAVAILABLE // 0x80100017 // The specified reader is not currently available for use.
#define SM_F_SCARD_P_SHUTDOWN SCARD_P_SHUTDOWN // 0x80100018 // The operation has been aborted to allow the server application to exit.
#define SM_F_SCARD_E_PCI_TOO_SMALL SCARD_E_PCI_TOO_SMALL // 0x80100019 // The PCI Receive buffer was too small.
#define SM_F_SCARD_E_READER_UNSUPPORTED SCARD_E_READER_UNSUPPORTED // 0x8010001A // The reader driver does not meet minimal requirements for support.
#define SM_F_SCARD_E_DUPLICATE_READER SCARD_E_DUPLICATE_READER // 0x8010001B // The reader driver did not produce a unique reader name.
#define SM_F_SCARD_E_CARD_UNSUPPORTED SCARD_E_CARD_UNSUPPORTED // 0x8010001C // The smart card does not meet minimal requirements for support.
#define SM_F_SCARD_E_NO_SERVICE SCARD_E_NO_SERVICE // 0x8010001D // The Smart card resource manager is not running.
#define SM_F_SCARD_E_SERVICE_STOPPED SCARD_E_SERVICE_STOPPED // 0x8010001E // The Smart card resource manager has shut down.
#define SM_F_SCARD_E_UNEXPECTED SCARD_E_UNEXPECTED // 0x8010001F // An unexpected card error has occurred.
#define SM_F_SCARD_E_ICC_INSTALLATION SCARD_E_ICC_INSTALLATION // 0x80100020 // No Primary Provider can be found for the smart card.
#define SM_F_SCARD_E_ICC_CREATEORDER SCARD_E_ICC_CREATEORDER // 0x80100021 // The requested order of object creation is not supported.
#define SM_F_SCARD_E_UNSUPPORTED_FEATURE SCARD_E_UNSUPPORTED_FEATURE // 0x80100022 // This smart card does not support the requested feature.
#define SM_F_SCARD_E_DIR_NOT_FOUND SCARD_E_DIR_NOT_FOUND // 0x80100023 // The identified directory does not exist in the smart card.
#define SM_F_SCARD_E_FILE_NOT_FOUND SCARD_E_FILE_NOT_FOUND // 0x80100024 // The identified file does not exist in the smart card.
#define SM_F_SCARD_E_NO_DIR SCARD_E_NO_DIR // 0x80100025 // The supplied path does not represent a smart card directory.
#define SM_F_SCARD_E_NO_FILE SCARD_E_NO_FILE // 0x80100026 // The supplied path does not represent a smart card file.
#define SM_F_SCARD_E_NO_ACCESS SCARD_E_NO_ACCESS // 0x80100027 // Access is denied to this file.
#define SM_F_SCARD_E_WRITE_TOO_MANY SCARD_E_WRITE_TOO_MANY // 0x80100028 // The smartcard does not have enough memory to store the information.
#define SM_F_SCARD_E_BAD_SEEK SCARD_E_BAD_SEEK // 0x80100029 // There was an error trying to set the smart card file object pointer.
#define SM_F_SCARD_E_INVALID_CHV SCARD_E_INVALID_CHV // 0x8010002A // The supplied PIN is incorrect.
#define SM_F_SCARD_E_UNKNOWN_RES_MNG SCARD_E_UNKNOWN_RES_MNG // 0x8010002B // An unrecognized error code was returned from a layered component.
#define SM_F_SCARD_E_NO_SUCH_CERTIFICATE SCARD_E_NO_SUCH_CERTIFICATE // 0x8010002C // The requested certificate does not exist.
#define SM_F_SCARD_E_CERTIFICATE_UNAVAILABLE SCARD_E_CERTIFICATE_UNAVAILABLE // 0x8010002D // The requested certificate could not be obtained.
#define SM_F_SCARD_E_NO_READERS_AVAILABLE SCARD_E_NO_READERS_AVAILABLE // 0x8010002E // Cannot find a smart card reader.
#define SM_F_SCARD_E_COMM_DATA_LOST SCARD_E_COMM_DATA_LOST // 0x8010002F // A communications error with the smart card has been detected. Retry the operation.
#define SM_F_SCARD_E_NO_KEY_CONTAINER SCARD_E_NO_KEY_CONTAINER // 0x80100030 // The requested key container does not exist on the smart card.
#define SM_F_SCARD_E_SERVER_TOO_BUSY SCARD_E_SERVER_TOO_BUSY // 0x80100031 // The Smart card resource manager is too busy to complete this operation.
// These are warning codes.
#define SM_F_SCARD_W_UNSUPPORTED_CARD SCARD_W_UNSUPPORTED_CARD // 0x80100065
#define SM_F_SCARD_W_UNRESPONSIVE_CARD SCARD_W_UNRESPONSIVE_CARD // 0x80100066 // The smart card is not responding to a reset.
#define SM_F_SCARD_W_UNPOWERED_CARD SCARD_W_UNPOWERED_CARD // 0x80100067 // Power has been removed from the smart card, so that further communication is not possible.
#define SM_F_SCARD_W_RESET_CARD SCARD_W_RESET_CARD // 0x80100068 // The smart card has been reset, so any shared state information is invalid.
#define SM_F_SCARD_W_REMOVED_CARD SCARD_W_REMOVED_CARD // 0x80100069 // The smart card has been removed, so that further communication is not possible.
#define SM_F_SCARD_W_SECURITY_VIOLATION SCARD_W_SECURITY_VIOLATION // 0x8010006A // Access was denied because of a security violation.
#define SM_F_SCARD_W_WRONG_CHV SCARD_W_WRONG_CHV // 0x8010006B // The card cannot be accessed because the wrong PIN was presented.
#define SM_F_SCARD_W_CHV_BLOCKED SCARD_W_CHV_BLOCKED // 0x8010006C // The card cannot be accessed because the maximum number of PIN entry attempts has been reached.
#define SM_F_SCARD_W_EOF SCARD_W_EOF // 0x8010006D // The end of the smart card file has been reached.
#define SM_F_SCARD_W_CANCELLED_BY_USER SCARD_W_CANCELLED_BY_USER // 0x8010006E // The action was cancelled by the user.
#define SM_F_SCARD_W_CARD_NOT_AUTHENTICATED SCARD_W_CARD_NOT_AUTHENTICATED // 0x8010006F // No PIN was presented to the smart card.
// SMART-70X error codes.
#define SL_SUCCESS SM_SUCCESS
#define SL_F_EZCADRUN 1 // Find EZCAD running
#define SL_F_NOFINDCFGFILE 2 // Can not find EZCAD.CFG
#define SL_F_FAILEDOPEN 3 // Open LMC1 board failed
#define SL_F_NODEVICE 4 // Can not find valid lmc1 device
#define SL_F_HARDVER 5 // Lmc1¡¯s version is error.
#define SL_F_DEVCFG 6 // Can not find configuration files
#define SL_F_STOPSIGNAL 7 // Alarm signal
#define SL_F_USERSTOP 8 // User stops
#define SL_F_UNKNOW 9 // Unknown error
#define SL_F_OUTTIME 10 // Overtime
#define SL_F_NOINITIAL 11 // Un-initialized
#define SL_F_READFILE 12 // Read file error
#define SL_F_OWENWNDNULL 13 // Window handle is NULL
#define SL_F_NOFINDFONT 14 // Can not find designated font
#define SL_F_PENNO 15 // Wrong pen number
#define SL_F_NOTTEXT 16 // Object is not text
#define SL_F_SAVEFILE 17 // Save file failed
#define SL_F_NOFINDENT 18 // Can not find designated object
#define SL_F_STATUE 19 // Can not run the operation in current state
#define SL_F_LOADLIBRARY 40 // Can not load laser library
#define SL_F_IMAGEMAKE 43 // Image Make Error