ami_ParameterAddLegal() Function Declaration ami_Error ami_ParameterAddLegal( ami_Session inAmiSession, ami_Parameter inAmiParm, const void * inpData ); Purpose Adds a legal choice for the specified parameter. Remarks Legal value choices can be enforced and displayed by the managing application. If legal value choices are specified for a parameter, no other values are permitted. For a specified object, set only one of either choice or legal values. If both are set, the legal value takes precedence. Parameters Parameter Description inAmiSession Handle of AMI session. inAmiParm Handle of AMI parameter. inpData Legal choice value.