randydom
驱动牛犊
驱动牛犊
  • 注册日期2009-10-24
  • 最后登录2009-10-28
  • 粉丝0
  • 关注0
  • 积分8分
  • 威望71点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1334回复:0

Get FilePath+FileName with Scanner Driver

楼主#
更多 发布于:2009-10-24 13:10
Hi all , i want to add the FilePath+FileName to the Scanner Driver so that the User App will Print :
Current File Name :MyCurrentFile.txt * for example *

I tried with scanuk.h as follows :


typedef struct _SCANNER_NOTIFICATION {
 
    ULONG BytesToScan;
    ULONG Reserved;             // for quad-word alignement of the Contents structure
    UCHAR Contents[SCANNER_READ_BUFFER_SIZE];
    PWSTR FileName; // added to get filePath+FileName
} SCANNER_NOTIFICATION, *PSCANNER_NOTIFICATION;



i attached the Scanner driver + User Application
many thanks
附件名称/大小 下载次数 最后更新
scanner_C.zip (203KB)  28 2009-10-24 13:10
游客

返回顶部