rifContextSetInfo

Sets context information.

rif_int rifContextSetInfo(

rif_context context,

rif_context_info context_info,

const void * data);

Parameters

Parameter

Input/Output

Description

context

input

A valid context object.

context_info

input

Context information to be written.

data

output

A memory pointer to write the requested information to.

Return

Returns RIF_SUCCESS if the function is executed successfully, or RIF_ERROR code if a problem is encountered.

Errors

Possible error codes:

  • RIF_ERROR_INVALID_CONTEXT - context is not a valid context object.

  • RIF_ERROR_INVALID_PARAMETER - the value of context_info is invalid.