Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Int 21h Function 5Fh Subfunction 03h
 ◄Detail►                                    ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   21h     Function:   5Fh     Subfunction:   03h
 
  Title:       Redirect Device [Version 3.1+]
 
  Description:
 
     Establishes redirection across the network by associating a local
     device name with a network name. This function call is available
     only when Microsoft Networks is running and the file-sharing
     module (SHARE.EXE) has been loaded.
 
     Input                                 Output
 
     AH = 5Fh                              If function successful
     AL = 03h                                Carry flag: clear
     BL = Device type
        = 03h (if printer)                 If function unsuccessful
        = 04h (if drive)                     Carry flag: set
     CX = Parameter to save for caller       AX = Error code (01h, 03h,
     DS:SI = segment:offset of ASCIIZ             05h, 08h, 0Fh, or 12h)
             local device name               See: ◄Error codes►
     ES:DI = segment:offset of ASCIIZ
             network name, followed by
             ASCIIZ password
                                    -♦-