if (SCARD_E_NO_READERS_AVAILABLE == status.longValue()) {
terminalsList = new ArrayList<GenericTerminal>(0);
return Collections.unmodifiableList(terminalsList);
}
if (SCARD_S_SUCCESS != status.longValue()) {
throw new PcScException(status.intValue());
}
short nativeOut[] = new short[requiredSize.getValue()];
status = nimpPcscDll.NimpSCardListReadersW(new NativeLong(contextId), null, nativeOut, requiredSize);
if (SCARD_S_SUCCESS != status.longValue()) {
throw new PcScException(status.intValue());