From: Austin English Subject: winscard: add stubs for SCardListReadersA/W Message-Id: Date: Sun, 1 May 2011 13:48:32 -0500 http://bugs.winehq.org/show_bug.cgi?id=26978 -- -Austin diff --git a/dlls/winscard/winscard.c b/dlls/winscard/winscard.c index 412299c..a7c088d 100644 --- a/dlls/winscard/winscard.c +++ b/dlls/winscard/winscard.c @@ -120,3 +120,16 @@ void WINAPI SCardReleaseStartedEvent(void) { FIXME("stub\n"); } + +LONG WINAPI SCardListReadersA(SCARDCONTEXT context, LPCSTR groups, LPSTR readers, LPDWORD buflen) +{ + FIXME("(%lx, %s, %s, %p) stub\n", context, groups, readers, buflen); + return SCARD_F_INTERNAL_ERROR; +} + +LONG WINAPI SCardListReadersW(SCARDCONTEXT context, LPCWSTR groups, LPWSTR readers, LPDWORD buflen) +{ + FIXME("(%lx, %s, %s, %p) stub\n", context, debugstr_w(groups), debugstr_w(readers), buflen); + return SCARD_F_INTERNAL_ERROR; +} + diff --git a/dlls/winscard/winscard.spec b/dlls/winscard/winscard.spec index 1bd6ef1..feefe83 100644 --- a/dlls/winscard/winscard.spec +++ b/dlls/winscard/winscard.spec @@ -40,8 +40,8 @@ @ stub SCardListInterfacesW @ stub SCardListReaderGroupsA @ stub SCardListReaderGroupsW -@ stub SCardListReadersA -@ stub SCardListReadersW +@ stdcall SCardListReadersA(long str str ptr) +@ stdcall SCardListReadersW(long wstr wstr ptr) @ stub SCardLocateCardsA @ stub SCardLocateCardsByATRA @ stub SCardLocateCardsByATRW