Retrieve a list of all available smart card readers.
#include <smartcard/sc_smart_card.h>
sc_response_code_t sc_list_readers(sc_context_t *context,
sc_reader_name_t *readers,
size_t *num_readers)
BlackBerry 10.2.0
The active smart card context. This value cannot be NULL.
The reader array to be used to write all the available readers to. If NULL, only the number of available smart card readers is retrieved.
On input, this value indicates the number of elements in the readers array. On output, the value contains the number of reader names that have been written to the readers array. This value cannot be NULL.
SC_SCARD_S_SUCCESS upon success, an error code otherwise. See sc_response_code_t for defined error codes.