NPA_Unregister_Event_Notification
Deregisters a notification procedure previously registered with NPA_Register_For_Event_Notification.
LONG NPA_Unregister_Event_Notification ( LONG npaHandle, LONG eventHandle );
The following table lists return values and descriptions.
NPA_Unregister_Event_Notification removes the notification procedure specified in eventHandle from a list of procedures scheduled to be called by the Media Manager prior to (or following) specific system events.
The notification-procedure identifier, eventHandle, is an output parameter of NPA_Register_For_Event_Notification, which is the function used to register the procedure. If a notification procedure was registered, then it must be deregistered prior to the driver being unloaded.