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

# SetQualifierAndDataValue

Sets the custom property’s data value.

```
kern_return_t SetQualifierAndDataValue(OSObject *in_qualifier_data, OSObject *in_data);
```

## Parameters

`in_qualifier_data`

The qualifier data OSObject for the custom property that corresponds to the data value.
Must be nullptr if qualifier data type is CustomPropertyDataTypeNone.
Must be an OSString if qualifier data type is CustomPropertyDataTypeOSString.
Must be an OSDictionary if qualifier data type is CustomPropertyDataTypeOSDictionary.

`in_data`

The data OSObject for the custom property that corresponds to the qualifier.
Must be an OSString if data type is CustomPropertyDataTypeOSString.
Must be an OSDictionary if data type is CustomPropertyDataTypeOSDictionary.
Value cannot be a nullptr.

## Return Value

`kIOReturnSuccess` on success.

---

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)