diff --git a/dlls/winscard/winscard.c b/dlls/winscard/winscard.c index 412299cadc9..473d5f30d6e 100644 --- a/dlls/winscard/winscard.c +++ b/dlls/winscard/winscard.c @@ -116,6 +116,20 @@ LONG WINAPI SCardReleaseContext(SCARDCONTEXT context) return SCARD_F_INTERNAL_ERROR; } +LONG WINAPI SCardStatusA(SCARDHANDLE context, LPSTR szReaderName, LPDWORD pcchReaderLen, LPDWORD pdwState, LPDWORD pdwProtocol, LPBYTE pbAtr, LPDWORD pcbAtrLen) +{ + FIXME("(%lx) stub\n", context); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return SCARD_F_INTERNAL_ERROR; +} + +LONG WINAPI SCardStatusW(SCARDHANDLE context, LPWSTR szReaderName, LPDWORD pcchReaderLen, LPDWORD pdwState,LPDWORD pdwProtocol,LPBYTE pbAtr,LPDWORD pcbArtLen) +{ + FIXME("(%lx) stub\n", context); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return SCARD_F_INTERNAL_ERROR; +} + void WINAPI SCardReleaseStartedEvent(void) { FIXME("stub\n"); diff --git a/dlls/winscard/winscard.spec b/dlls/winscard/winscard.spec index 1bd6ef19872..8ecf98839f1 100644 --- a/dlls/winscard/winscard.spec +++ b/dlls/winscard/winscard.spec @@ -55,8 +55,8 @@ @ stub SCardSetCardTypeProviderNameA @ stub SCardSetCardTypeProviderNameW @ stub SCardState -@ stub SCardStatusA -@ stub SCardStatusW +@ stdcall SCardStatusA (long str long long long ptr long ) +@ stdcall SCardStatusW (long wstr long long long ptr long ) @ stub SCardTransmit @ extern g_rgSCardRawPci @ extern g_rgSCardT0Pci