QADeviceGetNextEngine
You can use theQADeviceGetNextEnginefunction to get the next drawing engine that can draw to a particular device.
TQAEngine *QADeviceGetNextEngine ( const TQADevice *device, const TQAEngine *currentEngine);
device- A device, or the value
NULL.currentEngine- A drawing engine.
DESCRIPTION
TheQADeviceGetNextEnginefunction returns, as its function result, the drawing engine that supports the device specified by thedeviceparameter that follows the engine specified by thecurrentEngineparameter. The value you pass in thecurrentEngineparameter should have been obtained from a previous call toQADeviceGetFirstEngineorQADeviceGetNextEngine.If you pass the value
NULLin thedeviceparameter,QADeviceGetNextEnginereturns a the next drawing engine without regard for its ability to drive any particular device. You can use this technique to find all available engines.