NWDSEUnRegisterForEvent

Unregisters a callback that has been registered to be called when a specified eDirectory event occurs.

Local Servers:blocking
Remote Servers:N/A
Classification:4.x, 5.x, 6.x
Platform:NLM
Service:eDirectory Event

Syntax

    #include <nwdsdsa.h> 
    #include <nwdsevnt.h> 
     
    N_EXTERN_LIBRARY (NWDSCCODE)  NWDSEUnRegisterForEvent  ( 
       nint       priority,  
       nuint32    type,  
       nint     (*handler) ( 
           nuint32   type,  
           nuint     size,  
           nptr     *data));
    

Parameters

priority
(IN) Specifies the state for which the eDirectory event reporting was registered (see Section 5.1, Event Priorities).
type
(IN) Specifies the type of the event for which the callback was registered (see Section 5.2, Event Types).
handler
(IN) Points to the function that was registered to be used as a callback when the event occurred.

Return Values

0x0000

Successful

Negative Value

Negative values indicate errors. For error values, see NDS Return Values (NDK: Novell eDirectory Core Services).

Remarks

For more details about the parameters for this function, see NWDSERegisterForEvent and NWDSERegisterForEventWithResult.

See Also

NWDSERegisterForEvent, NWDSERegisterForEventWithResult