int32_t STDCALL ServicePropertyGetValueBinary(ServiceProperty aProperty, const uint8_t** aData, uint32_t* aLen) { PropertyBinary* prop = reinterpret_cast<PropertyBinary*>(aProperty); ASSERT(prop != NULL); int32_t err = 0; try { Brh val(prop->Value()); *aLen = val.Bytes(); *aData = (const uint8_t*)val.Extract(); } catch (PropertyError&) { err = -1; } return err; }
void DvProviderAvOpenhomeOrgRadio1C::GetPropertyIdArray(Brh& aValue) { ASSERT(iPropertyIdArray != NULL); aValue.Set(iPropertyIdArray->Value()); }