How to get EMF bits from a print processor?
- From: Yannick Fortin <fortiny@xxxxxxxxxxxxxxxx>
- Date: Tue, 22 Jul 2008 14:59:32 -0400
Hi all.
I have read all the DDK documentation and the archives here talking about print processors, EMF vs RAW spooling, etc. Ashwin's posts have been quite informative on this subject.
One thing eludes me, though. Like many others, I am trying to get access to the EMF (more precisely, the EMF in the spool file, I am aware of the file formats, etc.) to extract the text from it. Some of the previous threads on the subject said that the print processor would be the place to do that.
Problem is: how do I get access to the EMF from the print processor? From my understanding, the print processor requests and receives EMF *handles* before giving them back to GDI with GdiPlayPageEMF.
Can you call GetEnhMetaFileBits with this handle? This seems unlikely since that function expects an HEMHMETAFILE, not a HANDLE -- unless the HANDLE is really an HENHMETAFILE? Or maybe treat the handle as a pointer to the EMF bits?
Thanks for any information you may share on this subject.
Yannick
.
- Follow-Ups:
- Re: How to get EMF bits from a print processor?
- From: Christoph Lindemann
- Re: How to get EMF bits from a print processor?
- Prev by Date: Re: SCSI miniport-Custom Log messages
- Next by Date: Re: Internal Queues and Start IO
- Previous by thread: Re: X64 Driver Porting
- Next by thread: Re: How to get EMF bits from a print processor?
- Index(es):
Relevant Pages
|