API 설명서 > Parameters and relations > Object ProParameter > Function ProParameterIsEnumerated
Function ProParameterIsEnumerated
Description
Identifies if a parameter is enumerated, and provides the values that may be assigned to it.
Replacement in Object TOOLKIT:
Synopsis
#include <ProParameter.h>
ProParameterIsEnumerated
(
/* (In)
The parameter.
*/
ProBoolean* is_enumerated
/* (Out)
PRO_B_TRUE if the parameter is enumerated, PRO_B_FALSE if it is not.
*/
ProParamvalue** valid_values
/* (Out)
ProArray of values that may be assigned to this parameter. Free this output using ProArrayFree(). Pass NULL if you are not interested in this output argument.
*/
)
Returns
PRO_TK_NO_ERRORS
The function succeded.
One or more arguments is invalid.
Sample Code References
User Guide References
도움이 되셨나요?