nn::ndm::Suspend FunctionResult Suspend( DaemonName name );
| Name | Description | |
|---|---|---|
| in | name | Specifies the target daemon. |
| 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. |
Suspends autonomous operation of a network daemon.
Returns control without waiting for the suspension to complete. The requests to suspend 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.
Suspending all daemons does not suspend the operation of searching for access points and automatically connecting. Use SuspendScheduler to completely suspend all background operations including automatic connections, or to synchronize operations to the completion of the suspension.
CONFIDENTIAL