qa.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 5EH Subfunction 00H
   Summary  Notes  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Get Machine Name     DOS 3.1 Only
 
  Returns the address of an ASCIIZ (null-terminated) string identifying
  the local computer. This function call is only available when Microsoft
  Networks is running.
 
  Input                            Output
  ═════════════════════            ═══════════════════════════════════════
  AH=5EH                           If function successful
  AL=00H                           Carry flag=clear
  DS:DX=segment:offset             CH=00H     if name not defined
   of buffer to receive               < > 00H if name defined
   string                          CL=netBIOS name number (if CH < > 0)
                                   DX:DX=segment:offset of identifier (if
                                    CH < > 0)
                                   If function unsuccessful
                                   Carry flag=set
                                   AX=error code
                                    -♦-