FEMapHandleToVolumeAndDirectory

Gets the volume and directory numbers being used by a file handle

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 FEMapHandleToVolumeAndDirectory  (  
      int     handle,   
      int    *volumeNumberP,   
      LONG   *directoryNumberP); 
   

Parameters

handle

(IN) Specifies the file handle to be used to get the volume and directory numbers.

volumeNumberP

(OUT) Points to the volume number used by the file handle.

directoryNumberP

(OUT) Points to the directory number used by the file handle.

Return Values

This function returns a value of 0 if successful. Otherwise, it returns a NetWare error code. See Return Values for C for more information.

Remarks

FEMapHandleToVolumeAndDirectory returns the volume and directory numbers used by the file handle.

See Also

FEMapPathVolumeDirToVolumeDir, FEMapVolumeAndDirectoryToPath, FEMapVolumeNumberToName