NWDSItrDestroy

Destroys the iterator object and frees all associated memory.

Local Servers:blocking
Remote Servers:blocking
NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform NDS (NET*.*)
Service:NDS Iterator

Syntax

  #include <nwnet.h> 
  or 
  #include <nwitr.h> 
   
  NWDSCCODE  NWDSItrDestroy ( 
     nuint_ptr   Iterator);
  

Parameters

Iterator

(IN) Specifies the iterator object.

Return Values

0x0000 0000

SUCCESSFUL

ERR_ITR_INVALID_HANDLE

Indicates the Iterator parameter was not a valid iterator object.

nonzero value

Nonzero values indicate errors. See NDS Return Values (-001 to -799).

NCP Calls

See Also

NWDSItrCreateSearch, NWDSItrCreateList, NWDSItrClone