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 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.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL