stm_r_xx_user_type Function Type stm_id For Elements data-item di field fd local data ld subroutine parameter sp user-defined type dt Description Returns the user-defined type ID referenced by the element. You can call this function without indicating the specific element type: stm_r_user_type (id, &status) Syntax stm_r_xx_user_type (xx_id, &status) Arguments Argument Input/Output Type Description xx_id In stm_id The element ID. status Out int The function status code. Status Codes ● stm_success ● stm_id_out_of_range ● stm_id_not_found ● stm_missing_user_type ● stm_success ● stm_ntc_name ● stm_ntc_synonym ● stm_ntc_unknown
data-item
di
field
fd
local data
ld
subroutine
parameter
sp
user-defined type
dt
stm_r_user_type (id, &status)
xx_id
stm_id
status
int
stm_success
stm_id_out_of_range
stm_id_not_found
stm_missing_user_type
stm_ntc_name
stm_ntc_synonym
stm_ntc_unknown