|
The IFDHPowerICC() function controls the power and reset signals of the ICC (smart card) at the reader or slot specified by Lun. The Action parameter can take one of the following values:
-
IFD_POWER_UP
- Power and reset the card. Return the ATR and its length.
-
IFD_POWER_DOWN
- Power down the card. The Atr and AtrLength parameters are set to 0.
-
IFD_RESET
- Perform a quick reset on the card. Return the ATR and its length.
The IFD handler caches the ATR during a power up or reset and returns the ATR and its length in a call to IFDHGetCapabilities(3SMARTCARD).
Memory cards without an ATR return IFD_SUCCESS on power up or reset but Atr and AtrLength are set to 0.
|