---
title: GetCustomPropertyValueWithQualifier
framework: VideoDriverKit
role: symbol
role_heading: Instance Method
platforms: [driverkit 27.0+]
path: videodriverkit/iouservideocustomproperty/getcustompropertyvaluewithqualifier
---

# GetCustomPropertyValueWithQualifier

Gets the custom property value for a given qualifier.

## Declaration

```occ
virtual kern_return_t GetCustomPropertyValueWithQualifier(OSObject *in_qualifier_data, OSObject **out_data);
```

## Parameters

- `in_qualifier_data`: The OSObject that is used to qualify the custom property data value. in_qualifier_data can be a nullptr if custom property value does not require qualifier data.
- `out_data`: Returned OSObject that is retained and to be released by the caller.

## Return Value

Return Value kIOReturnSuccess on success.

## Discussion

Discussion The base class returns the custom property value set on the object without looking at contents of the qualifier data. If the value returned is dependent on qualfier, subclass IOUserVideoCustomProperty and override this method.

## See Also

### Accessing the data value

- [SetQualifierAndDataValue](videodriverkit/iouservideocustomproperty/setqualifieranddatavalue.md)
- [GetCustomPropertyInfo](videodriverkit/iouservideocustomproperty/getcustompropertyinfo.md)
- [IOUserVideoCustomPropertyInfo](videodriverkit/videodriverkit/iouservideocustompropertyinfo.md)
