nn::uds::CTR::DestroyNetwork Function

Syntax

nn::Result DestroyNetwork(
     void
);

Arguments

None.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
ResultSuccess Destroys the network and transitions to the STATE_DISCONNECTED state.
ResultNotInitialized The library is not initialized. Execute the nn::uds::Initialize function.
ResultInvalidState Not in an executable state. Returned when executed in a state other than master.
ResultWirelessOff Transitioned to wireless OFF mode. Re-initialization is required.
A value other than the above. Failed for reasons other than those given above.

Description

Destroys the network.

All connected clients and spectators are released and the network is destroyed. Only the master can run this function.

Revision History

2010/10/15
Expanded the information on the return values. Revised the Description to make it easier to understand.
2010/06/14
Initial version.

CONFIDENTIAL