EasyManua.ls Logo

VeriFone MX800 Series - Ecropen

VeriFone MX800 Series
344 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DEVICE DRIVERS
ecrOpen
M
X
800 SERIES PROGRAMMERS GUIDE 101
ecrOpen
This function opens the port and initializes it according to the I4683 variable. If the
visa_sel is non zero, the port is configured for VISA 2 processing. If port_name
is specified, then it overrides the setting in the L4683 environment variable. If
port_name is not specified, then a null terminated string (“”) should be passed and
the value in the L4683 environment variable will be used. The function returns the
handle to the port. or a negative value upon error and errno set.
Prototype
short hEcr = ecrOpen(char *port_name, short visa_sel);
Return Values
Negative return values are defined as follows:
-0 I4683 environment variable NOT found. erno = -EINVAL
-1 Device driver not installed errno = -ENXIO
-2 L4683 environment variable NOT found. erno = -EINVAL
-3 Invalid port number in L4683. erno = -EINVAL
-4 Invalid port name argument. erno = -EINVAL
-5 Invalid L4683 environment variable length. erno = -EINVAL
-6 Invalid I4683 slot specified or not initialized. erno = -EBADSLT
-7 Visa protocol NOT started. erno = -EPROTO
-8 Initialization failed of Polling semaphore. erno = -EPERM

Table of Contents

Other manuals for VeriFone MX800 Series

Related product manuals