guiClose (Function)

Top  Previous  Next

Architecture:

NX32L

Device support:

NX-400

Firmware version:

1.00.00


This function closes the GUI API.

 

Input:

keep : BOOL Default FALSE

Set to TRUE to keep the handles valid after the API is closed. Leave at FALSE to free all the used handles.

 

Returns: INT

0

- The GUI API is now closed.

-11

- Not supported.

 

Declaration:

FUNCTION guiClose : INT;
VAR_INPUT
  keep : BOOL := FALSE;
END_VAR;

 

Example:

INCLUDE rtcu.inc
 
PROGRAM test;
VAR
  rc : INT;
END_VAR;
 
BEGIN
  ...
  // Closes the GUI API
  rc := guiClose();
  ...
END;
END_PROGRAM;