mmr_async_context_create()

Asynchronously create a context.

Synopsis:

#include <mm/renderer/async.h>
 
mmr_context_t* mmr_async_context_create(mmr_connection_t *connection,
                                        void *udata,
                                        const char *name,
                                        unsigned flags,
                                        mode_t mode)

Since:

BlackBerry 10.3.0

Arguments:

connection

An mm-renderer connection handle.

udata

User data to be returned with the result.

name

The name of the context.

flags

Must be zero. No flags are defined for now.

mode

File permission flags for the new context directory.

Library:

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

Description:

Send a request to create a context and return a handle.

Returns:

A handle on success, or a null pointer on failure (check errno).