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.