Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>function 4401h (68-1) ioctl: set device information</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 4401h (68-1)    IOCTL: Set Device Information

    Sets device information.

       On entry:      AH         44h
                      AL         01h
                      BX         Device handle
                      DH         00h
                      DL         Device information

       Returns:       AX         Error code, if CF is set

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

    Subfunction 01h sets device information for character devices, using
    the following encoding scheme in DX:

            Bit         Description
             0          Set if standard console input device
             1          Set if standard console output device
             2          Set if this is a null device
             3          Set if the device is a clock
             4          Reserved
             5          Set for binary mode, 0 for ASCII mode
             6          0 if end of file (EOF) on input
             7          Set to indicate a device (and not a file)
           8-14         Must be 0

       Note:          This subfunction is not supported for disk files.

See Also: 44h

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