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> schvecdrvdel()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SchVecDrvDel()
------------------------------------------------------------------------------
 Warning:
 USE WITH EXTREME CAUTION.

 This function is a support function for programmers who have a good
 understanding of the way NetWare operates and controls its search drive
 mappings.

 Purpose:
 Delete a drive from the search vector.

 Syntax:
 bResult = SchVecDrvDel( wOrder )

 Parameters:
 wOrder The search order element to delete.

 Returns:
 A boolean value (TRUE or FALSE).

 Description:
 SchVecDrvDel() deletes a drive letter from the search drive vector
 of the NetWare shell and from the DOS path. This effectively deletes it as
 a search drive, yet keeps the drive's handle. The search drive vector is a
 table maintained by the shell containing the order in which search drives
 are to be searched.

 Returns TRUE if successful, or FALSE if an error occurs.

 Example:
 // To delete the 5th search drive from the drive vector and DOS PATH,
 // turning it from a search drive into an ordinary mapped drive:
 if ( SchVecDrvDel( 5 ) )
    ? "5th search drive deleted from search vector"
 endif

See Also: SchVecAddDrv() SchDrvDirMap()

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