Top
NetCOBOL V11.0 CBL Subroutines User's Guide
FUJITSU Software

12.11 WIN_GET_MOUSE_SHAPE

This routine acquires the shape of the mouse cursor.

Specification

Parameter data definition
01 mouse-handle                               PIC X(4).
01 path-name-of-mouse-cursor-shape            PIC X(n).
01 length-of-path-name-of-mouse-cursor-shape  PIC 9(4) BINARY.
01 status-code                                PIC S9(4) COMP-5.
Calling format
CALL "WIN_GET_MOUSE_SHAPE"
    USING mouse-handle
          path-name-for-mouse-cursor-shape
          length-of-path-name-for-mouse-cursor-shape
    RETURNING status-code.

Interface

mouse-handle

Specifies the mouse-handle returned by CBL_INIT_MOUSE.

path-name-for-mouse-cursor-shape

Specifies the area used to store the path name for the mouse cursor shape.

length-of-path-name-for-mouse-cursor-shape

Specifies the area used to store the length of the path name for the mouse cursor shape.

Return code

The return code is set in the status-code specified in the RETURNING clause.

status-code
  • 0: Successful

  • Other than 0: Failure