hu_ParamsDestroy()

Destroys a parameter object.

Synopsis:

#include "hupkc.h"
 
int hu_ParamsDestroy(sb_Params *params, sb_GlobalCtx sbCtx)

Since:

BlackBerry 10.0.0

Arguments:

params

The parameters object.

sbCtx

A global context.

Library:

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

Description:

Contexts and key objects must be destroyed before their corresponding parameters object is destroyed.

Returns:

SB_ERR_NULL_PARAMS_PTR

The params object pointer is NULL.

SB_ERR_BAD_PARAMS

The tag for the params object is not of the expected type.

SB_SUCCESS

Success.