winscard: add a stub for SCardListCardsA

Austin English austinenglish at gmail.com
Sun Aug 30 18:59:16 CDT 2009


Should fix bug 19867.

-- 
-Austin
-------------- next part --------------
diff --git a/dlls/winscard/winscard.c b/dlls/winscard/winscard.c
index f390b70..b9d5d46 100644
--- a/dlls/winscard/winscard.c
+++ b/dlls/winscard/winscard.c
@@ -94,3 +94,10 @@ LONG WINAPI SCardEstablishContext(DWORD dwScope, LPCVOID pvReserved1,
     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     return SCARD_F_INTERNAL_ERROR;
 }
+
+LONG WINAPI SCardListCardsA(SCARDCONTEXT hContext, LPCBYTE pbAtr, LPCGUID rgguidInterfaces, DWORD cguidInterfaceCount, LPSTR mszCards, LPDWORD pcchCards)
+{
+    FIXME(": stub\n");
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return SCARD_F_INTERNAL_ERROR;
+}
diff --git a/dlls/winscard/winscard.spec b/dlls/winscard/winscard.spec
index 44d43ab..67c0d9f 100644
--- a/dlls/winscard/winscard.spec
+++ b/dlls/winscard/winscard.spec
@@ -34,7 +34,7 @@
 @ stub SCardIntroduceReaderGroupW
 @ stub SCardIntroduceReaderW
 @ stub SCardIsValidContext
-@ stub SCardListCardsA
+@ stdcall SCardListCardsA(long ptr ptr long str long)
 @ stub SCardListCardsW
 @ stub SCardListInterfacesA
 @ stub SCardListInterfacesW


More information about the wine-patches mailing list