Creates and initializes a property list to contain GeoStan initialization, status, or find properties.
Syntax
GsFunStat GsPropListCreate (Proplist* pProps,
PropListType type);
Arguments
pProps Pointer to property list structure. Input and Output.
type Type of property list. Input.
Return Values
GS_ERROR
GS_SUCCESS
Notes
This function creates/initializes a property list for use in GsInitWithProps() or GsFindWithProps(). Any property list created by this function needs to eventually be destroyed with GsPropListDestroy().
Example
GsFunStat retval;
PropList initProps;
PropList statusProps;
PropList findProps1;
PropList findProps2;
/* For initialization of GeoStan */
GsPropListCreate(&initProps, GS_INIT_PROP_LIST_TYPE);
GsPropListCreate(&statusProps, GS_STATUS_PROP_LIST_TYPE);
/* For standard property default preference */
retval = GsPropListCreate(&findProps1, GS_FIND_PROP_LIST_TYPE);
/* For custom property default preference */
retval = GsPropListCreate(&findProps2, GS_FIND_PROP_LIST_TYPE);