SVC REMOVE PREFERENCES VALUE

From LIVECHAT Developer Zone Wiki

Jump to: navigation, search
SVC_REMOVE_PREFERENCES_VALUE
Removes plugin's combo box and radio buttons optional values.


Parameters
wParam
NULL
lParam
PreferencesPair * pair


Return values

  • Returns API_ERROR if operation failed otherwise API_SUCCESS


Remarks
If you want to set new values(when you change language, for instance) for combo box control or radio buttons control, you have to remove old values of these controls first.


Sample code

	PreferencesPair pair = {0};	
	pair.cbSize = sizeof(PreferencesPair);
	pair.plugin_name = name();
	pair.control_id = 1000;

	call(SVC_REMOVE_PREFERENCES_VALUE, 0, (LPARAM) &pair);
Personal tools