[wdmaudiodev] AW: Re: Inf2Cat does not use String-expansion [bcc][faked-from]

  • From: Tobias Erichsen <erichsen@xxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Wed, 5 Feb 2014 08:29:50 +0000

I would start taking hints from other devices inf-files and then try
to make sense of them by looking at the documentation:

http://msdn.microsoft.com/en-us/library/windows/hardware/ff549520(v=vs.85).aspx

ChkInf in the tools directory of the WDK gives some good feedback about
possible errors in your inf-file...

Tobias

-----Ursprüngliche Nachricht-----
Von: wdmaudiodev-bounce@xxxxxxxxxxxxx [mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] 
Im Auftrag von Børge Strand-Bergesen
Gesendet: Mittwoch, 5. Februar 2014 09:18
An: wdmaudiodev@xxxxxxxxxxxxx
Betreff: [wdmaudiodev] Re: Inf2Cat does not use String-expansion 
[bcc][faked-from]

Probably slightly OT:
Where do I find a good tutorial on .inf file understanding and generation? I'm 
an experienced C programmer but with no kernel mode code experience under my 
belt. My first attempts at writing kernel code stranded on an .inf file I 
couldn't debug.

Borge


On Tue, Feb 4, 2014 at 5:23 PM, Matthew van Eerde 
<Matthew.van.Eerde@xxxxxxxxxxxxx> wrote:
> I suspect this is an artifact of the [Strings] original intent, which was 
> localization. The list of files in the driver package is not expected to 
> change from language to language, and the location of the catalog file is not 
> expected to change from language to language.
>
> It would be an interesting experiment to manually build a .cat file that was 
> referenced with a CatalogFile=%placeholder%.cat and see if PnP could find the 
> .cat, which means it did the string replacement at install time.
>
> -----Original Message-----
> From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
> [mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Tobias Erichsen
> Sent: Tuesday, February 4, 2014 6:33 AM
> To: wdmaudiodev@xxxxxxxxxxxxx
> Subject: [wdmaudiodev] Inf2Cat does not use String-expansion
>
> Hello everyone,
>
> when creating an easily oem-able inf-file for customers, I noticed that the 
> inf2cat command does not support using string-expansion %xxx% for the 
> CatalogFile-entry and the CopyList/SourceDisksFiles-sections.
>
> Even though my inf-files show no error in ChkInf,  Inf2Cat shows errors...
>
> Does anyone know if this is meant to be this way, or was this just an 
> omission during the development of this tool?
>
> Best regards,
> Tobias
>
> ******************
>
> WDMAUDIODEV addresses:
> Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
> Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
> Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
> Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx
>
> URL to WDMAUDIODEV page:
> http://www.wdmaudiodev.com/
>
> ******************
>
> WDMAUDIODEV addresses:
> Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
> Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
> Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
> Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx
>
> URL to WDMAUDIODEV page:
> http://www.wdmaudiodev.com/
>
******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/
******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts: