hu_GlobalCtxCreateDefault()

Creates a global context initialized with default implementations for callback functions.

Synopsis:

#include "huctx.h"
 
int hu_GlobalCtxCreateDefault(sb_GlobalCtx *sbCtx)

Since:

BlackBerry 10.0.0

Arguments:

sbCtx

The global context pointer.

Library:

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

Description:

Returns:

SB_ERR_NULL_GLOBAL_CTX_PTR

The global context pointer is NULL.

SB_FAIL_ALLOC

Memory allocation failure.

SB_SUCCESS

Success.