ExpressCard 1000 Programming Reference
MTECSDK_ProcessDoc
MTECSDK_ProcessDoc
function sends a card personalization request with the given process options to the given device
name. When the device completes the request, the result of the card personalization operation is returned in the buffer
pcDocInfo.
ULONG MTECSDK_ProcessDoc
(
char
*pcDevName,
char
*pcProcessOptions,
char
*pcDocInfo,
DWORD *pdwDocInfoSize
);
Parameters
pcDevName
Pointer to null terminated string containing device name.
pcProcessOptions
Pointer to a buffer containing the options to be used in processing the card. The options are stored in the buffer
by using function
MTECSDK_SetValue
.
pcDocInfo
Pointer to the buffer containing the information returned from the device. The returned information contains
Command status, MagnePrint data, Magstripe data, Smartcard data, Device status information.
pdwDocInfoSize
Size of the buffer pcDocInfo.
Return Values
EC_ST_OK
EC_ST_NOT_ENOUGH_MEMORY
EC_ST_PROCESS_CARD_FAILED
EC_ST_BAD_DATA
EC_ST_BAD_BUFFER
EC_ST_BAD_BUFFER_LENGTH
EC_ST_BAD_DEVICE_NAME
EC_ST_DEVICE_NOT_OPEN
EC_ST_DEVICE_NOT_RESPONDING
EC_ST_REQUEST_TIMEDOUT
EC_ST_CONNECT_REQUEST_TIMEDOUT
EC_ST_ERR_INTERNET_CONNECT
EC_ST_ERR_HTTP_OPEN_REQUEST
EC_ST_ERR_HTTP_SEND_REQUEST
16
Summary of Contents for EXPRESSCARD 1000
Page 6: ......