sc_reader_state_create()

Create an instance of an sc_reader_state_t.

Synopsis:

#include <smartcard/sc_reader_state.h>
 
sc_response_code_t sc_reader_state_create(sc_reader_state_t **reader_state)

Since:

BlackBerry 10.2.0

Arguments:

reader_state

The created reader state instance. Must not be NULL.

Library:

libscs (For the qcc command, use the -l scs option to link against this library)

Description:

To destroy the instance, use the sc_reader_state_destroy() function.

Returns:

SC_SCARD_S_SUCCESS upon success, an error code otherwise. See sc_response_code_t for error code definitions.