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'.
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'.