|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
The SmartcardT1Replyfunction copies data from the receive buffer to the user buffer and checks the T=1 protocol status.
NTSTATUS SmartcardT1Reply( PSMARTCARD_EXTENSION SmartcardExtension );
SmartcardT1Replyreturns an NTSTATUS value. Possible values are the following.
|STATUS_DEVICE_PROTOCOL_ERROR||Too many transmission errors.|
|STATUS_BUFFER_TOO_SMALL||The user buffer is too small to hold the data.|
|STATUS_MORE_PROCESSING_REQUIRED||The protocol requires additional transmissions.|
SmartcardT1Replymust be called after the driver has received data coming from the smart card. The driver must store received smart card data in SmartcardExtension->SmartcardReply.Bufferand the number of received bytes in SmartcardExtension->SmartcardReply.BufferLength. SmartcardT1Replychecks the protocol status and copies any smart card data to the user buffer. If the transmission is not yet finished, SmartcardT1Replyreturns STATUS_MORE_PROCESSING_REQUIRED, indicating the necessity to call SmartcardT1Requestagain, which sets up a new buffer to be sent to the smart card.
|Runs on||Versions||Defined in||Include||Link to|
|Windows CE OS||3.0 and later|
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
Last updated on Tuesday, July 13, 2004