Share via


Smart Card Driver Library (Windows Embedded CE 6.0)

1/6/2010

Windows Embedded CE provides a driver library containing a set of routines that standardize most of the functions that a smart card reader driver must perform.

Vendor-supplied smart card reader drivers should call these routines to perform the following actions:

  • Creating device names needed by the Smart Card Resource Manager
  • Checking parameters and detecting errors in IOCTL calls
  • Parsing answer to reset (ATR) strings and converting parameters
  • Supporting the ISO protocols T=0 and T=1
  • Supporting inverse convention
  • Synchronizing access to the driver

For more information on the library routines, see the topic Smart Card Driver Functions.

Additionally, the Smart Card Driver Library processes most of the IOCTL requests that the resource manager sends to the smart card reader driver. For more information about the smart card driver IOCTLs, see Smart Card Driver IOCTLs.

The Smart Card Driver Library consists of the following files.

File Description

%_WINCEROOT%\Public\Common\DDK\Inc\Smclib.h

Contains driver-specific definitions.

%_WINCEROOT%\Public\Common\DDK\Inc\Smcce.h

Contains Windows Embedded CE operating system-specific definitions.

%_WINCEROOT%\Public\Common\SDK\Inc\Winsmcrd.h

Global include file that contains interface definitions for smart card reader driver.

Smclib.lib

The Smart Card Driver Library, which provides common smart card driver support routines and additional T=0 and T=1 protocol support.

See Also

Concepts

Smart Card Driver Development Concepts