HLK Apivalidator WinScard

Till Groos 1 Reputation point
2022-08-16T09:31:03.32+00:00

We are currently running tests with the HLK to resubmit a new version of our smart card minidriver. The apivalidator show the following errors:
ApiValidation: Error: filename.dll has unsupported API call to "winscard.dll!SCardBeginTransaction"
ApiValidation: Error: filename.dll has unsupported API call to "winscard.dll!SCardControl"
ApiValidation: Error: filename.dll has unsupported API call to "winscard.dll!SCardEndTransaction"
ApiValidation: Error: filename.dll has unsupported API call to "winscard.dll!SCardGetStatusChangeA"
ApiValidation: Error: filename.dll has unsupported API call to "winscard.dll!SCardReconnect"
ApiValidation: Error: filename.dll has unsupported API call to "winscard.dll!SCardStatusA"
ApiValidation: Error: filename.dll has unsupported API call to "winscard.dll!SCardTransmit"
ApiValidation: Error: filename.dll has unsupported API call to "winscard.dll!g_rgSCardT1Pci"

I tried to link only against onecore.lib but that does not work. I need the winscard calls obviously, how can i get this test to pass?
Any hints what i am missing?

Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,579 questions
{count} votes