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

 Syntax:
 iHandle = DrvDirHandleGet( lpszDrive )

 Parameters:
 lpszDrive The drive letter.

 Returns:
 A numeric value (signed short int).

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

 Description:
 DrvDirHandleGet() returns the NetWare directory handle of the drive
 specified by its letter lpszDrive. If a null string is passed,
 DrvDirHandleGet() 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 = DrvDirHandleGet()
 if ( iCurrHandle != NOVERRINT )
    ? "The current drive directory handle is", iCurrHandle
 endif

See Also: DrvFlagGet()

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