You can use FNC_GetStructuredAttributeInfo but it truncates a retrieved object name after 30 characters. Use FNC_GetStructuredAttributeInfo_EON instead of FNC_GetStructuredAttributeInfo for longer object names.
You can use FNC_GetStructuredAttributeInfo to get information about the attributes of any structured UDT, including dynamic UDTs that are defined as input parameters to UDFs.