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>device driver function 19h ioctl query b c</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Device driver function 19h      IOCTL Query             b   c

    IOCTL Query determines whether a given generic IOCTL function
    (minor code) is supported by the driver.

    This function can be used both for block and character device
    drivers.

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

    DOS calls this function only if bit 7 is set in the dhAttributes
    field of the DeviceHeader structure for the driver.

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

    giUnit
    Specifies the device the request is for. This field is used for
    block device drivers only.


    giStatus
    Receives the status of the query. If the driver does not support
    the given generic IOCTL function, it must set the error and done
    bits (bits 15 and 8) and set the low-order byte to error value 03h
    (Unknown Function). Otherwise, it must set the done bit (bit 8).


    giCategory
    Specifies the device category of the generic IOCTL function to be
    checked.


    giMinorCode
    Specifies the minor code of the generic IOCTL function to be
    checked.


    giIOCTLData
    This field is not used by this function and must not be changed.

See Also: IOCTLRequest Dev13h 4410h 4411h DeviceHeader Dev*

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