Partager via


SmartcardRawReply (Windows Embedded CE 6.0)

1/6/2010

The SmartcardRawReply function transfers the data received from the card to the user buffer.

Syntax

NTSTATUS SmartcardRawReply(
  PSMARTCARD_EXTENSION SmartcardExtension
);

Parameters

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

Return Value

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 the Buffer member of the SmartcardReply member of the SMARTCARD_EXTENSION structure pointed to by SmartcardExtension, and it must store the number of bytes returned from the card into the BufferLength member of the SmartcardReply member of this structure. SmartcardRawReply then checks the validity of the data and copies the buffer back to the user buffer, including the protocol header.

Requirements

Header smclib.h
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Smart Card Driver Functions