Gocator API

◆ GoTools_AddTool()

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.

DEPRECATED: this API is deprecated as of 4.7.11.72. Use the GoTools_AddToolByName() API instead.

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.