FLUSHREQUEST STRUC
frLength db ? ;length of record, in bytes
frUnit db ? ;not used
frFunction db 07h ;function number
frStatus dw ? ;status
frReserved db 8 dup(?) ;reserved
FLUSHREQUEST ENDS
Input Flush (Device-Driver Function 07h) terminates any read operation in progress and empties the device-input buffer.
This function is required for character-device drivers only.
frLength
Specifies the length, in bytes, of the FLUSHREQUEST structure.
frUnit
Not used.
frFunction
Specifies the Input Flush function: 07h.
frStatus
Specifies the status of the completed function. If the function is 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.
frReserved
Reserved; do not use.
Device-Driver Function 0Bh Output Flush
Interrupt 21h Function 0Ch Flush Buffer, Read Keyboard