FEConvertDirectoryNumber

Converts a directory number in one name space to the comparable directory number in another name space

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

Syntax

   #include <nwfileng.h>  
    
   int FEConvertDirectoryNumber  (  
      int     sourceNameSpace,   
      LONG    volumeNumber,   
      LONG    sourceDirectoryNumber,   
      int     destinationNameSpace,   
      LONG   *destinationDirectoryNumberP); 
   

Parameters

sourceNameSpace

(IN) Specifies the name space of the directory number to be converted (see Section 20.5, Name Space Flag Values).

volumeNumber

(IN) Specifies the volume number of the directory number to be converted.

sourceDirectoryNumber

(IN) Specifies the directory number that is to be converted.

destinationNameSpace

(IN) Specifies the name space to which the directory number is to be converted (see Section 20.5, Name Space Flag Values).

destinationDirectoryNumberP

(OUT) Points to the converted directory number which corresponds to the destination name space.

Return Values

This function returns a value of 0 if successful. Otherwise, it returns a nonzero value. See Return Values for Cfor more information.

Remarks

A single directory entry has a different directory number for each name space that is supported on a volume. This function converts a directory number in one name space to the comparable directory number in another name space.

See Also

FEMapHandleToVolumeAndDirectory, FEMapPathVolumeDirToVolumeDir