The information in this article applies to:
SYMPTOMSFor Smart Card Resource Manager version 1.0, the SCardGetAttrib() API may fail with ERROR_OUTOFMEMORY if the SCARD_AUTOALLOCATE feature is used. CAUSEThe problem is caused by an anomaly in this API. RESOLUTIONTo work around this problem, instead, allocate the memory yourself. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONThe following code snippet reproduces the problem described above:
REFERENCESPlease see the MSDN online help for more information on SCardGetAttrib(), SCARD_AUTO_ALLOCATE, and other SCard APIs. Additional query words: Smart Card SCard APIs SCardGetAttrib SCARD_AUTOALLOCATE ERROR_OUTOFMEMORY.
Keywords : kbAPI kbKernBase kbSDKPlatform kbSDKWin32 kbDSupport kbGrpKernBase kbSmartCard |
Last Reviewed: December 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |