Jump to content

DevHelp_QueueFlush

From EDM2

This service clears the character queue structure that is specified; that is, it empties the buffer.

Syntax

C
USHORT APIENTRY DevHelp_QueueFlush (NPBYTE Queue)
Assembler
MOV   BX,OFFSET DS:queue      ; Points to the queue structure to be flushed.
                              ; (The Qsize field must be set up.)
MOV   DL,DevHlp_QueueFlush

CALL  [Device_Help]

Parameters

C

Queue (NPBYTE)
input - Near pointer to the queue structure to be flushed. (The Qsize field must be set up.)

Assembler

MOV   BX,OFFSET DS:queue    ; Points to the queue structure to be flushed.
                            ; (The Qsize field must be set up.)

Return Code

None.

Remarks

This function operates on the simple character queue structure initialized by QueueInit.

Example Code

C
#include  "dhcalls.h"

USHORT APIENTRY DevHelp_QueueFlush (NPBYTE Queue)