FLUSHREQUEST STRUC
frLength db ? ;length of record, in bytes
frUnit db ? ;not used
frFunction db 0Bh ;function number
frStatus dw ? ;status
frReserved db 8 dup(?) ;reserved
FLUSHREQUEST ENDS
Output Flush (Device-Driver Function 0Bh) terminates any write operation in progress and empties the device-output 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 Output Flush function: 0Bh.
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 07h Input Flush