nn::boss::ReconfigureTask Functionnn::Result ReconfigureTask( Task * pTask, TaskPolicy * pPolicy, u8 taskStep = DEFAULT_STEP_ID );
| Name | Description | |
|---|---|---|
| in | pTask | Specifies a registered task. |
| in | pPolicy | Specifies a task policy that contains updated content. |
| in | taskStep | Specifies a task step ID. (May be omitted if there is only one task step to be executed) |
Result values listed below. | Value | Description |
|---|---|
ResultSuccess |
Successfully updated. |
ResultInvalidTaskId |
The task ID pointer is NULL or a zero-length string. |
ResultInvalidPolicy |
The policy information pointer is NULL. |
ResultInvalidTaskPriolity |
The task priority specification is out of range. Confirm that it is in the range of TaskPriority. |
ResultTaskPermissionOutOfRange |
The task permission information is out of range. Confirm that it is in the range of TaskPermission. |
ResultSchedulingPolicyOutOfRange |
The scheduling policy is out of range. Confirm that it is in the range of SchedulingPolicy. |
ResultInvalidTaskTargetDuration |
The task duration is invalid. (This is for future extensibility.) |
ResultTaskNotExist |
The specified task ID was not found. Confirm whether it is registered yet. |
ResultIpcNotSessionInitialized |
The session has not been initialized. This result is returned if this function is called before the Initialize function. Always call the Initialize function first thing when you use the BOSS library. |
| A value other than the above. | Unexpected error (see boss_Result.h for error details). |
Updates the policy of a task previously registered to the library.
CONFIDENTIAL