<!--
{
  "availability" : [
    "DriverKit: 27.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoDriverKit",
  "identifier" : "/documentation/VideoDriverKit/IOUserVideoCustomProperty/GetCustomPropertyValueWithQualifier",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "VideoDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserVideoCustomProperty@F@GetCustomPropertyValueWithQualifier#*$@S@OSObject#*S0_#"
  },
  "title" : "GetCustomPropertyValueWithQualifier"
}
-->

# GetCustomPropertyValueWithQualifier

Gets the custom property value for a given qualifier.

```
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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)