我想把打印的内容记录下来,不知道调用打印的时候传的是什么过去!
按道理说,打印调用StartDocA,里面的2参数指定了文件名称,但是没有看到有传递数据过去。希望大家帮助!谢谢

解决方案 »

  1.   

    Just the normal GDI calls:StartDoc
    StartPage
    GDI calls
    EndPage
    EndDoc
      

  2.   

    也就是说我要获得打印内容还要HOOK其他的API?发送到spooling中的数据是不是以文件形式存在?我能读出吗?
      

  3.   

    我按照2楼的思路,HOOK了GDI CALLS。
    但是对于一个串,比如this is a test!
    他要反复调用2次GDI CALLS,不知道是为什么?
      

  4.   

    Have you read my book?
    Check wheter the two calls are to the same DC.
      

  5.   

    where can I get your book?
    thanks
      

  6.   

    http://www.china-pub.com/computers/common/info.asp?id=6005