SVC GET REGPROPERTY

From LIVECHAT Developer Zone Wiki

Jump to: navigation, search
SVC_GET_REGPROPERTY (deprecated)
Get plugin's property value stored in the registry.


Comment

Service deprecated. Use SVC_GET_PROPERTY instead.


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