Smart Card Database Query Functions

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 SCardEstablishContext function 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 module (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 module (DLL) that contains the provider for a given smart card name and the provider type.

See Also

Smart Card Resource Manager

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.