QASync
You can use theQASyncfunction to synchronize a draw context.
#define QASync(drawContext) (drawContext)->sync (drawContext)
drawContext- A draw context.
DESCRIPTION
TheQASyncfunction operates just like theQAFlushfunction, except that it waits until all queued drawing commands have been processed before returning. See the description ofQAFlush(page 1-110) for complete details.