SRM Reference Manual
Functions
SRM EnumNameToRDCode
extern SRM_Status_Code
SRM_EnumNameToRDCode
(
constchar *enum_name_in_ptr, (notes)
SRM_RD_Code *result_out_ptr (notes)
);

Definition

Retrieves the SRM_RD_Code corresponding to the given string.


Returns

SRM_STAT_CODE_SUCCESS SRM_STAT_CODE_SUCCESS and *result_out_ptr is set appropriately, if valid parameters were passed in and all operations succeeded.
SRM_STAT_CODE_INACTIONABLE SRM_STAT_CODE_INACTIONABLE and no changes are made, if any parameter was NULL or if enum_name_in_ptr doesn't correspond to an enumerant.

Parameters Notes


enum_name_in_ptr

 enumerant name to be processed

result_out_ptr

 pointer to a variable in the user's memory space
   where the result will be stored.


Prev: SRM_EnumNameToPolarAspect. Next: SRM_EnumNameToSRFCode. Up:Index.

Last updated: August 23, 2005 Copyright © 2005 SEDRIS