WaitFlag (ULONG) - input

      Wait until screen I/O can take place.

      Indicates whether the process should block until the screen I/O can take place.

        Value

          Definition
        0
          Return if screen I/O not available.
        1
          Wait until screen I/O is available.

        Status (PUCHAR) - output

          Address of the lock status.

          The lock status may be one of the following values:

            Value

              Definition
            0
              Lock successful.
            1
              Lock unsuccessful (in the case of no wait).
              Status is returned only when AX = 0.
              Status = 1 can be returned only when WaitFlag = 0.

            VioHandle (HVIO) - input

              VIO presentation-space handle.

              Reserved. Must be 0.

            rc (APIRET) - returns

              Return code.

              VioScrLock returns one of the following values:

            • NO_ERROR 366
                ERROR_VIO_WAIT_FLAG
              421
                ERROR_VIO_INVALID_PARMS
              430
                ERROR_VIO_ILLEGAL_DURING_POPUP
              434
                ERROR_VIO_LOCK
              436
                ERROR_VIO_INVALID_HANDLE


              [Back] [Next]