|
ReactOS 0.4.17-dev-1190-g4c812f4
|
#include <uacpi/types.h>

Go to the source code of this file.
| uacpi_status uacpi_install_notify_handler | ( | uacpi_namespace_node * | node, |
| uacpi_notify_handler | handler, | ||
| uacpi_handle | handler_context | ||
| ) |
Install a Notify() handler to a device node. A handler installed to the root node will receive all notifications, even if a device already has a dedicated Notify handler. 'handler_context' is passed to the handler on every invocation.
Definition at line 182 of file notify.c.
| uacpi_status uacpi_uninstall_notify_handler | ( | uacpi_namespace_node * | node, |
| uacpi_notify_handler | handler | ||
| ) |
Uninstall a Notify() handler previously installed to a device node. The handler is guaranteed to not be running, and to never be invoked again once this function returns.
NOTE: this waits for all of the in-flight notifications to complete, and therefore must not be called from a notify handler, any other work scheduled via uacpi_kernel_schedule_work, an address space handler, or with the global lock held.
Definition at line 237 of file notify.c.