HandleChangeCustomPropertyDataValueWithQualifier
Tells the property the data value is changing.
Declaration
virtual kern_return_t HandleChangeCustomPropertyDataValueWithQualifier(OSObject *in_qualifier_data, OSObject *in_data);Parameters
- in_qualifier_data:
The qualifier data Osobject associated with setting the property data value. This can be an Osstring, Osdictionary, or
NULL. - in_data:
An Osobject to set as the custom property value.
Return Value
kIOReturnSuccess on success, or another value if an error occurs. For a list of error codes, see Error Codes.
Discussion
The default implementation sets the value and returns kIOReturnSuccess, without checking the qualifier data. Subclass and override this method to handle changes to the custom property and return kIOReturnSuccess upon success.