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 4401h set device data</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 4401h          Set Device Data

    Tells DOS how to use the device referenced by the specified
    handle. This function cannot change how DOS uses a file.

        Entry   AX = 4401h
                BX = Device handle
                DX = Device information

        Return  AX changed
                or
                AX = Error code, if CF is set
                     | 01h Invalid function
                     | 05h Access denied
                     | 06h Invalid handle
                     | 0Dh Invalid data

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

    The information passed in the DX register is:

                Bit     Description
                0       1 = Console input device
                1       1 = Console output device
                2       1 = Null device
                3       1 = Clock device
                4       1 = Special device
                5       1 = Binary mode, 0 = ASCII mode
                6       0 = EOF returned if device is read
                7       Must be 1 to indicate a device
                8-15    Must be 0

See Also: 4400h StdDevices

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