Hi:
I am a driver development lover. In my exercise driver, I have finished the
UI part. But how can I read the GDI commnands from EMF files and then
convert them into DDI ones? Are there any available sample source codes for
this aspect?
Best regards,
Anfenney Li.

Re: How to convert GDI commands into DDI ones? by Feng

Feng
Fri Dec 10 13:19:33 CST 2004

That is the job of GDI32.DLL and WIN32K.SYS. Why do you need to do that?

--
Feng Yuan (www.fengyuan.com)

This posting is provided "AS IS" with no warranties, and confers no rights.


> I am a driver development lover. In my exercise driver, I have finished
> the
> UI part. But how can I read the GDI commnands from EMF files and then
> convert them into DDI ones? Are there any available sample source codes
> for
> this aspect?



Re: How to convert GDI commands into DDI ones? by spider

spider
Mon Dec 13 03:13:50 CST 2004

Yes, that are jobs of GDI32, your application is not allowed to call
drivers' DDI directly.

What you have to do is to convert EMF records into GDI32 calls (or just
use the Windows play emf API, if they're good enough for your).