Previous | Next |
SCARD_E_INVALID_HANDLE | SCARD_E_INVALID_TARGET |
SCARD_E_INVALID_PARAMETER
SCARD_E_INVALID_PARAMETER (0x80100004) error can be retruned by various Smart Card API functions to indicate that one or more parameters have not correct value. For example, 0x80100004 can be returned by CardAuthenticatePin if value of pbPin is NULL.
Smart Card API
Smart cards interface to the Microsoft Smart Card Base Cryptographic Service Provider (CSP) or to the Crypto Next Generation (CNG) Key Storage Provider (KSP) through a minidriver.
Smart card vendors can write smart card minidrivers to present a consistent interface for their smart card type to the CSP or the CNG KSP and to the Smart Card Management Interface. These card minidrivers plug in to the Windows operating system code. The scope of functionality in a card minidriver is narrowly and carefully defined so that the card-dependent code is simple to implement and easy to verify functionally.
The Smart Card API is intended for smart card vendors who develop interchangeable plug-in components in which smart card specific implementation details are handled entirely within vendor-supplied smart card minidrivers, and the appropriately abstracted interface is presented to the CSP or KSP.
Microsoft Base Smart Card Cryptographic Service Provider
The Microsoft Base Smart Card Cryptographic Service Provider is a cryptographic service provider (CSP) that provides all of the functionality of the Microsoft Strong Cryptographic Provider.
The Microsoft Base Smart Card Cryptographic Service Provider communicates with individual smart cards by using Smart Card Modules, which translate the characteristics of particular smart cards into a uniform interface. For information about the Microsoft Base Smart Card Cryptographic Service Provider architecture, see Smart Card Architecture.
The Microsoft Base Smart Card Cryptographic Service Provider is available from Windows Update in the file Basecsp.dll.
For information about cryptographic service providers, see Cryptographic Service Providers.
About “What is” service
Many users are faced with the problem of interpreting errors that occur during the work of operating systems. In some cases, the operating system reports that an error has occurred and displays only an integer error code value. Often it is difficult to even roughly understand the cause of the error from the information given out. Our “what is” service contains a database of errors in Windows, Linux, Macos and Solaris operating systems. The database contains tens of thousands of values. In particular, errors returned by Microsoft Smart Card API functions like SCARD_E_INVALID_PARAMETER.