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 4402h receive control data from character device</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 4402h          Receive Control Data from Character Device

    Reads control information of any length and format from a
    character device driver. The format of the information is
    device-specific and does not follow any standard.

        Entry   AX    = 4402h
                BX    = Device handle
                CX    = Number of bytes to read
                DS:DX = Address of data buffer

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

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

    Character-device drivers are not required to support this function
    or function 4403h. A program should use function 4400h and examine
    bit 14 in the device-status value to ensure that the device driver
    can process control data.

See Also: 4400h 4403h 4404h 4405h Dev03h

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