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> drvmapdel()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DrvMapDel()
------------------------------------------------------------------------------
 Purpose:
 Delete a network directory mapping from a drive letter.

 Syntax:
 bResult = DrvMapDel( lpszDrive )

 Parameters:
 lpszDrive The drive letter.

 Returns:
 A boolean value (TRUE or FALSE).

 Description:
 DrvMapDel() returns TRUE if the mapping specified by the drive letter
 lpszDrive is successfully removed.

 Returns FALSE if an error occurs.

 Example:
 // To create and then remove a mapping for the SYS:SYSTEM directory:
 iDirID = DrvDirMap( "SYS:SYSTEM", "M" )
 if ( iDirID != NOVERRINT )
    if ( DrvMapDel( iDirID ) )
       ? "Mapping created and deleted successfully"
    endif
 endif

See Also: DrvDirMap()

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