Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

These functions query the smart card database. They can provide a list of smart cards that are supplied by a specific user, the interfaces, and the primary service provider of a specific smart card.

When you use these functions, you can query the complete smart card database, or you can narrow your search by setting the resource manager context. The resource manager context is set by calling the SCardEstablishContextfunction before calling a query function.

Note:
Without a specified context, some information still might be inaccessible, due to security restrictions.

The following table shows the smart card database query functions.

Function Description

SCardGetCardTypeProviderName

Returns the name of the DLL that contains the provider for a given smart card name and the provider type.

SCardGetProviderId

Retrieves the GUID of the primary service provider for the specified smart card.

SCardListCards

Retrieves a list of smart cards that previously were introduced to the system by a specific user.

SCardListInterfaces

Retrieves the GUIDs of the interfaces that were supplied by a specified smart card.

SCardListReaders

Retrieves a list of reader groups that previously were introduced to the system.

SCardSetCardTypeProviderName

Specifies the name of the DLL that contains the provider for a given smart card name and the provider type.

See Also