sc_context_create_extended()

Create an extended functionality context.

Synopsis:

#include <smartcard/sc_smart_card.h>
 
sc_response_code_t sc_context_create_extended(sc_context_t **context)

Since:

BlackBerry 10.2.0

Arguments:

context

The created smart card context. This value cannot be NULL.

Library:

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

Description:

This function is similar to sc_create_context() in that it creates a new context with extended functionality. The extended functionality context provides functionality for using extended smart card services. This functionality is protected by the _sys_access_extended_smartcard_functionality system capability.

When this instance is no longer required, use sc_context_destroy() to free the memory allocated for this context.

Returns:

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