> /*! \brief Read the relevant 404 bytes from the SIS card > * > * This function reads the complete relevant content (404 bytes) of the SIS card and copies the > raw content in the buffer. > * This function returns PC/SC return codes. Depending on the OS winscard.h or pcsclite.h are > included to > * make sure the return codes are properly defined. > * > * Card readers: this function will try to read a SIS card in the first available (according to PC/SC card reader enumeration), supported card reader. > * Check the product documentation for a list of supported card readers. > * > * \param pucBuffer the buffer (SIS_LEN bytes) where the SIS card will be stored > * > * \return PC/SC error code > * \return SCARD_S_SUCCESS if ok > * \return SCARD_E_INSUFFICIENT_BUFFER if pucBuffer is NULL > * > */ >SISPUBLIC_API LONG SisPublicReadCard(unsigned char *pucBuffer) > >>
>LOCAL cValue >DECLARE STRING SisPublicReadCard IN SisPublic.dll >cValue = SisPublicReadCard() >WAIT WINDOW cValue >>
DECLARE LONG SisPublicReadCard IN SisPublic.dll STRING @ STORE REPLICATE(CHR(0),404) TO cTest ? SisPublicReadCard(@cTest) ? cTestand the function returns