Kernel Functions for Drivers ddiremoveeventhandler(9F)
NAME
ddiremoveeventhandler - remove an NDI event service call-
back handler
SYNOPSIS
#include
#include
int ddiremoveeventhandler(ddiregistrationidt id);
INTERFACE LEVEL
Solaris DI specific (Solaris DI).
PARAMETERS
ddiregistrationidt id Unique system wide registration
ID return by
ddiaddeventhandler(9F) upon
successful registration.
DESCRIPTION
The ddiremoveeventhandler() function removes the callback
handler specified by the registration id
(ddiregistrationidt). Upon successful removal, the call-
back handler is removed from the system and will not be
invoked in the face of the event.
RETURN VALUES
DISUCES Callback handler removed successfully.
DIFAILURE Failed to remove callback handler.
CONTEXT
The ddiremoveeventhandler() function can be called from
user and kernel contexts only.
ATRIBUTES
See attributes(5) for a description of the following attri-
butes:
SunOS 5.11 Last change: 2 May 2003 1
Kernel Functions for Drivers ddiremoveeventhandler(9F)
ATRIBUTE TYPE ATRIBUTE VALUE
Stability Level Committed
SEE ALSO
attributes(5), ddiaddeventhandler(9F),
ddigeteventcookie(9F)
Writing Device Drivers
NOTES
Device drivers must remove all registered callback handlers
before detach(9E) processing for that device instance is
complete.
SunOS 5.11 Last change: 2 May 2003 2
|