Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTFSD

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

How to rename output driver file after build using .inf/.inx file

Rajendra_SethiRajendra_Sethi Member Posts: 60

Hi All,
I am looking for a solution to rename the driver output file according to architecture i.e x86/x64.
For example:
x86- sample_x86.sys
x64 - sample_x64.sys
How can I do this using the .inf/.inx file using vs 2019
Please help me solve this issue.

Regards,
Rajendra

Comments

  • Peter_Viscarola_(OSR)Peter_Viscarola_(OSR) Administrator Posts: 8,448

    Well, normally, that's not how it's done.

    If you're looking to have a single INF file that covers multiple architectures, the "typical" thing to do is to put the drivers into sub-directories of the driver package based on their architecture.

    Peter

    Peter Viscarola
    OSR
    @OSRDrivers

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Developing Minifilters 24 May 2021 Live, Online
Writing WDF Drivers 14 June 2021 Live, Online
Internals & Software Drivers 27 September 2021 Live, Online
Kernel Debugging TBD 2021 Live, Online