#include <nwdirect.h> or #include <nwcalls.h>NWCCODE N_API NWSetDirectoryHandlePath (NWCONN_HANDLE conn, NWDIR_HANDLE sourceDirHandle, pnstr8 dirPath, NWDIR_HANDLE destDirHandle);
In cases where multiple NetWare servers are being used, sourceDirHandle and destDirHandle must have the same server connection handle identifier.
NWSetDirectoryHandlePath assigns destDirHandle to a directory path defined by combining sourceDirHandle and the string accessed by dirPath.
sourceDirHandle, an index number from 1 to 255, points to a volume or a directory on the NetWare server. A NetWare server maintains a Directory Handle Table for each workstation that is logged in.
destDirHandle is another index number from the NetWare server's Directory Handle Table.
dirPath can identify a full or partial directory path. A full directory path defines a volume or a directory on a given NetWare server in the format VOLUME: DIRECTORY/.../ DIRECTORY. A partial directory path specifies at least a directory and one or more parent directories.
Applications frequently combine a directory handle and a directory path to specify a target directory. For example, if the specified directory handle points to SYS: and the specified directory path is PUBLIC/WORDP, the specified directory is SYS:PUBLIC/WORDP.
When an application defines a target directory using only a directory handle, the application must point dirPath to a NULL string. When an application defines a directory using only a directory path, the application must set sourceDirHandle to zero.
0x2222 | 22 | 00 | Set Directory Handle |
0x2222 | 23 | 17 | Get File Server Information |
0x2222 | 87 | 09 | Set Short Directory Handle |