3.1.4.42 SCARD_IOCTL_READCACHEA (IOCTL 0x000900F0)

The ASCII version of Read Cache retrieves cached data for a specific smart card. Data is cached according to the smart card UUID (ReadCacheA_Call.Common.CardIdentifier; for more information, see section 2.2.1.9), the Card Lookup Name (ReadCacheA_Call.szLookupName; for more information, see section 2.2.2.25), and the freshness of the data (ReadCacheA_Call.Common.FreshnessCounter; for more information, see section 2.2.1.9). All three MUST match in order for this call to be successful. On success, ReadCache_Return MUST be initialized as specified in section 2.2.3.1.

Return Values: The method sets ReadCache_Return.ReturnCode (for more information, see section 2.2.3.1) to SCARD_S_SUCCESS on success; otherwise, it sets one of the smart card-specific errors or one of the return codes from Winerror.h. No specialized error codes are associated with this method.