Ludovic Rousseau wrote:
Michael Bender wrote:

My question on this was who controls the error/status return code
name space of PC/SC-lite? Is that us, or is it the PC/SC standards
body?

The winscard error codes (SCARD_E_foobar names) are defined in
"Interoperability Specification for ICCs and Personal Computer
Systems, Part 5. ICC Resource Manager Definition" [1].

Ah, OK thanks, that's the answer I was looking for.

This list is not limited since Windows PC/SC defines some other codes:
#define SCARD_E_CANT_DISPOSE             ((DWORD)0x8010000EL)
#define SCARD_E_CARD_UNSUPPORTED         ((DWORD)0x8010001CL)
#define SCARD_E_DUPLICATE_READER         ((DWORD)0x8010001BL)
#define SCARD_E_INVALID_ATR              ((DWORD)0x80100015L)
#define SCARD_E_INVALID_TARGET           ((DWORD)0x80100005L)
#define SCARD_E_NO_SERVICE               ((DWORD)0x8010001DL)
#define SCARD_E_PCI_TOO_SMALL            ((DWORD)0x80100019L)
#define SCARD_E_READER_UNSUPPORTED       ((DWORD)0x8010001AL)
#define SCARD_E_SERVICE_STOPPED          ((DWORD)0x8010001EL)

I guess pcsc-lite could also define some "non-documented" error codes.
I have no objection adding new error codes if they are reasonable and
used by at least one application.

I agree. In the case that Paul and I are talking about however, I'm
not sure that having a new error code for "invalid display" (or
whatever it turns out to be) is really all that useful, especially
if no applications take advantage of this new code.

I think you do not plan to port the Sun Ray server software on
> Windows? :-)

I am unable to comment on that topic at this time, Ludovic :-)

However, that's not as crazy a question as you may think, since a
lot of customers run our Sun Ray Connector and Sun Global Desktop
and other commercial offerings such as Citrix, to get a Windows
desktop on the Sun Ray/UNIX desktop, and some of those do provide
device access to the Sun Ray smartcard reader via creating a pseudo
reader on the Windows side that gets mapped to a reader on the
Solaris or Linux side (which is using PC/SC-lite).

mike

--
[EMAIL PROTECTED]                         Sun Ray Product Engineering

 I don't speak for my employer. My opinions are not necessarily those of
     Sun Microsystems, Inc. or any of its wholly-owned subsidiaries.
_______________________________________________
Muscle mailing list
Muscle@lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to