NjxGetState Function

Description

This function returns the current state setting parameter maintained internally by iWnn.

Syntax

#include <mw/iwnn/iwnnCTR.h>

s16 NjxGetState(
     IWNN_CLASS* iwnn,                            // Parsing information class
     IWNN_STATE* state                            // State setting
);

Arguments

NameDescription
IN / OUT IWNN_CLASS* iwnn Parsing information class
An error results if NULL is specified.
OUT IWNN_STATE* state State setting.
Storage location for the state setting.
An error results if NULL is specified.
For setting details, see Section 8.10, State Setting (IWNN_STATE).

Return Value

s16 Negative value: Error
Other: Normal exit

Error Code Description of Error
NJ_ERR_PARAM_ENVIRONMENT_NULL A NULL pointer was specified for iwnn
NJ_ERR_PARAM_STATE_NULL A NULL pointer was specified for state

CONFIDENTIAL