NWInsertSearchPath

Inserts a search path into the search path list 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 NWInsertSearchPath  (  
     LONG   searchPathNumber,  
     BYTE  *searchPath);
  

Parameters

searchPathNumber

(IN) Specifies the search path number to be entered.

searchPath

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

Return Values

The following table lists return values and descriptions.

0

Success

-1

Failure

Remarks

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