ihuUserDefinedTypeAdd
Use the ihuUserDefineTypeAdd
function to create or add MultiField
type tags. The user-defined type you pass to this function can have multiple fields defined, or you can add fields later by using ihUserDefinedTypeSetProperties().
You can also use this function to modify user-defined data types. To modify an existing type, add a user-defined data type with the same name.
Prototype
ihuUserDefinedTypeAdd
(
long serverhandle, // [in] connected server handle
ihuUserDefinedTypeProperties *InUserDefinedType //[in] UserDefined type that needs to be added / modified
)
Remarks
Existing types are overwritten by new types with the same names. You must be a member of the ihTag Admin group to add or modify a type.
Returns
-
ihuSTATUS_OK
: on success ihuSTATUS_INVALID_PARAMETER
:NULL
value or invalid server handleihuSTATUS_FAILED
: on any error