GetCustomPropertyValueWithQualifier
Gets the custom property value for a given qualifier.
Declaration
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
kIOReturnSuccess on success.
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.