Fixed SCardTransmit return
This commit is contained in:
parent
9ff0071b2e
commit
8217f5a9e3
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user