NWNSGetMiscInfo(3nw)


NWNSGetMiscInfo -- retrieves information for further calls to name space

Synopsis

   #include <nwnamspc.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWNSGetMiscInfo (NWCONN_HANDLE conn, nuint8 dirHandle, pnstr8 path, nuint8 dstNameSpace, NW_IDX N_FAR * idxStruct);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

dirHandle
(IN) Specifies the directory handle associated with the directory to search.

path
(IN) Points to a valid NetWare path using the DOS name space (pointing to a directory or a file).

dstNameSpace
(IN) Specifies the destination name space.

idxStruct
(OUT) Points to NW_IDX.

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x8998
VOLUME_DOES_NOT_EXIST

0x899B
BAD_DIRECTORY_HANDLE

0x899C
INVALID_PATH

0x89BF
INVALID_NAME_SPACE

Notices

dirHandle/path should match dstNameSpace.

NetWare uses NW_IDX as an index to quickly locate a directory entry (file or directory). NW_IDX is required as a parameter for other functions and should not be modified by the application.

Services

Name Space

NCP calls

0x2222 87 06
Obtain File or Subdirectory Information

References

NWGetDirectoryBase(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.