Gocator API
|
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.
tools | GoTools object. |
type | The tool type enumerator value representing the type of tool to add. |
tool | A pointer to the newly added tool. |