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 5e00h get machine name dos 3.1+</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 5E00h          Get Machine Name                             DOS 3.1+

    Returns the network name of the local computer (machine).

        Entry   AX    = 5E00h
                DS:DX = Pointer to a 16-byte memory buffer

        Return  If CH > 0
                   CL = NetBIOS number
                   Machine name copied to buffer (blank-padded ASCIIZ)
                endif
                or
                AX = Error code, if CF is set
                     | 01h Invalid function (Network not running)

    ------------------------------------------------------------------

    This function returns an error value of 01h (invalid function) if
    the network is not running. If the network was never installed, a
    zero is returned in the CH register.

See Also: 5f03h 59h 1100h

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