winscard: Add stubs for SCardIsValidContext/SCardReleaseContext.

This commit is contained in:
Austin English 2010-07-16 13:20:52 -05:00 committed by Alexandre Julliard
parent 3173305e88
commit f146fa0f81
2 changed files with 16 additions and 2 deletions

View File

@ -95,9 +95,23 @@ LONG WINAPI SCardEstablishContext(DWORD dwScope, LPCVOID pvReserved1,
return SCARD_F_INTERNAL_ERROR; 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) LONG WINAPI SCardListCardsA(SCARDCONTEXT hContext, LPCBYTE pbAtr, LPCGUID rgguidInterfaces, DWORD cguidInterfaceCount, LPSTR mszCards, LPDWORD pcchCards)
{ {
FIXME(": stub\n"); FIXME(": stub\n");
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return SCARD_F_INTERNAL_ERROR; 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;
}

View File

@ -33,7 +33,7 @@
@ stub SCardIntroduceReaderGroupA @ stub SCardIntroduceReaderGroupA
@ stub SCardIntroduceReaderGroupW @ stub SCardIntroduceReaderGroupW
@ stub SCardIntroduceReaderW @ stub SCardIntroduceReaderW
@ stub SCardIsValidContext @ stdcall SCardIsValidContext(long)
@ stdcall SCardListCardsA(long ptr ptr long str long) @ stdcall SCardListCardsA(long ptr ptr long str long)
@ stub SCardListCardsW @ stub SCardListCardsW
@ stub SCardListInterfacesA @ stub SCardListInterfacesA
@ -47,7 +47,7 @@
@ stub SCardLocateCardsByATRW @ stub SCardLocateCardsByATRW
@ stub SCardLocateCardsW @ stub SCardLocateCardsW
@ stub SCardReconnect @ stub SCardReconnect
@ stub SCardReleaseContext @ stdcall SCardReleaseContext(long)
@ stub SCardReleaseStartedEvent @ stub SCardReleaseStartedEvent
@ stub SCardRemoveReaderFromGroupA @ stub SCardRemoveReaderFromGroupA
@ stub SCardRemoveReaderFromGroupW @ stub SCardRemoveReaderFromGroupW