•  Back 
  •  VDI Polaroid Escapes 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-Filevsp_message()
vqp_error()                                                             VDI

Syntax

WORD vqp_error( handle )
WORD handle;

Function      vqp_error() returns error information for the camera driver.

Opcode        5

Sub-Opcode    96

Availability  Supported by all camera drivers.

Parameters    handle specifies a valid workstation handle.

Binding       contrl[0] = 5;
              contrl[1] = contrl[3] = 0;
              contrl[5] = 96;
              contrl[6] = handle;

              vdi();

              return intout[0];

Return Value  vqp_error() returns the current error state as follows:

              Return  Error State
              Value

               0      No error.

               1      Open dark slide for print film.

               2      No port at location specified by driver.

               3      Palette not found at specified port.

               4      Video cable disconnected.

               5      Memory allocation error.

               6      Inadequate memory for buffer.

               7      Memory not freed.

               8      Driver file not found.

               9      Driver file is not correct type.

              10      Prompt user to process print film.

Comments      Use of this function does not stop the generation of
              on-screen messages. You must use vsp_message() to accomplish
              that.

See Also      vsp_message()

Group         VDI Polaroid Escapes