ACS ACR83 PINeasy Smart Card Reader User Manual

Page 49

Advertising
background image

ACR83 – Reference Manual

[email protected]

Version 1.05

www.acs.com.hk

Page 49 of 49

printf("Key Return Condition: 0x%02x, Key String: %s\n",

keyReturnCondition, keyString);

}

else

printf("Error: cannot read key\n");

}

lReturn = SCardDisconnect(hCard, SCARD_LEAVE_CARD);

if (lReturn != SCARD_S_SUCCESS)

printf("Error: SCardDisconnect failed with error 0x%08x\n",

lReturn);

}

lReturn = SCardReleaseContext(hSCardContext);

if (lReturn != SCARD_S_SUCCESS)

printf("Error: SCardReleaseContext failed with error 0x%08x\n",

lReturn);

// Deallocate reader name

for (i = 0; i < numReaders; i++)

delete [] readerName[i];

delete readerName;

return 0;}

Advertising