NWAddSearchPathAtEnd

Adds a search path to the end of the search path list that the OS uses to determine from where it loads NLM applications

Local Servers:blocking
Remote Servers:N/A
Classification:4.x, 5.x, 6.x
Service:Advanced

Syntax

  #include <nwadv.h>  
   
  int NWAddSearchPathAtEnd  (  
     BYTE   *searchPath,  
     LONG   *number);
  

Parameters

searchPath

(IN) Points to a new path to be added at the end of the search path list.

number

(OUT) Points to a number defining where the new search path falls in the list.

Return Values

The following table lists return values and descriptions.

0

Success

-1

Failure

Remarks

The number parameter may be used to delete the search path.

The number of search paths is equivalent to the number listed when the NetWare server console `search’ is entered.

See Also

NWDeleteSearchPath