This routine acquires a mouse event mask.
Specification
01 mouse-handle PIC X(4). 01 event-mask PIC 1(16) BIT. 01 status-code PIC S9(4) COMP-5.
CALL "CBL_GET_MOUSE_MASK" USING mouse-handle event-mask RETURNING status-code.
Interface
Specifies the mouse-handle returned by CBL_INIT_MOUSE.
Specifies the area used to store event mask information as follows:
Bit 0: The mouse was moved.
Bit 1: The left mouse button was pressed.
Bit 2: The middle mouse button was pressed.
Bit 3: The right mouse button was pressed.
Return code
The return code is set in the status-code specified in the RETURNING clause.
0: Successful
Other than 0: Failure