#include<dos.h>
q__zoom
{
union REGS i n ,out;
in.x.ax = 3;
int86(zoom__int, &in,&out)
;
return(o u t .x .a x );
}
Lattice C Example
Enter Specify Mode
Function Code
AX = 4
Arguments
None
Description
This mode
is entered whenever the user hits the pre-defined
hot key.
See the information on specify mode above.
Lattice C Example
#include<dos.h>
zoom__specify()
{
union REGS in,out;
in.x.ax = 4;
int86(zoom__int,&in,&out);
>
Query Zoom Window
Function Code
AX = 5
Arguments
BX = Segment address of return argument array
CX = Offset address of return argument array
Description
This
function is used to find out what the current zoom window
is
set to.
The programmer should pass the segment and offset
values of a 14 byte array that will be filled as follows:
offset
offset
offset
offset
offset
offset
offset
[0] x start of zoom window
[1] y start of zoom window
[2] x end of zoom window
[3] y end of zoom window
[4] current zoom factor
[5] zoom offset start x
[6] zoom offset start y
-61-
Summary of Contents for Qtec VGA 1024
Page 1: ......
Page 2: ......
Page 4: ......
Page 8: ......
Page 9: ...INSTALLATION ...
Page 10: ......
Page 33: ...SOFTWARE UTILITIES ...
Page 34: ......
Page 48: ......
Page 49: ...SOFTWARE DRIVERS ...
Page 50: ......
Page 68: ......
Page 69: ...FOR SOFTWARE DEVELOPERS ...
Page 70: ......
Page 104: ......
Page 105: ...HARDWARE REFERENCE ...
Page 106: ......
Page 111: ...SERVICE ...
Page 112: ......
Page 118: ......
Page 119: ......
Page 120: ......
Page 121: ......
Page 122: ......
Page 123: ......