Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> dirtypget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DirTypGet()
------------------------------------------------------------------------------
 Purpose:
 Get a directory's name space type.

 Syntax:
 iType = DirTypGet( lpszPath )

 Parameters:
 lpszPath The full NetWare path name of the directory.

 Returns:
 A numeric value (signed short int).

 Description:
 DirTypGet() returns the name space type of the directory specified by
 lpszPath which must be the full directory path including the volume name,
 e.g. SYS:DATA\WP.

 Returns NOVERRINT if an error occurs.

 Example:
 // To return the name space type of directory SYS:DATA:
 iNameType = DirTypGet( "SYS:DATA" )
 if ( iNameType != NOVERRINT )
    ? "Name space type for directory SYS:DATA is", iNameType
 endif

 Notes:
 This function only works with NetWare 386 and appropriate trustee
 access rights are required. Name space types are typically DOS, MAC and
 OS2. See the Novell documentation for a more complete list.

See Also: DirSubDirLst()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson