Kernel Functions for Drivers ldiremoveeventhandler(9F)
NAME
ldiremoveeventhandler - remove an NDI event service call-
back
SYNOPSIS
#include
int ldiremoveeventhandler(ldihandlet lh,
ldicallbackidt id);
INTERFACE LEVEL
Obsolete
PARAMETERS
ldihandlet lh Layered handle representing the dev-
ice for which the event notification
is requested.
ldicallbackidt id Unique system-wide registration ID
returned by
ldiaddeventhandler(9F) upon suc-
cessful registration.
DESCRIPTION
This function is obsolete and is only maintained for compa-
tibility. Use of this function is strongly discouraged. For
equivalent functionality provided by new interfaces, see
ldievregistercallbacks(9F) and
ldievremovecallbacks(9F).
The ldiremoveeventhandler() function removes the callback
handler specified by the registration ID
(ldicallbackidt). Upon successful removal, the callback
handler is removed from the system and is not invoked at the
event occurance.
RETURN VALUES
DISUCES Callback handler removed successfully.
DIFAILURE Failed to remove callback handler.
CONTEXT
This function can be called from user and kernel contexts
only.
SunOS 5.11 Last change: 21 Aug 2007 1
Kernel Functions for Drivers ldiremoveeventhandler(9F)
SEE ALSO
ldievregistercallbacks(9F), ldievremovecallbacks(9F),
ldiaddeventhandler(9F), ldigeteventcookie(9F)
Writing Device Drivers
SunOS 5.11 Last change: 21 Aug 2007 2
|