sc_context_create()

Create a new smart card context that is used to describe the environment within which individual smart card operations are performed.

Synopsis:

#include <smartcard/sc_smart_card.h>
 
sc_response_code_t sc_context_create(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:

To use smart card operations an application must create a smart card context. When the context is no longer needed, use sc_context_destroy() to free the resources allocated for this context.

Returns:

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

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus