FEGetOriginatingNameSpace

Gets the originating name space for a volume and directory number pair

Local Servers:blocking
Remote Servers:N/A
NetWare Server:3.x, 4.x, 5.x, 6.x
Platform:NLM
Service:File Engine

Syntax

   #include <nwfileng.h>  
    
   LONG FEGetOriginatingNameSpace  (  
      LONG   volumeNumber,   
      LONG   directoryNumber); 
   

Parameters

volumeNumber

(IN) Specifies the volume number for which the originating name space is desired.

directoryNumber

(IN) Specifies the directory number for which the originating name space is desired.

Return Values

This function returns a number indicating the originating name space for the volume and directory number pair, if successful. Otherwise, it returns a value of - 1, and errno and NetWareErrno contain appropriate error codes. See Return Values for C for more information.

Remarks

This function provides useful information for file backup operations. With NetWare support for name spaces, knowing which name space created the file helps you determine the correct set of information to back up.

FEGetOriginatingNameSpace returns one of the following name spaces (LONG name space is equivalent to OS/2):

0

DOS

1

MACINTOSH

2

NFS

3

FTAM

4

LONG

5

NT

See Also

SetCurrentNameSpace