winscard: Add stubs for SCardListReadersA/W.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Austin English 2016-03-20 22:58:27 -05:00 committed by Alexandre Julliard
parent 9d91fce444
commit c1614094f4
3 changed files with 16 additions and 4 deletions

View File

@ -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;
}

View File

@ -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

View File

@ -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);