FindTask

Finds a task by name.

Synopsis

Item FindTask( const char *name )

Description

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.

Implementation

Macro implemented in task.h V20.

Associated Files

task.h
ANSI C Macro

See Also

CreateThread()