SmartcardRawReply (Windows CE 5.0)
The SmartcardRawReply function transfers the data received from the card to the user buffer.
NTSTATUS SmartcardRawReply(PSMARTCARD_EXTENSION SmartcardExtension);
Parameters
- SmartcardExtension
[in] Points to the smart card extension of the device.
Return Values
SmartcardRawReply returns an NTSTATUS value. Possible values are the following.
Value | Description |
---|---|
STATUS_SUCCESS | Transmission successful. |
STATUS_BUFFER_TOO_SMALL | The user buffer is too small to hold the data. |
Remarks
The driver must store the data coming from the reader into SmartcardExtension->SmartcardReply.Buffer and store the number of bytes returned from the card into SmartcardExtension->SmartcardReply.BufferLength. SmartcardRawReply then checks the validity of the data and copies the buffer back to the user buffer, including the protocol header.
Requirements
OS Versions: Windows CE 3.0 and later.
Header: Smclib.h.
Send Feedback on this topic to the authors