QueryTerminate callback

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

The IN_QRY_TERMINATE query intercepts the application close message and tells client applications that the user has requested Imagenation to shut down. The QueryTerminate callback function accepts this data and gives the client application the option of not shutting down Imagenation.

Query IN_QRY_TERMINATE (101)

Syntax

BOOL CALLBACK QueryTerminate( IN_BOOLPTR pCanTerminate )

Output Parameters

Values

Meaning

pCanTerminate

FALSE Imagenation cannot terminate

TRUE Imagenation can terminate

Reply Code

Values

Meaning

BOOL returnValue

FALSE query is not applicable

TRUE query is applicable

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

Controlling notifications and queries

Quitting Imagenation