NWDSAllocFilter

Allocates a filter expression tree and initializes a cursor to the current insertion point.

NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98, Windows 2000, Windows XP
Library:Cross-Platform NDS (NET*.*)
Service:NDS

Syntax

C

  #include <nwnet.h> 
  or 
  #include <nwdsfilt.h> 
   
  N_EXTERN_LIBRARY (NWDSCCODE)  NWDSAllocFilter  ( 
     ppFilter_Cursor_T    cur);
  

Pascal

  uses netwin32 
   
  Function NWDSAllocFilter 
    (cur : ppFilter_Cursor_T 
  ) : NWDSCCODE;
  

Parameters

cur

(IN/OUT) Points to the current filter-cursor position in the allocated filter.

Return Values

0x0000 0000

SUCCESSFUL

nonzero value

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

Remarks

Search tokens are added to the filter with calls to NWDSAddFilterToken.

NCP Calls

See Also

NWDSAddFilterToken, NWDSDelFilterToken, NWDSFreeFilter, NWDSPutFilter