qa.hlp (Table of Contents; Topic list)
Int 21H Function 45H
   Summary  Notes  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Duplicate Handle
 
  Given a handle for a currently open device or file, returns a new handle
  that refers to the same device or file at the same position.
 
  Input                                 Output
  ══════════════════════════            ════════════════════════
  AH=45H                                If function successful
  BX=handle to be duplicated            Carry flag=clear
                                        AX=new handle
                                        If function unsuccessful
                                        Carry flag=set
                                        AX=error code
                                    -♦-