NWGetOwningNameSpace(3nw)


NWGetOwningNameSpace -- returns the owning name space for the specified directory or file

Synopsis

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

NWCCODE N_API NWGetOwningNameSpace (NWCONN_HANDLE conn, nuint8 dirHandle, pnstr8 path, pnuint8 namSpc);

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 DOS name space (pointing to a directory or file).

namSpc
(OUT) Points to the owning name space.

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x8998
VOLUME_DOES_NOT_EXIST

0x899B
BAD_DIRECTORY_HANDLE

0x899C
INVALID_PATH

Notices

The owning name space is defined as the name space under which the entry (file or directory) was created.

Services

Name Space

NCP calls

0x2222 87 06
Obtain File or Subdirectory Information

30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.