The wsreg_add_required_component() function returns a non-zero value if the specified required component was successfully added. Otherwise, 0 is returned.
The wsreg_remove_required_component() function returns a non-zero value if the specified required component was successfully removed. Otherwise, 0 is returned.
The wsreg_get_required_components() function returns a null-terminated array of Wsreg_component pointers that represents the specified component's list of required components. If the specified component has no required components, NULL is returned. The resulting array must be released by the caller through a call to wsreg_free_component_array(). See wsreg_create_component(3WSREG).
|