Share via


Smart Card Driver IOCTLs (Windows Embedded CE 6.0)

1/6/2010

The following table shows the smart card reader driver IOCTLs with a description of the purpose of each.

Programming element Description

IOCTL_SMARTCARD_CANCEL_BLOCKING

This code cancels any calls to the smart card reader driver's XXX_IOControl (Device Manager) call that are blocking, such as IOCTL_SMARTCARD_IS_ABSENT and IOCTL_SMARTCARD_IS_PRESENT.

IOCTL_SMARTCARD_EJECT

This code requests a smart card reader driver to eject the currently inserted smart card from the smart card reader.

IOCTL_SMARTCARD_GET_ATTRIBUTE

This code queries smart card and smart card reader attributes.

IOCTL_SMARTCARD_GET_STATE

This code retrieves the current status of the smart card reader.

IOCTL_SMARTCARD_IS_ABSENT

This code is used to wait for card removal.

IOCTL_SMARTCARD_IS_PRESENT

This code is used to wait for card insertion.

IOCTL_SMARTCARD_POWER

This code is used to issue various power operations on a smart card.

IOCTL_SMARTCARD_RESET_EVENTS

This code is used to clear out any events that may have been set before.

IOCTL_SMARTCARD_SET_ATTRIBUTE

This code sets various attributes in the smart card reader driver.

IOCTL_SMARTCARD_SET_PROTOCOL

This code sets the protocol to be used with the currently inserted card.

IOCTL_SMARTCARD_SWALLOW

This causes the smart card reader to assume there is a non-powered card in the reader and the card is in position for use.

IOCTL_SMARTCARD_TRANSMIT

This code transmits data to and from the currently inserted smart card.

See Also

Other Resources

Smart Card Driver Reference