NCDSetIfConfig

C Specification

#include <revolution/ncd.h>
s32     NCDSetIfConfig( const NCDIfConfig* ifconfig );

Description

Temporarily changes the network interface-related settings. These temporary changes are not reflected in the network settings saved in the Wii console NAND memory.

No modifications can be made when the network interface is in use after calling the SOStartup function and others. Call this function after exiting the libraries that are using the network interface.

This function is designed for developmental purposes and must not be used in retail products. Make sure this function is not linked in the commercial version of the ROM.

Arguments

ifconfig Pointer to the network interface settings structure.

Return Values

Returns 0 if successful; otherwise, returns a negative value. See NCD API Error Values for the meaning of negative values.

See Also

NCDGetCurrentIfConfig

Revision History

2007/08/01 Standardized terminology.
2007/06/21 Noted that this function is for development use.
2006/08/14 Added 'See Also.'
2006/08/09 Initial version.


CONFIDENTIAL