Fixed SCardTransmit return

This commit is contained in:
akallabeth 2021-02-06 16:59:51 +01:00 committed by akallabeth
parent 9ff0071b2e
commit 8217f5a9e3
3 changed files with 0 additions and 5 deletions

View File

@ -112,7 +112,6 @@ typedef struct _longAndMultiString_Return
typedef struct _longAndMultiString_Return ListReaders_Return;
typedef struct _EstablishContext_Return
{
LONG ReturnCode;
@ -473,7 +472,6 @@ typedef struct _ReadCacheW_Call
/* [string] */ WCHAR* szLookupName;
} ReadCacheW_Call;
typedef struct _WriteCache_Common
{
Handles_Call handles;

View File

@ -3101,8 +3101,6 @@ LONG smartcard_pack_transmit_return(SMARTCARD_DEVICE* smartcard, wStream* s,
UINT32 cbRecvPci = ret->pioRecvPci ? ret->pioRecvPci->cbPciLength : 0;
smartcard_trace_transmit_return(smartcard, ret);
if (ret->ReturnCode != SCARD_S_SUCCESS)
return ret->ReturnCode;
if (!ret->pbRecvBuffer)
cbRecvLength = 0;

View File

@ -2209,7 +2209,6 @@ static LONG WINAPI PCSC_SCardControl(SCARDHANDLE hCard, DWORD dwControlCode, LPC
}
return PCSC_MapErrorCodeToWinSCard(status);
;
}
static LONG WINAPI PCSC_SCardGetAttrib_Internal(SCARDHANDLE hCard, DWORD dwAttrId, LPBYTE pbAttr,