ddi_remove_event_handler - remove an NDI event service callback handler
#include <sys/dditypes.h> #include <sys/sunddi.h> int ddi_remove_event_handler(ddi_registration_id_t id);
Solaris DDI specific (Solaris DDI).
ddi_registration_id_t id
The ddi_remove_event_handler() function removes the callback handler specified by the registration id (ddi_registration_id_t). Upon successful removal, the callback handler is removed from the system and will not be invoked in the face of the event.
DDI_SUCCESS
DDI_FAILURE
The ddi_remove_event_handler() function can be called from user and kernel contexts only.
See attributes(5) for a description of the following attributes:
|
attributes(5), ddi_add_event_handler(9F), ddi_get_eventcookie(9F)
Device drivers must remove all registered callback handlers before detach(9E) processing for that device instance is complete.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |