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> filtypeget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FilTypeGet()
------------------------------------------------------------------------------
 Purpose:
 Get the file name space type.

 Syntax:
 iType = FilTypeGet( lpszFileSpec )

 Parameters:
 lpszFileSpec The full NetWare directory path of the file.

 Returns:
 A numeric value (signed short int).

 The CA-Clipper name for this function is:
 FilGetTyp()

 Description:
 FilTypeGet() returns the name space type of the file specified by
 lpszFileSpec. lpszFileSpec must be the full directory path including
 the volume name, for example, SYS:DATA\WP\KATIE.DOC.

 Returns NOVERRINT if an error occurs.

 Example:
 // To return the name space type of file SYS:DATA\KATIE.DOC:
 iNameType = FilTypeGet( "SYS:DATA\KATIE.DOC" )
 if ( iNameType != NOVERRINT )
    ? "Name space type for file SYS:DATA\KATIE.DOC 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: DirFileList()

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