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. (Valid values are from 1 to 168 hours. )
in count Specifies the execution count for a task.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
ResultSuccess Initialization successful.
A value other than the above. Unexpected error (see boss_Result.h for error details).

Description

Configures the policy settings.


CONFIDENTIAL