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> drvdirhanget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DrvDirHanGet()
------------------------------------------------------------------------------
 Purpose:
 Get the directory handle for a drive.

 Syntax:
 iHandle = DrvDirHanGet( lpszDrive )

 Parameters:
 lpszDrive The drive letter.

 Returns:
 A numeric value (signed short int).

 Description:
 DrvDirHanGet() returns the NetWare directory handle of the drive
 specified by its letter lpszDrive. If a null string is passed,
 DrvDirHanGet() assumes the current drive.

 NetWare keeps track of directories by their handles rather than their names
 and returns a unique handle whenever a drive is mapped.

 Returns NOVERRINT if an error occurs.

 Example:
 // To return the handle of the current directory.
 iCurrHandle = DrvDirHanGet()
 if ( iCurrHandle != NOVERRINT )
    ? "The current drive directory handle is", iCurrHandle
 endif

See Also: DrvFlgGet()

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