Ips_Executescript() - VeriFone MX800 series Programmer's Manual

Hide thumbs Also See for MX800 series:
Table of Contents

Advertisement

iPS_ExecuteScript()

This function spawns the execution of a given macro from a given loaded
VeriShield Security Script.
Prototype
int iPS_ExecuteScript(unsigned char ucScriptNumber, unsigned char
ucMacroID, unsigned short usINDataSize, unsigmed char * pucINData unsigned
short usMaximumOUTDataSize, unsigned short *pusOUTDataSize, unsigmed char
* pucOUTData)
Parameters
.
ucScriptNumber
unsigned char ucMacroID
usINDataSize
pucINData
usMaximumOUTDataSize
pusOUTDataSize
pucOUTData
Script number. Range [0..7]
Number of the macro function to be executed.
The size of the input data (in bytes).
The pointer to the buffer containing the input data.
The maximum size of the output data. This typically
will be the size of the output buffer.
Pointer to number of bytes returned by the macro in
the output buffer.
The pointer to the output buffer. The number of
bytes returned in the output buffer is specified by
pusOUTDataSize. If the macro is returns more
data than the output buffer can contain, an error
E_VS_BAD_LENGTH is returned and nothing is
copied into the output buffer.
X
M
800 S
D
D
EVICE
RIVERS
iPS_ExecuteScript()
P
G
ERIES
ROGRAMMERS
UIDE
77

Advertisement

Table of Contents
loading

Table of Contents