D
D
EVICE
RIVERS
msrWrite
msrWrite
NOTE
38
M
X
800 S
P
ERIES
ROGRAMMERS
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
Pointer to data area
buffer
Maximum number of bytes to read. Each invocation of read will
size
transfer data from a card reader scan into the buffer.
Size is the maximum number of bytes to write and buffer is a pointer to the data
area.
Return Values
0
No data written
> 0
Number of bytes written
This call is placed to support test program development and debugging modes.
G
UIDE