nn::ndm::Finalize Function

Syntax

Result Finalize(
     void
);

Arguments

None.

Return Values

Returns a value that indicates whether the function succeeded.

Value Description
ResultNotInitialized Not initialized.

Description

Finalizes the network daemon control library.

When the library is finalized, all suspensions by SuspendScheduler, SuspendDaemons, and similar functions are canceled. However, they are canceled only when the internal counters become 0 and the actual internal finalization process is performed. If Initialize has been called multiple times, finalization is not performed until Finalize has been called the same number of times. In some cases Initialize will have been called internally by other libraries, so before you call Finalize make sure to use ResumeScheduler, ResumeDaemons, or a similar function to explicitly cancel all active suspensions. Also note that when the application is finalized, library finalization is performed automatically.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL