SVC GET PREFERENCES VALUE
From LIVECHAT Developer Zone Wiki
- SVC_GET_PREFERENCES_VALUE
- Get plugin's property value.
- Parameters
- wParam
- NULL
- lParam
- PreferencesPair * pair
Return values
- API_SUCCESS – property get successfully
- API_ERROR – operation failed
Sample code
PreferencesPair pair = {0};
pair.cbSize = sizeof(PreferencesPair);
pair.plugin_name = name();
pair.control_id = 1000;
if (call(SVC_GET_PREFERENCES_VALUE, 0, (LPARAM) &pair) == API_SUCCESS)
{
::MessageBox(NULL, pair.value, _T("Preference value"), MB_OK);
}
