Gets the name of the target syntax element. The syntax element name will have been set previously using cniSetElementName or cpiSetElementName.
Ccisize cpiElementName( int* returnCode, CciElement* targetElement, const CciChar* value, CciSize length);
If successful, the element name is copied into the supplied buffer and the number of CciChar characters copied is returned. If the buffer is not large enough to contain the element name, returnCode is set to CCI_BUFFER_TOO_SMALL and the number of characters required is returned. For any other failures, CCI_FAILURE is returned and returnCode indicates the reason for the error.
cpiElementName(&rc;, element, (CciChar*)&elementName;, sizeof(elementName));
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
as08430_ |