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 0fh removable media b</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Device driver function 0Fh      Removable Media         b

    Removable Media specifies whether a drive contains a removable
    medium.

    This function is used for block device drivers only.

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

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

    Since DOS assumes this function is always successful, it ignores
    any error value the function returns.

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

    rmrUnit
    Specifies the device to check for removable media.

    
    rmrStatus
    Specifies the status of the completed function. If the function
    was successful, the driver must set the done bit (bit 8).
    Otherwise, the driver must set both the error and done bits (bits
    15 and 8) and copy an error value to the low-order byte.

See Also: RemoveMediaRequest 4408h DeviceHeader Dev*

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