IN_Shutdown

All Editions image\bltlrgsq_shg.gif Related Functions  image\bltlrgsq_shg.gif Example

In Windows integrations, the IN_Shutdown function shuts down the C API client library. It must be called at the end of the execution of the client application. It should be called just prior to the PostQuitMessage function. If the client application started Imagenation, then IN_Shutdown also prompts to save or check in modified documents, and closes Imagenation.

In UNIX integrations, the IN_Shutdown function shuts down the communication channel for the client side of the C API. Either this function or the IN_ShutdownUnix function must be called to close down the C API client library. Otherwise the communication channel will not be closed properly, which could cause problems when the client library is started up again.

Syntax

int IN_Shutdown( void )

Remarks

Do not issue this function in the middle of a NotifyTerminate callback. Doing this closes the client library and disconnects it from the server (Imagenation), and the notification is not able to clean up properly.

Release information

Added to Imagenation for Windows in Release 4.00.

As of Release 5.1, also available in Imagenation for UNIX.

Also supported in Imagenation 3.3 for UNIX.

See also

Starting and ending a conversation with Imagenation

Quitting Imagenation