Microsoft Windows CE 3.0  


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 SmartcardT0Replyfunction transfers the data received from the card to the user buffer.

NTSTATUS SmartcardT0Reply(


Points to the smart card extension of the device.

Return Values

SmartcardT0Replyreturns an NTSTATUS value. Possible values are the following:

Value Meaning
STATUS_SUCCESS Transmission successful.
STATUS_DEVICE_PROTOCOL_ERROR The card did not return a T=0 status word.
STATUS_BUFFER_TOO_SMALL The user buffer is too small to hold the data.


The driver must store the data coming from the reader into SmartcardExtension->SmartcardReply.Bufferand store the number of bytes returned from the card into SmartcardExtension->SmartcardReply.BufferLength. SmartcardT0Replythen checks the validity of the data and copies the buffer back to the user buffer, including the protocol header. See SmartcardT0Requestfor sample code.


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.