이 함수는 지정된 연결에 대한 대상 노드의 입력 터미널 이름을 리턴합니다.
CciSize cciGetTargetTerminalName (int* returnCode, CciConnection* connection, CciChar* value, CciSize length);
제공된 버퍼가 노드의 이름을 저장할 만큼 크지 않습니다.
void myPropagatedMessageCallback( CciDataContext* userContext, CciMessage* message, CciMessage* localEnvironment, CciMessage* exceptionList, CciMessage* environment, CciConnection* connection){ int rc = CCI_SUCCESS; CciChar targetTerminalName[initialStringBufferLength]; cciGetTargetTerminalName(&rc, connection, targetTerminalName, initialStringBufferLength); /*you should now check the rc for unexpected values*/ /*if rc is CCI_BUFFER_TOO_SMALL then you should resize and retry*/