Appendix C API Calls
119
E-EQ-MX3CERG-E
MX3-CE Reference Guide
LXEScannerSetSerial
#define SCANPORT_DISABLED 0
#define SCANPORT_COM1
1
#define SCANPORT_COM2
2
#define SCANPORT_COM3
3
#define SCANPORT_INTERNAL 4
int LXEScannerSetSerial(int port, int baud, int data,
int parity, int stop);
This function changes the configuration of the scanner serial port on the indicated port and saves
it to the registry. The function then generates the event necessary to cause the driver to reload its
registry information, so that the new value takes effect immediately.
Note that this setting has no effect on the serial ports unless they are handled by the scanner
driver. Regular serial ports are configured using the standard Win32 API calls.
This function returns 0 on error, or 1 on success. GetLastError() may be used to get a detailed
error message.
LXEScannerSetPower
#define SCANPORT_DISABLED 0
#define SCANPORT_COM1
1
#define SCANPORT_COM2
2
#define SCANPORT_COM3
3
#define SCANPORT_INTERNAL 4
int LXEScannerSetPower(int port, int val);
This function changes the value of the scanner serial port power pin (0=ring indicator, 1=5 volts)
on the indicated serial port, and saves it to the registry. This function is only valid for COM1 and
COM3 serial ports, and will return an error for all others. The function then generates the event
necessary to cause the driver to reload its registry information, so that the new value takes effect
immediately.
This function returns 0 on error, or 1 on success. GetLastError() may be used to get a detailed
error message.
Summary of Contents for MX3-CE
Page 46: ...34 Getting Help MX3 CE Reference Guide E EQ MX3CERG E ...
Page 112: ...100 Appendix A Key Maps MX3 CE Reference Guide E EQ MX3CERG E ...
Page 118: ...106 Appendix B Technical Specifications MX3 CE Reference Guide E EQ MX3CERG E ...
Page 160: ...148 Appendix D AppLock MX3 CE Reference Guide E EQ MX3CERG E ...
Page 166: ...154 Index MX3 CE Reference Guide E EQ MX3CERG E ...