SRM Reference Manual
Functions
SRM EnumNameToUpDirection
extern SRM_Status_Code
SRM_EnumNameToUpDirection
(
constchar *enum_name_in_ptr, (notes)
SRM_Up_Direction *result_out_ptr (notes)
);

Definition

Retrieves the SRM_Up_Direction 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_EnumNameToStatusCode. Next: SRM_EnumNameToVerticalDatumCode. Up:Index.

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