Script = getname ( eventhandle ), Status = isexistingevent ( eventhandleorname ), Status = islistenerset ( eventhandleorname ) – Casio Naurtech CETerm Ver.5.5 Scripting Guide User Manual

Page 41: Status = pulse ( eventhandleorname ), Status = reset ( eventhandleorname ), Status = set ( eventhandleorname )

Advertising
background image

N

AURTECH

W

EB

B

ROWSER AND

T

ERMINAL

E

MULATION FOR

W

INDOWS

CE

AND

W

INDOWS

M

OBILE




CETerm Scripting Guide

Page 41


script = GetName ( eventHandle )

Return the name of the event associated with the specified eventHandle. Return
null if no listener found.

status = IsExistingEvent ( eventHandleOrName )

Return the status of the event with the given eventHandle or eventName. Return
0 if the event does not exist, 1 if the eventName exists within Windows, 2 if the
event was created within Windows by the Create() method, or -1 on error.

status = IsListenerSet ( eventHandleOrName )

Return the status of the listener with the given eventHandle or eventName.
Return 0 if a listener is not set, 1 if a listener is set, or -1 on error.

status = Pulse ( eventHandleOrName )

Pulse the state of an event. This signals all listeners that an event is set, then
resets the event to the non-signaled state. The eventHandle is obtained from a
Create() call. If you use an eventName, the event must have been previously
created within Windows by Create() or by another program.

Return 0 on success or -1 if no matching event to pulse.

status = Reset ( eventHandleOrName )

Reset an event to the non-signaled state. The eventHandle is obtained from a
Create() call. If you use an eventName, the event must have been previously
created within Windows by Create() or by another program.

Returns 0 on success or -1 if no matching event to reset.

status = Set ( eventHandleOrName )

Set an event to the signaled state. The eventHandle is obtained from a Create()
call. If you use an eventName, the event must have been previously created
within Windows by Create() or by another program.

Return 0 on success or -1 if no matching event to set.

Advertising
This manual is related to the following products: