The wsreg_add_child_component() function returns a non-zero value if the specified child component was successfully added; otherwise, 0 is returned.
The wsreg_remove_child_component() function returns a non-zero value if the specified child component was successfully removed; otherwise, 0 is returned.
The wsreg_get_child_components() function returns a null-terminated array of Wsreg_component pointers that represents the specified component's list of child components. If the specified component has no child 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).
|