hu_UninitSbg56()

Uninitializes the module.

Synopsis:

#include "hugse56.h"
 
int hu_UninitSbg56(sb_GlobalCtx sbCtx)

Arguments:

sbCtx

A global context.

Library:

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

Description:

This function can be used to reset the module to the SBG56_STATE_INSTALLED.

The function may not be called if the module is in the SBG56_STATE_INSTALLED state. Calling this function from this state will result in an error being returned.

Care must be used when calling this function. If the module has entered the SBG56_STATE_DISABLED state, it usually indicates a serious error. Any applications using the module should be terminated and the module should be reinstalled.

This function is not thread safe and should not be called if any other threads are using the module.

Returns:

SB_FAIL_LIBRARY_NOT_INIT

The module is not initialized.

SB_SUCCESS

Success.