Hello,
Where can I find information on Device Interfaces, Device Interface
Classes, and how they can be used by Win2K Device Drivers to provide
functionality to applications ? Things are not very clear from what
little I have read till now.
Any pointers are appreciated.
Thanks
Puja
Have you tried looking at the toaster sample in the DDK? It exposes
device interfaces. And has a sample app that uses them.
Basically apps use interfaces to get a handle via CreateFile to a
particular kind of driver. Once you got a handle you can communicate
with a driver through ReadFile, WriteFile and DeviceIoControl.
For example, you can enumerate all the scanners devices by looking for
drivers register a GUID_DEVCLASS_IMAGE interface.
Also you might want to check out Walter Oney’s Programming the Windows
Driver Model book. It contains some examples of using interfaces.
Hope this helps!
Sandy Spinrad
Device Driver Evangelist
Microsoft Corporation
-----Original Message-----
From: xxxxx@usa.net [mailto:xxxxx@usa.net]
Sent: Tuesday, August 15, 2000 7:42 AM
To: NT Developers Interest List
Subject: [ntdev] Device Interfaces/Classes
Hello,
Where can I find information on Device Interfaces, Device Interface
Classes, and how they can be used by Win2K Device Drivers to provide
functionality to applications ? Things are not very clear from what
little I have read till now.
Any pointers are appreciated.
Thanks
Puja
You are currently subscribed to ntdev as: xxxxx@exchange.microsoft.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)