bool DvProvider::SetPropertyBinary(PropertyBinary& aProperty, const Brx& aValue) { if (aProperty.SetValue(aValue)) { TryPublishUpdate(); return true; } return false; }
uint32_t STDCALL ServicePropertySetValueBinary(ServiceProperty aProperty, uint8_t* aValue, uint32_t aLen) { PropertyBinary* prop = reinterpret_cast<PropertyBinary*>(aProperty); ASSERT(prop != NULL); Brh data; data.Set(aValue, aLen); if (prop->SetValue(data)) { return 1; } return 0; }