LudovicRousseau / PCSC

pcsc-lite: PC/SC implementation
https://pcsclite.apdu.fr/
Other
268 stars 109 forks source link

Error symbol SCARD_E_UNKNOWN_RES_MNG should be SCARD_E_UNKNOWN_RES_MSG #169

Closed rhoog-ine closed 8 months ago

rhoog-ine commented 8 months ago

Versions

Latest source code

Issue

Symbol mismatch between pcsc-lite and Winscard

Description

In the file pcsclite.h.in on line 195, there is a symbol SCARD_E_UNKNOWN_RES_MNG defined, but in ms-rdpesc, the symbol is called SCARD_E_UNKNOWN_RES_MSG. It seems you converted the part of the pcsclite.h.in from a similar source, so a typo from your part is unlikely. Maybe Microsoft had a typo in the past and they corrected it. Maybe the best way forward is to define both symbols with the same value for 'bugward-compatibility'.

LudovicRousseau commented 8 months ago

Thanks