nn::ndm::Suspend Function

Syntax

Result Suspend(
     DaemonName name
);

Arguments

Name Description
in name Specifies the target daemon.

Return Values

Returns a value that indicates whether the function succeeded.

Value Description
ResultAlreadySuspended The suspend count managed for each process is invalid. This error does not normally occur.
ResultInvalidOperation There are too many suspend operations.

Description

Suspends autonomous operation of the network daemon.

Returns processing without waiting for the suspend to complete. The requests to stop a daemon are managed by a counter, so they can be nested. There is an independent counter value for each process.
If any other processes have suspended the daemon, it will not run autonomously until all processes that have suspended it have lifted their suspensions or have ended.
Even when all daemons are suspended, the operations to search for access points and connect automatically will not stop. Use the SuspendScheduler function to completely stop all background operations, including automatic connections.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL