ihuEnumeratedStateModify

Use the ihuEnumeratedStateModify function to modify a state in an enumerated set.

Prototype

ihuEnumeratedStateModify (
  in long serverhandle,
  in MSO Char *EnumeratedSetName,
  in MSO Char *EnumeratedStateName,
  ihuEnumeratedSetState
  in *EnumStateToModify )

Remarks

You can modify state values and names, but not data types. To change a state name, pass the old and new names as string values inside the EnumStateToModify parameter.

Returns

The ihuEnumeratedStateModify function returns ihuSTATUS_OK on success, or returns errors on:

  • Invalid input parameters
  • No set name that matches EnumeratedSetName value
  • No state name that matches EnumeratedStateName value
  • User not a member of ihTag Admin group
Note: Set the Administrator parameter to the ihTag Admin security group to assign the highest precedence to this parameter.