SCardGetProviderId function winscard
The SCardGetProviderId function returns the identifier (GUID) of the primary service provider for a given card. The caller supplies the name of a smart card (previously introduced to the system) and receives the registered identifier of the primary service provider GUID, if one exists.
LONG SCardGetProviderIdW(
SCARDCONTEXT hContext,
LPCWSTR szCard,
LPGUID pguidProviderId
);
Implementation
int SCardGetProviderId(
int hContext, Pointer<Utf16> szCard, Pointer<GUID> pguidProviderId) =>
_SCardGetProviderId(hContext, szCard, pguidProviderId);