- Use an existing kernel-mode driver with a new user-mode driver
- Posted by Dcls on June 27th, 2007
I have to write a WIA user-mode driver (so a *.dll) and I have to use an
existing kernel-mode driver (usbscan.sys) in order to communicate with the
device.
Where can I find a guideline?
Thank you!
- Posted by kuasha on June 28th, 2007
Starting point is possibly the Windows Driver Kit documentation.
Also the blog contains usefull information and link:
http://blogs.msdn.com/iliast/archive...Framework.aspx
--
Sincerely,
Maruf Maniruzzaman,
Software Engineer,
KAZ Software Limited,
Dhaka, Bangladesh.
http://www.kaz.com.bd
http://www.kuashaonline.com
"Dcls" wrote:
- Posted by Tim Roberts on June 29th, 2007
kuasha <kuasha@discussions.microsoft.com> wrote:
No, that doesn't have anything to do with either usbscan.sys or WIA.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
- Posted by Tim Roberts on June 29th, 2007
Dcls <Dcls@discussions.microsoft.com> wrote:
Where have you looked?
A WIA minidriver is not particularly hard, but there are a lot of routines
to fill in. The samples are a good start.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
- Posted by Dcls on June 29th, 2007
Thanks for your answers.
I am studying the "wiascanr" minidriver sample.
I read the "USB Driver" in "Imaging Devices" from the WDK.
I saw the CreateFile and an example of the DeviceIoControl.
I will make some research on I/O control codes... But it would be great if I
find a guideline for the use of ReadFile/Bulk IN, WriteFile/Bulk OUT in order
to receive or send data to a real device, not the fake device of the sample.
Cedric
"Tim Roberts" wrote: