This macro finds a task with the specified name. The search is not case-sensitive (that is, the kernel does not distinguish uppercase and lowercase letters in task names). You can use this macro in place of FindNamedItem() to find a task.
Arguments
name
The name of the task to find.
Return Value
The macro returns the item number of the task that was found or an error code if an error occurs.