IN_RegisterQuery

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

The IN_RegisterQuery function registers a query advise, which Imagenation sends when a specific action occurs through the user interface. An advise request is similar to a DDE advise, but the C API advise can be placed on specific objects. When the requested event occurs, the related callback function is called. Then, Imagenation must wait until the client returns a response to the query to know what action to take.

Syntax

int IN_RegisterQuery( queryID, objectID, callback )

Parameters

Values

Meaning

SHORT queryID

IN_QRY_*

the query advise to register

IN_OBJECT objectID

0 system (global to Imagenation)

objectID identifier of object for which to register the query advise

ULONG callback

Callback functions

the function called when the query is sent

Release information

Added to Imagenation for Windows in Release 4.20.

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