Microsoft Windows CE 3.0  

SmartcardT1Reply

Important:
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
);

Parameters

SmartcardExtension
Points to the smart card extension of the device.

Return Values

SmartcardT1Replyreturns an NTSTATUS value. Possible values are the following.

Value Meaning
STATUS_SUCCESS Transmission successful.
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.

Remarks

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.

Requirements

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

© 2004 Microsoft Corporation. All rights reserved.