Jump to content

DevHelp QueueFlush

From EDM2
Revision as of 23:08, 27 July 2018 by Martini (talk | contribs) (Created page with "This service clears the character queue structure that is specified; that is, it empties the buffer. ==Syntax== ===C=== USHORT APIENTRY DevHelp_QueueFlush (NPBYTE Queue) =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

C

None .

Assembler

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)

Related Functions