bool DvProvider::SetPropertyBool(PropertyBool& aProperty, TBool aValue) { if (aProperty.SetValue(aValue)) { TryPublishUpdate(); return true; } return false; }
uint32_t STDCALL ServicePropertySetValueBool(ServiceProperty aProperty, uint32_t aValue) { PropertyBool* prop = reinterpret_cast<PropertyBool*>(aProperty); ASSERT(prop != NULL); TBool val = (aValue != 0); if (prop->SetValue(val)) { return 1; } return 0; }