DEVICE DRIVERS
msrWrite
38 M
X
800 SERIES PROGRAMMERS GUIDE
msrWrite
This operation transfers data from an application buffer into the device driver's
buffer. The data is used for the next read operation.
Prototype
int bytes_written = msrWrite(char *buffer, int size);
Parameters
Size is the maximum number of bytes to write and buffer is a pointer to the data
area.
Return Values
buffer Pointer to data area
size Maximum number of bytes to read. Each invocation of read will
transfer data from a card reader scan into the buffer.
0 No data written
> 0 Number of bytes written
NOTE
This call is placed to support test program development and debugging modes.