troubles with Inf file
- From: Tim Newsham <tim.newsham@xxxxxxxxx>
- Date: Thu, 10 Sep 2009 16:06:16 -0700 (PDT)
I have an audio driver I wrote that has a corresponding inf file. I
am now in the process of splitting up the driver into two drivers --
one that acts as a bus that notices attaches and detaches of the other
driver. I'm having some serious problems figuring out how to write an
INF file for this.
- can I share a single INF file for these or do they have to be
separate inf files?
- what is the appropriate class to choose? Should the whole thing
be marked "MEDIA" because the bus loads and unloads media files, or
should the bus device be marked something else (SYSTEM?)
- I tried putting them together in a single inf file (under the
class MEDIA) by adding another device in the device section, with its
own inst section that has AddReg and CopyFiles and also a Services
section. When I tried to use devcon to load my bus driver, this
failed to load. Is this because the MEDIA class has additional
requirements? I got a different error when I switched to SYSTEM. I
couldnt make heads or tails of either error.
media: "[CtlInst] skipped (DNF_BAD_DRIVER)
system: "The installation failed because a function driver was not
specified for this device instance."
It seems to me that there are different requirements for the INF files
for different classes. Is this documented in the WinDDK somewhere?
What are the requirements for each class?
-Tim
.
- Follow-Ups:
- Re: troubles with Inf file
- From: Tim Roberts
- Re: troubles with Inf file
- Prev by Date: Re: Curiosity about verifier's remove lock reinitialization check
- Next by Date: Re: Read USB Multiple Configurations
- Previous by thread: WDF memory object operation between bus and child driver
- Next by thread: Re: troubles with Inf file
- Index(es):
Relevant Pages
|