osGetTaskExitCode function
Declaration:
BOOL osGetTaskExitCode(
  HANDLE Handle,
  ERROR *ExitCode
);
Parameters:
Handle

A handle to the task whose exit code is to be retrieved.

ExitCode

A pointer to a variable that will receive the task's exit code.

Return value:

Returns TRUE on success or FALSE on failure. Use the osGetLastError function to obtain extended error information.

Description:

This function retrieves the exit code of a specified task.

This function is available only when the OS_TASK_EXIT_CODE_FUNC constant is set to 1. If this functionality is not required, it can be disabled to reduce the size of the output code.

Version:1.0
Header file:OS_Task.h (include OS_API.h)
See also: BOOL, ERROR, FALSE, HANDLE, OS_TASK_EXIT_CODE_FUNC, obtaining task exit code, osGetLastError, tasks, TRUE
SpaceShadow documentation