Previous Next Up Title Contents Index Functions Index Top Library

FLUSH DEVICE EVENTS

PFLUSH


CALL SEQUENCE

PFLUSH (WKID, ICL, IDNR)

INPUT PARAMETERS

INTEGER	WKID
INTEGER	ICL
INTEGER	IDNR

ARGUMENTS

WKID
Workstation identifier.
ICL
Input device class
IDNR
Logical input device number.

PHIGS STATE

(PHOP, WSOP, *, *).

EFFECT

Destroys all ICL class events in the input queue which come from the logical input device IDNR on workstation WKID.

Note:

Operation takes place even if the event queue is full (error 256).

Example:

C Flush LOCATOR event into the PHIGS event queue for device number 2 on workstation 1 
	INTEGER WKID,ICL,IDNR
	......
	WKID = 1
	IDNR = 2
	ICL = PLOCAT
	call PFLUSH(WKID,ICL,IDNR)
	......

ERRORS

3
Ignoring function, function requires state (PHOP, WSOP,*,*)
54
Ignoring function, the specified workstation is not open
61
Ignoring function, specified workstation is neither of category INPUT nor of category OUTIN
250
Ignoring function, the specified device is not available on the specified workstation
256
Warning, the input queue has overflowed

SEE ALSO

set locator mode, set stroke mode, set valuator mode, set choice mode, set pick mode, set string mode, get locator, get stroke, get valuator, get choice, get pick, get string , await event, inquire more simultaneous events


Previous Next Up Title Contents Index Functions Index Top Library