nn::boss::RegisterTask Function

Syntax

nn::Result RegisterTask(
     Task * pTask,
     TaskPolicy * pPolicy,
     TaskAction * pAction,
     TaskOption * pOption = NULL,
     u8 taskStep = DEFAULT_STEP_ID
);

Arguments

Name Description
in pTask Specifies a task with a specified task name.
in pPolicy Specifies a task policy.
in pAction Specifies a task action. (The only supported value at present is NsaDownloadAction.)
in pOption Specifies task options. (Optional)
in taskStep Specifies a task step ID. (May be omitted if there is only one task step to be executed)

Return Values

Returns the result of the operation.

Description

Registers a task to the library.

Revision History

2010/09/16
Initial version.

CONFIDENTIAL