Returns a volume number and a directory number for a given connection’s file handle
#include <nwfileng.h>
int FEMapConnsHandleToVolAndDir (
LONG connectionNumber,
int handle,
int *volumeNumber,
LONG *directoryNumber);
(IN) Specifies the connection number of the object that owns the file handle.
(IN) Specifies the file handle for which to return the volume and directory numbers.
(OUT) Points to the number of the volume on which the directory entry is located.
(OUT) Points to the directory entry number of the entry.
See Return Values for C for more information.
Other NetWare errors can be returned upon failure.
When given a connection number and a file handle, this function returns a volume number and a directory number. This information can be used to get other information about the directory entry. The file handle can be obtained from normal CLIB file I/O or from the NetWare OS.