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

 Syntax:
 bResult = DrvMapDelete( lpszDrive )

 Parameters:
 lpszDrive The drive letter.

 Returns:
 A boolean value (TRUE or FALSE).

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

 Description:
 DrvMapDelete() 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 ( DrvMapDelete( 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