Comments
This commit is contained in:
parent
fdb95c712b
commit
53707c97c8
@ -1326,7 +1326,6 @@ UINT32 smartcard_unpack_get_status_change_w_call(SMARTCARD_DEVICE* smartcard, wS
|
|||||||
UINT32 szReaderNdrPtr;
|
UINT32 szReaderNdrPtr;
|
||||||
UINT32 rgReaderStatesNdrPtr;
|
UINT32 rgReaderStatesNdrPtr;
|
||||||
LPSCARD_READERSTATEW readerState;
|
LPSCARD_READERSTATEW readerState;
|
||||||
char *szReader = NULL;
|
|
||||||
|
|
||||||
call->rgReaderStates = NULL;
|
call->rgReaderStates = NULL;
|
||||||
|
|
||||||
@ -1429,13 +1428,6 @@ UINT32 smartcard_unpack_get_status_change_w_call(SMARTCARD_DEVICE* smartcard, wS
|
|||||||
WLog_Print(smartcard->log, WLOG_WARN, "GetStatusChangeW_Call null reader name");
|
WLog_Print(smartcard->log, WLOG_WARN, "GetStatusChangeW_Call null reader name");
|
||||||
return STATUS_INVALID_PARAMETER;
|
return STATUS_INVALID_PARAMETER;
|
||||||
}
|
}
|
||||||
|
|
||||||
ConvertFromUnicode(CP_UTF8, 0, readerState->szReader, -1,
|
|
||||||
(char**) &(szReader), 0, NULL, NULL);
|
|
||||||
if (strcmp(szReader, "\\\\?PnP?\\Notification") == 0) {
|
|
||||||
readerState->dwCurrentState |= SCARD_STATE_IGNORE;
|
|
||||||
}
|
|
||||||
free(szReader);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1938,12 +1930,6 @@ UINT32 smartcard_unpack_control_call(SMARTCARD_DEVICE* smartcard, wStream* s, Co
|
|||||||
Stream_Read_UINT32(s, call->fpvOutBufferIsNULL); /* fpvOutBufferIsNULL (4 bytes) */
|
Stream_Read_UINT32(s, call->fpvOutBufferIsNULL); /* fpvOutBufferIsNULL (4 bytes) */
|
||||||
Stream_Read_UINT32(s, call->cbOutBufferSize); /* cbOutBufferSize (4 bytes) */
|
Stream_Read_UINT32(s, call->cbOutBufferSize); /* cbOutBufferSize (4 bytes) */
|
||||||
|
|
||||||
/*if (call->dwControlCode == 0x00310D4C)
|
|
||||||
{
|
|
||||||
printf("Why ?\n");
|
|
||||||
call->dwControlCode = 0x00313538;
|
|
||||||
}*/
|
|
||||||
|
|
||||||
status = smartcard_unpack_redir_scard_context_ref(smartcard, s, &(call->hContext));
|
status = smartcard_unpack_redir_scard_context_ref(smartcard, s, &(call->hContext));
|
||||||
|
|
||||||
if (status)
|
if (status)
|
||||||
|
Loading…
Reference in New Issue
Block a user