From f146fa0f81fe441620e0379d08d8c9602d973244 Mon Sep 17 00:00:00 2001 From: Austin English Date: Fri, 16 Jul 2010 13:20:52 -0500 Subject: [PATCH] winscard: Add stubs for SCardIsValidContext/SCardReleaseContext. --- dlls/winscard/winscard.c | 14 ++++++++++++++ dlls/winscard/winscard.spec | 4 ++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/dlls/winscard/winscard.c b/dlls/winscard/winscard.c index b9d5d461023..bbf1d72ee44 100644 --- a/dlls/winscard/winscard.c +++ b/dlls/winscard/winscard.c @@ -95,9 +95,23 @@ LONG WINAPI SCardEstablishContext(DWORD dwScope, LPCVOID pvReserved1, return SCARD_F_INTERNAL_ERROR; } +LONG WINAPI SCardIsValidContext(SCARDCONTEXT context) +{ + FIXME("(%lx) stub\n", context); + 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; } + +LONG WINAPI SCardReleaseContext(SCARDCONTEXT context) +{ + FIXME("(%lx) stub\n", context); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return SCARD_F_INTERNAL_ERROR; +} diff --git a/dlls/winscard/winscard.spec b/dlls/winscard/winscard.spec index 67c0d9fe4b1..116cb04a86a 100644 --- a/dlls/winscard/winscard.spec +++ b/dlls/winscard/winscard.spec @@ -33,7 +33,7 @@ @ stub SCardIntroduceReaderGroupA @ stub SCardIntroduceReaderGroupW @ stub SCardIntroduceReaderW -@ stub SCardIsValidContext +@ stdcall SCardIsValidContext(long) @ stdcall SCardListCardsA(long ptr ptr long str long) @ stub SCardListCardsW @ stub SCardListInterfacesA @@ -47,7 +47,7 @@ @ stub SCardLocateCardsByATRW @ stub SCardLocateCardsW @ stub SCardReconnect -@ stub SCardReleaseContext +@ stdcall SCardReleaseContext(long) @ stub SCardReleaseStartedEvent @ stub SCardRemoveReaderFromGroupA @ stub SCardRemoveReaderFromGroupW