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 ended this way, all suspension operations by SuspendScheduler and SuspendDaemon are canceled. However, cancellation takes place only when the internal counters become 0 and the actual internal finalization process is performed. If Initialize has been called multiple times, the finalization process will not be 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 or ResumeDaemon to explicitly cancel all suspension operations that have been performed to date. When the application ends, the library's finalization process will be performed automatically.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL