Gocator API
 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
toolsGoTools object.
typeThe tool type enumerator value representing the type of tool to add.
toolA pointer to the newly added tool.
Returns
Operation status.