3.1.4.43 SCARD_IOCTL_READCACHEW (IOCTL 0x000900F4)

The Unicode version of Read Cache retrieves cached data for a specific smart card in a Smart Cards for Windows cache. 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 (ReadCacheW_Call.szLookupName; for more information, see section 2.2.2.26), and the freshness of the data (ReadCacheW_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.