Returns name space specific directory entry information for a given connection's file handle
#include <nwfileng.h>
int FEGetOpenFileInfoForNS (
LONG connection,
LONG handle,
LONG *volume,
LONG *DOSDirectoryNumber,
LONG *directoryNumber,
LONG *nameSpace,
LONG *dataStream
LONG *flags);
(IN) Specifies the connection number of the object that has the file open.
(IN) Specifies the file handle for which to return volume or directoryNumber.
(OUT) Points to the number of the volume on which the directory entry is located.
(OUT) Points to the DOS directory entry number of the entry.
(OUT) Points to the directory entry number of the entry corresponding with nameSpace.
(OUT) Points to the name space corresponding with directoryNumber (see Section 20.5, Name Space Flag Values).
(OUT) Points to the data stream with which the handle is associated.
(OUT) Points to the status of the handle.
When given a connection number and a NetWare file handle, FEGetOpenFileInfoForNS returns the information in the output parameters.
FEGetOpenFileInfoForNS is useful if you are using FS Hooks because it gives the status/flags for an open file as well as some name space specific directory entry information.
The flags parameter is a composition of three fields from the file control block (FCB): flags, extraFlags, and extraExtraFlags (defined in fileio.h):