Share via


SmartcardT1Reply (Windows CE 5.0)

Send Feedback

The SmartcardT1Reply function copies data from the receive buffer to the user buffer and checks the T=1 protocol status.

NTSTATUS SmartcardT1Reply(PSMARTCARD_EXTENSION SmartcardExtension);

Parameters

  • SmartcardExtension
    [in] Points to the smart card extension of the device.

Return Values

SmartcardT1Reply returns an NTSTATUS value. Possible values are the following.

Value Description
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

SmartcardT1Reply must be called after the driver has received data coming from the smart card. The driver must store received smart card data in SmartcardExtension->SmartcardReply.Buffer and the number of received bytes in *SmartcardExtension->SmartcardReply.BufferLength.*SmartcardT1Reply checks the protocol status and copies any smart card data to the user buffer. If the transmission is not yet finished, SmartcardT1Reply returns STATUS_MORE_PROCESSING_REQUIRED, indicating the necessity to call SmartcardT1Request again, which sets up a new buffer to be sent to the smart card.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Smclib.h.

See Also

SmartcardT1Request

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.