SRM Reference Manual
Functions
SRM EnumNameToVerticalDatumCode
extern SRM_Status_Code
SRM_EnumNameToVerticalDatumCode
(
constchar *enum_name_in_ptr, (notes)
SRM_Vertical_Datum_Code *result_out_ptr (notes)
);

Definition

Retrieves the SRM_Vertical_Datum_Code corresponding to the given string.


Returns

SRM_STAT_CODE_SUCCESS and *result_out_ptr is set appropriately, if valid parameters were passed in and all operations succeeded.
SRM_STAT_CODE_FAILURE 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_EnumNameToUpDirection. Next: SRM_FreeSRFParametersPair. Up:Index.

Last updated: May 15, 2003 Copyright © 2003 SEDRIS™