FESetOriginatingNameSpace

Allows the user to set the originating name space of a directory entry

Local Servers:blocking
Remote Servers:N/A
NetWare Server:4.x, 5.x, 6.x
Platform:NLM
Service:File Engine

Syntax

   #include <nwfileng.h>  
    
   LONG FESetOriginatingNameSpace  (  
      LONG   volumeNumber,  
      LONG   directoryNumber,   
      LONG   dirNumNameSpace,   
      LONG   newNameSpace); 
   

Parameters

volumeNumber

(IN) Specifies the number of the volume on which the directory entry is located.

directoryNumber

(IN) Specifies the directory number of the entry to be changed.

dirNumNameSpace

(IN) Specifies the name space number corresponding with directoryNumber (see Section 20.5, Name Space Flag Values).

newNameSpace

(IN) Specifies the name space to be the new originating name space on the directory entry (see Section 20.5, Name Space Flag Values).

Return Values

See Return Values for more information.

0

Success

-1

Fail

other NetWare errors

Remarks

FESetOriginatingNameSpace returns errors on 3.x because there is no OS support.

directoryNumber can be an entry number for any loaded name space.

dirNumNameSpace specifies in which name space the directoryNumber is located.