3.1.4.1.7 Tasks

GetTaskDetail:  Before invoking GetTaskDetail, the client MUST invoke EnumTasks to retrieve the task ID. The client MUST pass this returned value as the ID input parameters to the GetTaskDetail method. The EnumTasks method returns this value as the TASK_INFO::id structure member.

AbortTask: For call sequencing related to the ID input parameter, see GetTaskDetail. The client MUST use the preceding call sequence description for GetTaskDetail, except that in the final step it MUST use AbortTask rather than GetTaskDetail.