Problem with OemPS rendering plugin - DDI Hooks are not called

Discussion in 'Windows Vista Drivers' started by AMalik, Jan 24, 2006.

  1. AMalik

    AMalik Guest


    It is restated version of my previous post.

    I have to write a virtual print driver, so I get started with user mode
    OemPS printdriver sample given in DDK. Just for testing purpose, I placed
    Windows MessageBox calls in DDI Hook functions and install this driver on my
    machine. Then I sent an MS Word document containing Text as well as graphics
    to this printdriver. To my surprise it only pops the message box applied in
    OEMTextOut hook but none of the other hooks. I also tried adding Graphics
    capability flags in OEMEnablePDEV function call ( for pDevInfo.flGraphicsCaps
    ) of my driver but it didn't work. Any idea, how to call in graphics DDI
    hooks like OemBitBlt, OemStrokePath ?
    AMalik, Jan 24, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.