Austin English : winscard: Add a stub for SCardListCardsA.

Alexandre Julliard julliard at winehq.org
Mon Aug 31 10:47:12 CDT 2009


Module: wine
Branch: master
Commit: 13b6a43d736cb3052d8c890e3986aa72ef356700
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=13b6a43d736cb3052d8c890e3986aa72ef356700

Author: Austin English <austinenglish at gmail.com>
Date:   Sun Aug 30 18:59:16 2009 -0500

winscard: Add a stub for SCardListCardsA.

---

 dlls/winscard/winscard.c    |    7 +++++++
 dlls/winscard/winscard.spec |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)

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-cvs mailing list