diff --git a/dlls/winscard/winscard.c b/dlls/winscard/winscard.c index bcf812900a..a8a1735c2b 100644 --- a/dlls/winscard/winscard.c +++ b/dlls/winscard/winscard.c @@ -129,3 +129,15 @@ void WINAPI SCardReleaseStartedEvent(void) { FIXME("stub\n"); } + +LONG WINAPI SCardListReadersA(SCARDCONTEXT context, const CHAR *groups, CHAR *readers, DWORD *buflen) +{ + FIXME("(%lx, %s, %p, %p) stub\n", context, debugstr_a(groups), readers, buflen); + return SCARD_E_NO_READERS_AVAILABLE; +} + +LONG WINAPI SCardListReadersW(SCARDCONTEXT context, const WCHAR *groups, WCHAR *readers, DWORD *buflen) +{ + FIXME("(%lx, %s, %p, %p) stub\n", context, debugstr_w(groups), readers, buflen); + return SCARD_E_NO_READERS_AVAILABLE; +} diff --git a/dlls/winscard/winscard.spec b/dlls/winscard/winscard.spec index 8ecf98839f..5fd8903f9f 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 ptr ptr) +@ stdcall SCardListReadersW(long wstr ptr ptr) @ stub SCardLocateCardsA @ stub SCardLocateCardsByATRA @ stub SCardLocateCardsByATRW diff --git a/include/winscard.h b/include/winscard.h index 884d350ace..fc729e274c 100644 --- a/include/winscard.h +++ b/include/winscard.h @@ -120,8 +120,8 @@ LONG WINAPI SCardListCardsW(SCARDCONTEXT,LPCBYTE,LPCGUID,DWORD,LPWSTR,LPD LONG WINAPI SCardListInterfacesA(SCARDCONTEXT,LPCSTR,LPGUID,LPDWORD); LONG WINAPI SCardListInterfacesW(SCARDCONTEXT,LPCWSTR,LPGUID,LPDWORD); #define SCardListInterfaces WINELIB_NAME_AW(SCardListInterfaces) -LONG WINAPI SCardListReadersA(SCARDCONTEXT,LPCSTR,LPSTR,LPDWORD); -LONG WINAPI SCardListReadersW(SCARDCONTEXT,LPCWSTR,LPWSTR,LPDWORD); +LONG WINAPI SCardListReadersA(SCARDCONTEXT,const CHAR *,CHAR *,DWORD *); +LONG WINAPI SCardListReadersW(SCARDCONTEXT,const WCHAR *,WCHAR *,DWORD *); #define SCardListReaders WINELIB_NAME_AW(SCardListReaders) LONG WINAPI SCardListReaderGroupsA(SCARDCONTEXT,LPSTR,LPDWORD); LONG WINAPI SCardListReaderGroupsW(SCARDCONTEXT,LPWSTR,LPDWORD);