ADC Home > Reference Library > Technical Q&As > QuickTime > QuickTime for Windows >

Using Windows GDI for all drawing


Q: I'd like to tell QuickTime for Windows to use the Windows Graphics Device Interface (GDI) for all drawing in my application, rather than the DirectDraw or DCI services. How can I do this?

A: Use the QuickTime for Windows InitializeQTML function, specifying the kInitializeQTMLUseGDIFlag flag. The InitializeQTML function is used to initialize the QuickTime Media Layer, which you must do before your program can perform any QuickTime operations.

[Sep 05 2000]


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.