Writes the filter information for the list to the specified key in the Windows® registry. The key name must previously have been set using the CWBSO_SetListProfile API. This API should be called before deleting the list. This will save any filter criteria that was changed by the user during the CWBSO_DisplayList API. Filter information is saved in the registry by iSeries™ system and by type of list. For example, if your application accesses objects from two different iSeries systems, and displays all four types of lists, you would have eight different sections in the registry that specify filter information.
unsigned int CWB_ENTRY CWBSO_WriteListProfile( CWBSO_LIST_HANDLE listHandle, CWBSO_ERR_HANDLE errorHandle);
The following list shows common return values.
CWBSO_CreateListHandle must be called prior to calling this API. The list handle that is returned by CWBSO_CreateListHandle must be passed as input to this API. CWBSO_SetListProfile must be called prior to calling this API.