UINT32 szReaderNdrPtr;
UINT32 rgReaderStatesNdrPtr;
LPSCARD_READERSTATEW readerState;
- char *szReader = NULL;
call->rgReaderStates = NULL;
WLog_Print(smartcard->log, WLOG_WARN, "GetStatusChangeW_Call null reader name");
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);
}
}
Stream_Read_UINT32(s, call->fpvOutBufferIsNULL); /* fpvOutBufferIsNULL (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));
if (status)