Contents

SetQualifierAndDataValue

Sets the custom property’s data value.

Declaration

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.

See Also

Accessing the data value