Create an invocation structure and allocate all necessary memory.
#include <bps/navigator_invoke.h>
BPS_API int navigator_invoke_invocation_create(navigator_invoke_invocation_t **invocation)
BlackBerry 10.0.0
The navigator_invoke_invocation_t structure to populate.
The navigator_invoke_invocation_create() function creates an instance of a navigator_invoke_invocation_t structure called invocation to be used by the invocation framework. Destroy all invocation instances created through this function once they are no longer needed by using the navigator_invoke_invocation_destroy() function to prevent memory leaks.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.