•  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-Filevqp_state()
vqp_films()                                                             VDI

Syntax

VOID vqp_films( handle, films )
WORD handle;
char *films;

Function      vqp_films() returns strings which represent up to five
              possible film types for the camera driver to utilize.

Opcode        5

Sub-Opcode    91

Availability  Supported by all camera drivers.

Parameters    handle specifies a valid workstation handle. films is
              a character pointer to a buffer at least 125 characters in
              length. Upon return films will be filled in with 5 character
              strings. Bytes 0-24 will contain a string for the first type
              of film, bytes 25-49 will contain a string for the second
              type, and so on. These strings are not NULL-terminated but
              are padded with spaces.

Binding       WORD i;

              contrl[0] = 5;
              contrl[1] = contrl[3] = 0;
              contrl[5] = 91;
              contrl[6] = handle;

              vdi();

              for(i = 0;i < 125;i++)
               films[i] = (char)intout[i];

See Also      vqp_state()

Group         VDI Polaroid Escapes