QAEngineCheckDevice
You can use the QAEngineCheckDevice function to determine whether a particular drawing engine can draw into a particular device.
TQAError QAEngineCheckDevice (
const TQAEngine *engine,
const TQADevice *device);
engine
- A drawing engine.
device
- A device.
DESCRIPTION
The QAEngineCheckDevice function returns, as its function result, a code that indicates whether the drawing engine specified by the engine parameter can draw into the device specified by the device parameter (kQANoErr) or not (kQAError).