Function uacpi_set_interface_query_handler

uacpi_status uacpi_set_interface_query_handler(uacpi_interface_handler)

Description

Set a custom interface query (_OSI) handler.

This callback will be invoked for each _OSI query with the value passed in the _OSI, as well as whether the interface was detected as supported. The callback is able to override the return value dynamically or leave it untouched if desired (e.g. if it simply wants to log something or do internal bookkeeping of some kind).