摘要:
intret=0;HRESULThr=S_OK;LPTSTRszReaders=NULL,szRdr=NULL;DWORDcchReaders=SCARD_AUTOALLOCATE;DWORDdwI,dwRdrCount;SCARD_READERSTATErgscState[MAXIMUM_SMARTCARD_READERS];TCHARszCard[MAX_PATH*64];DWORDdwCardLen=sizeof(szCard)/sizeof(TCHAR);SCARDCONTEXThSC;LONGlReturn;//Establishacontext.lReturn=SCardEstab 阅读全文