Use this function to create an output terminal on an instance of a node object and return the address of the terminal object that was created.
The terminal object is destroyed when its owning node is destroyed. You must call this function only from within the implementation function cniCreateNodeContext.
CciTerminal* cniCreateOutputTerminal(
int* returnCode,
CciNode* nodeObject,
CciChar* name);
If successful, the address of the node terminal object is returned. Otherwise, a value of zero (CCI_NULL_ADDR) is returned.
entry->handle = cniCreateOutputTerminal(
&rc,
context->nodeObject
(CciChar*)terminalName);