sc_smart_card_id_copy()

Create a copy of an sc_smart_card_id_t instance.

Synopsis:

#include <smartcard/sc_smart_card_id.h>
 
sc_response_code_t sc_smart_card_id_copy(const sc_smart_card_id_t *smart_card_id,                 
                                         sc_smart_card_id_t **smart_card_id_copy)

Since:

BlackBerry 10.2.0

Arguments:

smart_card_id

The sc_smart_card_id_t instance to be copied. This value cannot be NULL.

smart_card_id_copy

The copy of the smart card identifier instance. This value cannot 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_smart_card_id_destroy() function.

Returns:

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