graphInit

Top  Previous  Next

Opening the graphic arts issue.

This function becomes from the function GradisPC_Init called, if the system with graphic issue is begun.

Parametre

mode (int) [IN]

mode certainly which kind of graphic issue it concerns. The following constants regulate as the issue is processed:

AUSGABE_SIGMA – graphics is sent to a process with Sigma programme,

AUSGABE_WINDOW – graphics is sent to the window surface dependent on operating system,

AUSGABE_GINA – graphics is sent above an interface to an external Gina station.

root (void *) [IN]

Act on the open data bank.

msgPipe (char *) [IN]

Name of a Messagepipe about which graphic changes are given to the indicator. The indicator opens these Pipe and carries along with the changes which are sent about these Pipe.

msgPipeWrite (HPIPE) [IN]

Act to the writing side of a Messagepipe about which graphic changes are given to the indicator. The indicator also needs this side of the Pipe, so that doReset can be sent.

hInstance (HINSTANCE) [IN]

hInstance brags which was begun wievielte authority of this programme. This parametre is necessary only on the graphic issue. If Moskito is begun in the Batch mode, receives hInstance inside the value 1.

tablettName (char *) [IN]

About the name tablettName it is determined of the Digitizer. If no Digitizer exists, stands "no_digi" in the name of.

Result

(PIOPIPES) [OUT]

The trading pipes gives the issue canal.

Declaration

#include".\source\io\io.h"

 

T_ERROR DLLENTRY graphInit (

int mode,

void * root,

char * msgPipe,

HPIPE msgPipeWrite,

HINSTANCE hInstance,

char * tablettName

);

Constants

AUSGABE_BATCH 1

AUSGABE_SIGMA 2

AUSGABE_WINDOW 3

AUSGABE_GINA 4