Gocator API

- Home
- Types
- Files

All Classes Files Functions Variables Typedefs Macros Modules Pages

kStatus GoTools_AddTool | ( | GoTools | tools,
|  | GoToolType | type,
|  | GoTool * | tool
| ) |  |

Adds a tool and returns a handle to it.

NOTE: This function will always succeed, but the tool handle will be null if passed in and an error occurs.

Version
  Introduced in firmware 4.0.10.27

Parameters

  tools | GoTools object.
  type | The tool type enumerator value representing the type of tool to add.
  tool | A pointer to the newly added tool.

Returns
  Operation status.