Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- DOS 5.0 Ref. - <b>function 5f04h delete network connection dos 3.1+</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 5F04h           Delete Network Connection                   DOS 3.1+

    Deletes the connection to the network device and restores the
    redirected local device or drive.

        Entry   AX    = 5F04h
                DS:SI = Pointer to ASCIIZ local device name or path

        Return  Nothing
                or
                AX = Error code, if CF is set
                     | 01h Invalid function (Network not running)
                     | 0Fh Invalid drive

    The string at DS:SI can specify one of the following:
    - The letter of a redirected drive, followed by a colon. DOS
      cancels the redirection and restores the drive to its physical
      meaning.
    - The name of a redirected printer (PRN, LPT1, LPT2, LPT3, or
      their machine-specific equivalents). DOS cancels the redirection
      and restores the printer name to its physical meaning.
    - A string starting with two backslashes (\\). DOS terminates the
      connection between the local computer and the network directory.

See Also: 5f02h 5f03h 59h 1100h

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