nn::boss::TaskPolicy::Initialize Member Function

Syntax

nn::Result Initialize(
     TaskPriority priority,
     u32 interval,
     u32 count
);

Arguments

Name Description
in priority Specifies a task's execution priority.
in interval Specifies the execution interval for a task. The units are hours. (Values from 1 hour to 168 hours are valid.)
in count Specifies the remaining execution count for a task.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.

Value Description
Result::IsSuccess Initialization successful.
A value other than the above. Unexpected error (see boss_Result.h for error details).

Description

Configures the policy settings.


CONFIDENTIAL