NPA_Unregister_With_EventBus

Deregisters a procedure previously invoked with NPA_Register_With_EventBus.

Thread Context:Blocking

Syntax

    LONG NPA_Unregister_With_EventBus (
       LONG   npaHandle,
       LONG   registrationHandle
       );
    
    

Parameters

npaHandle
(IN) The CDM's or HAM's handle for using the NPA APIs. Its value was assigned during NPA_Register_CDM_Module or NPA_Register_HAM_Module, respectively.
registrationHandle
(IN) This is the handle received when registering this event with NPA_Register_With_EventBus.

Return Values

The following table lists return values and descriptions.

0

The deregistration was successful.

-1

INVALID_PARAMETER The supplied registrationHandle was invalid.

Remarks

NPA_Unregister_With_EventBus removes a producer or consumer from the Novell Event Bus. This must be done when deregistering a module.