NWGetSearchPathElement

Returns a search path from the search path list the OS uses to determine from where it loads NLMs

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

Syntax

  #include <nwadv.h>  
   
  int NWGetSearchPathElement  (  
     LONG   searchPathNumber,  
     LONG  *isDOSSearchPath,  
     BYTE  *searchPath);
  

Parameters

searchPathNumber

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

isDOSSearchPath

(OUT) Points to a flag indicating whether the search path is for the DOS partition.

searchPath

(OUT) Points to a search path corresponding with searchPathNumber.

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.