Jump to content

DevHelp QueueFlush: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
No edit summary
 
Line 1: Line 1:
{{DISPLAYTITLE:DevHelp_QueueFlush}}
This service clears the character queue structure that is specified; that is, it empties the buffer.
This service clears the character queue structure that is specified; that is, it empties the buffer.



Latest revision as of 05:33, 11 May 2025

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)