Re: PCI sample driver for 2K by Don
Don
Wed Oct 22 06:07:15 CDT 2003
First what type of device is this for? If you are looking for a common
device type, i.e. disk, serial, network, etc there are rules to be followed
so this will impact the sample driver. It is not possible to have two
drivers loaded for the same device, what are you looking for:
1. A way to load your driver when the system already loads one? If so
you would have to explicitly remove
the systems
2. A way to add functionality to an existing driver? If so this could
possibly be done with a filter driver.
3. A way to have multiple personalities for a device? There are
several ways to do this.
A user application cannot talk to a PCI device without a driver in the
kernel. IOCTL's are just device control calls to a driver.
--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
"CSK" <Chaitanya_Chandolu@satyam.com> wrote in message
news:5ED14230-02B7-4B5B-BCDC-ECF0A4F5FF9B@microsoft.com...
> Hi,
> Is there any place where I can find a sample PCI device driver for
Windows 2000. Or can anybody mail me the skeletal driver of the PCI driver.
I am a newbie and have to write a device driver for a PCI based device on
win 2k.
>
> Can anyone tell me if it is possible to have 2 drivers loaded for the
same device?
> One more question... Can a user application directly talk to this PCI
device without any device driver in between? Somebody was saying something
about IOCTLs... Is that the right lead?
>
> Please help!
>
> CSK