DtvLong dal_gfi_set_loc (flg)

Locks the communication between server and graphical client.

Input Parameters Significance
char flg locking flag
0 = unlock
1 = lock

Output Parameters Significance
none -

Return Code Significance
0 all ok
-1 no graphical interface initialized

If you lock the communication via dal_gfi_set_loc (1), no actions are transmitted from the server to the graphical client.

This function call can be nested.

If you lock the communication to the graphical client via dal_gfi_set_loc (1) several times, you will have to unlock it using dal_gfi_set_loc (0) just as often. to allow communication again.