SVC GET PROPERTY

From LIVECHAT Developer Zone Wiki

Jump to: navigation, search
SVC_GET_PROPERTY
Get plugin's property value.


Parameters
wParam
NULL
lParam
PairType* pair


Return values

  • Returns API_ERROR if operation failed otherwise API_SUCCESS


Sample code

	PairType pair = {0};
	pair.cbSize = sizeof(PairType);
	pair.key = _T("Sample key");
	
	if (call(SVC_GET_PROPERTY, 0 , (LPARAM) &pair) == API_SUCCESS)
	{
		::MessageBox(NULL, pair.value, _T("Sample value"), MB_OK);
	}
Personal tools