Re: Differences b/w Device Objects and Driver Objects

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Jack" <jl@xxxxxxxxxx> wrote in message
news:ugW%23gNH4HHA.2752@xxxxxxxxxxxxxxxxxxxxxxx
Hello,
I want to get some appreciation before read on.
My book is called Programming The Microsoft windows driver model. In the
very first chapters, it describes something called the Device Objects and
the Driver Objects. I just wonder what their differences are..... that's
it.
Thanks
Jack


A driver object represents the driver code in memory, and provides pointers
to the functions in the driver. The driver object is created by the I/O
manager and handed in on driver entry where your driver initializes the
function pointers. There is only one copy of the driver and the driver
object for it in the system.

A driver can support multiple devices, a device object is created by the
driver and represents one instance of a device.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply


.



Relevant Pages

  • Re: Multiple devices ?
    ... You should have two device objects. ... extension to hold device specific data, including the next device to call ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ...
    (microsoft.public.development.device.drivers)
  • Re: Does anyone know what this bugcheck is ? WdfDeviceInitSetReque
    ... WdfDeviceInitSetRequestAttributes configures the attributes of a WDFREQUEST that the framework will create when it receives a PIRP. ... // Create a framework driver object to represent our driver. ... If I set the above attributes to the DRIVER OBJECT in the DriverEntry ... debugger and the rest of the ...
    (microsoft.public.development.device.drivers)
  • Re: Start and stop via SCM not multiprocessor-safe?
    ... This seems to me your driver object is dereferenced and the reference count ... had dropped to zero while the DriverEntry is still active. ...
    (microsoft.public.development.device.drivers)
  • Re: Start and stop via SCM not multiprocessor-safe?
    ... > Do you still see your driver object at the time it bugchecked? ... > yourdriverobject) if yes, what was the pointer count and handle count of ... then the driver shouldn't have been unloaded and the stack ... I would do a BA on the DriverObject's pointer ...
    (microsoft.public.development.device.drivers)
  • How to drop this exception?
    ... Driver driver = new com.mysql.jdbc.Driver; ... I need to catch the SQLException which can be thrown by the Driver ... constructor. ... construct a new Driver object without having to catch the SQLException ...
    (comp.lang.java.help)