2013/6/21 Anand Renju <[email protected]>:
> Hi,

Hello,

> In Windows we get 0x31520 for CM_IOCTL_GET_FEATURE_REQUEST control code and
> it is not same as in Linux pcsc-lite. In Linux we expect the 3400 decimal
> value or 0xd48.
>
> Do we have any macros as part of pcsc-lite dev package to convert Windows
> control code to the pcsc-lite version

pcsc-lite do not manage Windows values.
The symbolic names often gives the same values but not always.

CM_IOCTL_GET_FEATURE_REQUEST is defined in PCSC/reader.h

> or do we need to convert this like rdesktop does
>
> control_code = (control_code & 0x3ffc) >> 2;
>
> control_code = SCARD_CTL_CODE(control_code);

Yes. Something like that.

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Muscle mailing list
[email protected]
http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com

Reply via email to