The wsreg_add_display_name() function returns a non-zero value if the display name was set correctly; otherwise 0 is returned.
The wsreg_remove_display_name() function returns a non-zero value if the display name was removed; otherwise 0 is returned.
The wsreg_get_display_name() function returns the display name from the specified component if the component has a display name for the specified language code. Otherwise, NULL is returned. The caller must not free the resulting display name.
The wsreg_get_display_languages() function returns a null-terminated array of ISO 639 language codes for which display names have been set into the specified component. If no display names have been set, NULL is returned. It is the caller's responsibility
to release the resulting array, but not the contents of the array.
|