MPGetTaskInfo

Syntax

#include <cafe/mp.h>

BOOL MPGetTaskInfo(MPTask* task, MPTaskInfo* tinfo);

Parameters

task MPTask for which to retrieve the MPTaskInfo.
tinfo Output of MPTaskInfo for the specified MPTask. Only valid if the function result is TRUE.

Return Values

TRUE: returns the MPTaskInfo for the current task.
FALSE: unable to return the MPTaskInfo for the specified MPTask.

Description

Returns information about the specified task.

Do Not Call From

Multiple threads This function is not thread-safe.

See Also

MPGetTaskUserData
MPInitTask
MPRunTask
MPTermTask

Revision History

2013-05-08 Automated cleanup pass.
2012-05-14 Fixed See Also.
2012-05-04 Matched the actual prototype.
2010-08-23 Initial version.


CONFIDENTIAL